Robin Hankin on Wed, 02 May 2007 10:02:50 +0200


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

compilation problem


Hello everyone

first of all: Great package!

I'm using MacOSX 10.4.9,
gcc version 4.0.1:

powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5367)


and I'm trying to compile with GMP support.

After
./configure --with-gmp

typing "make all" gives:

octopus:~/scratch/pari-2.3.2% make all
rm -f develop.std
tex develop
This is TeX, Version 3.141592 (Web2C 7.5.4)

[snip]

22] [23] [24] [25]
[26] [27] [28] [29] [30] [31] [32] [33] [34] [35] [36] [37] [38] [39] [40]
[41] [42] [43] [44] [45] [46] [47] [48] [49] )
Output written on tutorial.dvi (49 pages, 211384 bytes).
Transcript written on tutorial.log.
Making gp in Odarwin-ppc
File ../src/funclist not changed.
/usr/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame- pointer -I. -I../src/headers -fno-common -o default.o ../src/ language/default.c /usr/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame- pointer -I. -I../src/headers -I../src/language -I/usr/local/ include -o gp.o ../src/gp/gp.c /usr/bin/gcc -c -O3 -Wall -fno-strict-aliasing -fomit-frame- pointer -I. -I../src/headers -I../src/language -I/usr/local/ include -o gp_rl.o ../src/gp/gp_rl.c
rm -f gp-sta
/usr/bin/gcc -o gp-sta -O3 -Wall -fno-strict-aliasing -fomit-frame- pointer mp.o mpinl.o Flx.o Qfb.o RgX.o alglin1.o alglin2.o arith1.o arith2.o base1.o base2.o base3.o base4.o base5.o bibli1.o bibli2.o buch1.o buch2.o buch3.o buch4.o galconj.o gen1.o gen2.o gen3.o ifactor1.o perm.o polarit1.o polarit2.o polarit3.o rootpol.o subcyclo.o subgroup.o trans1.o trans2.o trans3.o anal.o compat.o default.o errmsg.o es.o init.o intnum.o members.o sumiter.o aprcl.o elldata.o elliptic.o galois.o groupid.o kummer.o mpqs.o nffactor.o part.o stark.o subfield.o thue.o darwin.o gp.o gp_init.o gp_rl.o highlvl.o whatnow.o plotX.o plotport.o -L/usr/local/lib -lreadline - L/usr/lib -lncurses -L/usr/X11R6/lib -lX11 -L/usr/local/lib -lgmp /usr/bin/ld: truncated or malformed archive: /usr/local/lib/libgmp.a (ranlib structures in table of contents extends past the end of the table of contents, can't load from it)
/usr/bin/ld: warning multiple definitions of symbol _PC
/usr/local/lib/libreadline.dylib(terminal.so) definition of _PC
/usr/lib/libncurses.dylib(lib_tputs.o) definition of _PC
/usr/bin/ld: warning multiple definitions of symbol _UP
/usr/local/lib/libreadline.dylib(terminal.so) definition of _UP
/usr/lib/libncurses.dylib(lib_termcap.o) definition of _UP
/usr/bin/ld: warning multiple definitions of symbol _BC
/usr/local/lib/libreadline.dylib(terminal.so) definition of _BC
/usr/lib/libncurses.dylib(lib_termcap.o) definition of _BC
collect2: ld returned 1 exit status
make[2]: *** [gp-sta] Error 1
make[1]: *** [gp] Error 2
make: *** [all] Error 2



what am I doing wrong?




--
Robin Hankin
Uncertainty Analyst
National Oceanography Centre, Southampton
European Way, Southampton SO14 3ZH, UK
 tel  023-8059-7743