Bill Allombert on Mon, 10 Oct 2005 12:29:19 +0200 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: Installing PARI |
On Sun, Oct 09, 2005 at 11:30:22AM +0100, Cherry Kearton wrote: > Dear All, > I am trying to install PARI on my Dell Dimension desktop > (Intel Pentium 4), running SuSE Linux 9.3. The output from ./Configure > and from "make gp" and "make bench" are shown in the attached file. > ./Configure cannot find some things and the two "make" commands produce > errors. As far as we understand this is a bug in SuSE version of gcc. This works fine with gcc-3.3.6. Either try to build with another version of gcc, or try to reduce the optimisation, by editing Olinux-i686/Makefile and changing: CFLAGS = -O3 ... to CFLAGS = -O2 ... If it still does not work try CFLAGS = -O0 ... and remove '-fomit-frame-pointer'. > ...gcc is /usr/bin/gcc > GNU compiler version 3.3.5 20050117 (prerelease) (SUSE Linux) > /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o mp.o ../src/kernel/none/mp.c > /tmp/ccD0jpMf.s: Assembler messages: > /tmp/ccD0jpMf.s:17314: Error: suffix or operands invalid for `div' > make[1]: *** [mp.o] Error 1 > make[1]: Leaving directory `/home/cherry/pari-2.1.7/Olinux-i686' > make: *** [gp] Error 2 > cherry@linux:~/pari-2.1.7> make bench > cd Olinux-i686; make bench > make[1]: Entering directory `/home/cherry/pari-2.1.7/Olinux-i686' > /usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o mp.o ../src/kernel/none/mp.c > /tmp/ccRE9vHb.s: Assembler messages: > /tmp/ccRE9vHb.s:17314: Error: suffix or operands invalid for `div' > make[1]: *** [mp.o] Error 1 > make[1]: Leaving directory `/home/cherry/pari-2.1.7/Olinux-i686' > make: *** [bench] Error 2 The compiler produce assembly that the assembler do not understand. Looking at /tmp/ccRE9vHb.s line 17314 might be instructive. Cheers, Bill.