Making all in cxx
gmake[2]: Entering directory `/tmp/4.2.2/cxx'
/bin/bash ../libtool --mode=compile /usr/bin/CC -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMPXX -I.. -I/opt/foss/include -KPIC -D_REENTRANT -D_RWSTD_REENTRANT -library=no%Cstd -features=anachronisms,except,rtti,export,extensions,nestedaccess,tmplife,tmplrefstatic -instances=global -template=geninlinefuncs -verbose=template -xO5 -s -xlang=c99 -xregs=no%frameptr -xprefetch=auto -xprefetch_auto_type=indirect_array_access -xprefetch_level=3 -xbuiltin=%all -xinline=%auto -xlibmil -xustr=ascii_utf16_ushort -xlibmopt -z combreloc -z redlocsym -z nodefaultlib -z ignore -z now -z rescan -z absexec -xipo=1 -xldscope=symbolic -xalias_level=compatible -lc -lpthread -lposix4 -lrt -mt -D_REENTRANT -D_RWSTD_REENTRANT -DNDEBUG -KPIC -Qoption ccfe -features=gcc -xF=%none -xthreadvar=%all -D__EXTENSIONS__=1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=500 -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS -DSOLARIS10 -D__inline=inline -D__inline__=inline -Bdynamic -lCrun -lstdcxx -xtarget=pentium4 -xarch=sse2 -xchip=pentium4 -xcache=8/64/4:256/128/8 -xO5 -s -c -o isfuns.lo isfuns.cc
/usr/bin/CC -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMPXX -I.. -I/opt/foss/include -KPIC -D_REENTRANT -D_RWSTD_REENTRANT -library=no%Cstd -features=anachronisms,except,rtti,export,extensions,nestedaccess,tmplife,tmplrefstatic -instances=global -template=geninlinefuncs -verbose=template -xO5 -s -xlang=c99 -xregs=no%frameptr -xprefetch=auto -xprefetch_auto_type=indirect_array_access -xprefetch_level=3 -xbuiltin=%all -xinline=%auto -xlibmil -xustr=ascii_utf16_ushort -xlibmopt -z combreloc -z redlocsym -z nodefaultlib -z ignore -z now -z rescan -z absexec -xipo=1 -xldscope=symbolic -xalias_level=compatible -lc -lpthread -lposix4 -lrt -mt -D_REENTRANT -D_RWSTD_REENTRANT -DNDEBUG -KPIC -Qoption ccfe -features=gcc -xF=%none -xthreadvar=%all -D__EXTENSIONS__=1 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_XOPEN_SOURCE=500 -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS -DSOLARIS10 -D__inline=inline -D__inline__=inline -Bdynamic -lCrun -lstdcxx -xtarget=pentium4 -xarch=sse2 -xchip=pentium4 -xcache=8/64/4:256/128/8 -xO5 -s -c isfuns.cc -KPIC -DPIC -o .libs/isfuns.o
"../gmp-impl.h", line 320: Warning: attribute malloc is unsupported and will be skipped..
"../gmp-impl.h", line 851: Warning: Attribute name expected instead of const..
"../gmp-impl.h", line 851: Warning: attribute is unsupported and will be skipped..
"../gmp-impl.h", line 851: Error: ")" expected instead of "const".
"../gmp-impl.h", line 851: Error: The function "__gmpn_jacobi_base(unsigned long, unsigned long, int) const" cannot be declared const.
"../gmp-impl.h", line 851: Error: "{" expected instead of ")".
"../gmp-impl.h", line 851: Error: Unexpected ")" -- Check for matching parenthesis.
"../gmp-impl.h", line 851: Error: Operand expected instead of ")".
"../gmp-impl.h", line 1018: Error: Badly formed expression.
"../gmp-impl.h", line 1018: Warning: Attribute name expected instead of const..
"../gmp-impl.h", line 1018: Warning: attribute is unsupported and will be skipped..
"../gmp-impl.h", line 1018: Error: ")" expected instead of "const".
"../gmp-impl.h", line 1018: Error: Identifier expected instead of ")".
"../gmp-impl.h", line 1032: Warning: Attribute name expected instead of const..
"../gmp-impl.h", line 1032: Warning: attribute is unsupported and will be skipped..
"../gmp-impl.h", line 1032: Error: ")" expected instead of "const".
"../gmp-impl.h", line 1032: Error: The function "__gmpn_fft_next_size(long, int) const" cannot be declared const.
"../gmp-impl.h", line 1032: Error: "," expected instead of ")".
"../gmp-impl.h", line 1556: Warning: attribute noreturn is unsupported and will be skipped..
"../gmp-impl.h", line 2157: Warning: Attribute name expected instead of const..
"../gmp-impl.h", line 2157: Warning: attribute is unsupported and will be skipped..
"../gmp-impl.h", line 2157: Error: ")" expected instead of "const".
"../gmp-impl.h", line 2157: Error: The function "__gmpn_invert_limb(unsigned long) const" cannot be declared const.
"../gmp-impl.h", line 2157: Error: "," expected instead of ")".
"../gmp-impl.h", line 2810: Warning: attribute mode is unsupported and will be skipped..
"../gmp-impl.h", line 2811: Warning: attribute mode is unsupported and will be skipped..
"../gmp-impl.h", line 2812: Warning: attribute mode is unsupported and will be skipped..
"../gmp-impl.h", line 2813: Warning: attribute mode is unsupported and will be skipped..
"../gmp-impl.h", line 2814: Warning: attribute mode is unsupported and will be skipped..
"../gmp-impl.h", line 2971: Warning: attribute noreturn is unsupported and will be skipped..
"../gmp-impl.h", line 2972: Warning: attribute noreturn is unsupported and will be skipped..
"../gmp-impl.h", line 2973: Warning: attribute noreturn is unsupported and will be skipped..
"../gmp-impl.h", line 2974: Warning: attribute noreturn is unsupported and will be skipped..
"../gmp-impl.h", line 3641: Error: "__gmpn_jacobi_base(unsigned long, unsigned long, int)" is expected to return a value.
"isfuns.cc", line 105: Error: "}" expected instead of "end of file".
16 Error(s) and 19 Warning(s) detected.
gmake[2]: *** [isfuns.lo] Error 1
gmake[2]: Leaving directory `/tmp/4.2.2/cxx'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/tmp/4.2.2'
gmake: *** [all] Error 2