Problem compiling 4.2.4 on Solaris 10 with Sun Studio 12
John Center
john.center at villanova.edu
Tue Feb 17 17:08:08 CET 2009
Hi,
I was unable to compile GMP 4.2.4 on Solaris 10 with Sun Studio 12. The
errors were:
"ismpf.cc", line 53: Error: Could not find a match for
std::use_facet<std::Facet
>(const std::locale) needed in operator>>(std::istream &, __mpf_struct*).
"ismpf.cc", line 53: Error: Could not find a match for
std::use_facet<std::Facet
>(const std::locale) needed in operator>>(std::istream &, __mpf_struct*).
"ismpf.cc", line 65: Error: Could not find a match for
std::use_facet<std::Facet
>(const std::locale) needed in operator>>(std::istream &, __mpf_struct*).
3 Error(s) and 11 Warning(s) detected.
gmake[2]: *** [ismpf.lo] Error 1
I found a patch on gmp-bugs for GMP 4.2.1 for Sun Studio 11 from July
2006 by Matthias Koeppe
(http://gmplib.org/list-archives/gmp-bugs/2006-July/000519.html) that
worked for me. Could this, or one similar to it, be added to the patch
list on the home page & incorporated in the next release?
Thanks.
-John
--
John Center
Villanova University
More information about the gmp-bugs
mailing list