Xavier-Francois Roblot on 23 Jan 2003 14:20:07 +0100


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

Latest CVS version failed to compile


Hi,

as the title says: I can't compile the latest CVS version of gp. The
problem comes from the undefined functions: int_LWS, int_nextW ... Below
is a more complete output of the failed compilation.

Thanks,

Xavier

-------------------------------------

scipion:~/pari > ./Configure
Configuring pari-2.2.5 (DEVELOPMENT VERSION)
Checking echo to see how to suppress newlines...
...using -n.
Looking for some tools first ...
...ld is /usr/bin/ld
...I could not find zcat.
...gzip is /bin/gzip
...ranlib is /usr/bin/ranlib
...perl is /usr/bin/perl
...emacs is /usr/bin/emacs
Building for architecture: i686 running linux (ix86 kernel)
GNU compiler version 3.2.1 20021207 (Gentoo Linux 3.2.1-20021207)
C compiler is          gcc  -O3 -DGCC_INLINE -Wall -fomit-frame-pointer 
C PreProcessor is      gcc  -E -I.
Looking for an assembler ...
...as is /usr/bin/as
...Hum, this looks like GNU as
Assembler is           /usr/bin/as  
Executable linker is   gcc   -O3 -DGCC_INLINE -Wall
-fomit-frame-pointer   -Wl,-export-dynamic
Dynamic Lib linker is  gcc  -Wl,-shared,-soname,$(LIBPARI_SONAME)
...Hum, this looks like GNU ld
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.
...I did not find log2.
...Found strftime.
...Found getrusage.
...Found sigrelse.
...Found TIOCGWINSZ.
...Found getrlimit.
...Found opendir.
...Found vsnprintf.
...I did not find dlopen.
Try again, with -ldl this time...
...Found dlopen.
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 readline header in /usr/include/readline
...Found history header in /usr/include/readline
...Found libncurses in /lib
...Library ncurses needed by readline
Using GNU readline, version 4.3
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
Hi-Res Graphics: builtin.X11-gnuplot-dynamic
==========================================================================
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
...in doc
...in emacs
...in misc
==========================================================================
Shall we try to build pari 2.2.5 (development CHANGES-1.645) now (y/n)?
[n]
Ok. Type "make install" when you are ready
Bye !
scipion:~/pari > make bench
Making bench in Olinux-i686
make[1]: Entering directory `/home/roblot/pari/Olinux-i686'
gcc  -c -O3 -DGCC_INLINE -Wall -fomit-frame-pointer  
-DBOTH_GNUPLOT_AND_X11 -I. -I../src/headers -o mp.o mp.c
In file included from ../src/headers/pari.h:94,
                 from mp.c:23:
pariinl.h: In function `vali':
pariinl.h:678: warning: implicit declaration of function `int_LSW'
pariinl.h:678: warning: assignment makes pointer from integer without a
cast
pariinl.h:679: warning: implicit declaration of function `int_nextW'
pariinl.h:679: warning: assignment makes pointer from integer without a
cast
In file included from ../src/headers/pari.h:94,
                 from mp.c:23:
pariinl.h: In function `expi':
pariinl.h:1005: warning: implicit declaration of function `int_MSW'
pariinl.h:1005: invalid type argument of `unary *'
mp.c: In function `lgcdii':
mp.c:3376: warning: assignment makes pointer from integer without a cast
mp.c:3376: warning: assignment makes pointer from integer without a cast
mp.c:3377: warning: implicit declaration of function `int_precW'
mp.c:3377: invalid type argument of `unary *'
mp.c:3377: invalid type argument of `unary *'
mp.c:3378: invalid type argument of `unary *'
mp.c:3378: invalid type argument of `unary *'
mp.c: In function `ratlift':
mp.c:3925: invalid type argument of `unary *'
mp.c:3975: invalid type argument of `unary *'
mp.c:4134: invalid type argument of `unary *'
mp.c:4158: invalid type argument of `unary *'
mp.c:4158: invalid type argument of `unary *'
make[1]: *** [mp.o] Error 1
make[1]: Leaving directory `/home/roblot/pari/Olinux-i686'
make: *** [bench] Error 2