Peter Schlaf on Mon, 28 Feb 2005 13:23:17 +0100

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

pari doesn't compile with gcc 3.3.3


compiling of the pari-2.1.6 package on a SuSE Linux Enterprize Server 9 system (Kernel 2.6.5, gcc 3.3.3, AMD Athlon 1 GHz) failed with the following output (pari-2.1.4 and pari-2.1.5 either):

moonshine:/opt/pari-2.1.6 # ./Configure
Configuring pari-2.1.6 (STABLE)
Checking echo to see how to suppress newlines...
...using -n.
Looking for some tools first ...
...ld is /usr/bin/ld
...zcat is /usr/bin/zcat
...gzip is /usr/bin/gzip
...ranlib is /usr/bin/ranlib
...perl is /usr/bin/perl
...I could not find emacs.
Building for architecture: i686 running linux (ix86 kernel)
Checking for optional libraries and headers...
...Found libX11 in /usr/X11R6/lib
...Found X11 header files in /usr/X11R6/include/X11
...Found libreadline in /lib
...Found libncurses in /lib
...But no header file has been found
Looking for the compilers ... is /usr/bin/cc
...gcc is /usr/bin/gcc
GNU compiler version 3.3.3 (SuSE Linux)
C compiler is /usr/bin/gcc -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer
Looking for an assembler ... is /usr/bin/as
...Hum, this looks like GNU as
Assembler is /usr/bin/as
C PreProcessor is /usr/bin/gcc -E -I.
Executable linker is /usr/bin/gcc -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -Xlinker -export-dynamic
...Hum, this looks like GNU ld
Dynamic Lib linker is /usr/bin/ld -shared -soname $(LIBPARI_SONAME) -lc -lm
Given the previous choices, sizeof(long) is 4 chars.
The internal word representation of a double is l[1], l[0].
Checking some common types...
...Found ulong.
Looking in C lib for some symbols...
...I did not find exp2.
...Found strftime.
...Found getrusage.
...Found sigrelse.
...I did not find TIOCGWINSZ.
...Found getrlimit.
...Found opendir.
...I did not find vsnprintf.
...I did not find dlopen.
Try again, with -ldl this time...
...Found dlopen.
Installation prefix ? [/usr/local]
...for architecture-independant files (share-prefix) ? []
..."gp" executable ? [/usr/local/bin]
..."pari" library ? [/usr/local/lib]
...include files ? [/usr/local/include/pari]
...manual pages ? [/usr/local/man/man1]
...documentation, examples, and emacs macros ? [/usr/local/lib/pari]
...miscellaneous data (galois resolvents) ? [/usr/local/lib/pari/galdata]
Default is dynamic executable and shared library, graphic=X11
Extracting examples/Makefile.linux-i686
Extracting Olinux-i686/Makefile
Extracting Makefile
Extracting Olinux-i686/paricfg.h
Extracting Olinux-i686/../Odos/paricfg.h
Extracting scripts and macros doc emacs misc
Shall we try to build pari 2.1.6 (released) now (y/n)? [n]
Ok. Type "make install" when you are ready
Bye !

moonshine:/opt/pari-2.1.6 # make install
cd Olinux-i686; make install
make[1]: Entering directory `/opt/pari-2.1.6/Olinux-i686'
/usr/bin/gcc -E -I. ../src/kernel/ix86/l0asm.c | sed -e '/^#/d' -e '/^ *#line/d' -e 's/% */%/g' > level0.s
/usr/bin/gcc -c -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer -I. -I../src/headers -o kernel.o level0.s
cat ../src/kernel/ix86/level0.h ../src/kernel/none/level1.h > pariinl.h
/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/ccDHUZVi.s: Assembler messages:
/tmp/ccDHUZVi.s:17332: Error: suffix or operands invalid for `div'
make[1]: *** [mp.o] Error 1
make[1]: Leaving directory `/opt/pari-2.1.6/Olinux-i686'
make: *** [install] Error 2
moonshine:/opt/pari-2.1.6 #

However, after upgrade to gcc 3.4.3 compiling worked perfect as usual.


Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: