On Sep 11, 9:27 pm, TMichel <[EMAIL PROTECTED]> wrote:
Hi, > Having a problem while building 3.1.1 on ia64 IRIX with gcc 4.4. I > donnot know what I am doing. Info: > > > uname -a > > Linux 2.6.5-7.244-sn2 #1 SMP Mon Dec 12 18:32:25 UTC 2005 ia64 GNU/ > Linux> gcc --v > > Using built-in specs. > Target: ia64-unknown-linux-gnu > Configured with: ../gcc/configure --prefix=/home/me --enable- > languages=c,c++,fortran --with-mpfr=/home/trm/ > Thread model: posix > gcc version 4.4.0 20080911 (experimental) (GCC) > --------------------------------------------------------------- > mkdir .libs > g++ -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMPXX -I.. -O3 - > mtune=itanium2 -c isfuns.cc -fPIC -DPIC -o .libs/isfuns.o > In file included from isfuns.cc:25: > ../gmp.h:516: error: 'std::FILE' has not been declared > make[4]: *** [isfuns.lo] Error 1 > make[4]: Leaving directory `/mnt/uav-r0/trm/src/sage-3.1.1/spkg/build/ > gmp-4.2.2.p1.fake/src/cxx' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/mnt/uav-r0/trm/src/sage-3.1.1/spkg/build/ > gmp-4.2.2.p1.fake/src' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/mnt/uav-r0/trm/src/sage-3.1.1/spkg/build/ > gmp-4.2.2.p1.fake/src' > Error building GMP. > > sage: An error occurred while installing gmp-4.2.2.p1.fake > ------------------------------------------------------------------- > > As noted in previous posts with similar problem > commenting out the declaration"std::file" in mpg.h > enable compilation... but I have no idea how to > fix the package. > > Apologies if this is a re-hash. Nope, it isn't. I have a bunch of fixes to build Sage with gcc 4.4.CVS, but since that compiler is at Stage 3 they will not be in 3.1.2. You need the following fixes which will likely make it into the next release after 3.1.2. Cheers, Michael Sage 3.1.2.rc0 vs. gcc 4.4-20080905 ## gmp ## [clean fix] * include <cstdio> in gmp-in.h ## ntl ## [clean fix] * in src/WizardAux - add "$|++;" in the function to force autoflush this might be broken: "CFILEOUT->flush();", but seems to be the recommended way to do things * In tools.h add "include <cstdio>" for "EOF" ## matplotlib ## [clean fix] * add "#include <cstdio>" in src/mplutils.cpp ## libfplll ## [dirty fix] * src/nr.cpp - scope issues with gmp's and mpfr's string functions in some templates ## polybori ## [clean fix?] * boost busted" +138 boost_1_34_1.cropped/boost/mpl/apply.hpp and others: problem might be extra () in a bunch of places ## clisp ## * internal compiler error - http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37418 gcc -Igllib -O0 -g -I/home/mabshoff/build-3.1.2.rc0/sage-3.1.2.rc0-eno- gccc-4.4-2008-09-5/local/include/ -L/home/mabshoff/build-3.1.2.rc0/ sage-3.1.2.rc0-eno-gccc-4.4-2008-09-5/local/lib/ -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno- sign-compare -O -falign-functions=4 -DUNICODE -DNO_SIGSEGV -I. -c eval.c eval.d: In function ‘unwind_upto’: eval.d:656: error: type mismatch in address expression void (*restartf_t) (void * *) void (*<T14ab>) (void * *) unwind_protect_to_save.fun = unwind_upto; eval.d:656: internal compiler error: verify_gimple failed Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. make: *** [eval.o] Error 1 Error building clisp --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---