Robin Hankin on Wed, 02 May 2007 15:18:45 +0200 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: compilation problem |
On 2 May 2007, at 13:43, Bill Allombert wrote:
On Wed, May 02, 2007 at 08:54:34AM +0100, Robin Hankin wrote:Hello everyone what am I doing wrong?You need to run 'make clean' after Configure if you changed from non-GMP to GMP. If you did that, then maybe the file /usr/local/lib/ libgmp.a isnot working. Try to do ranlib /usr/local/lib/libgmp.a Cheers, Bill.
Bill, thanks for this. I still get errors after make clean: octopus:~/scratch/pari-2.3.2% sudo ranlib /usr/local/lib/libgmp.a ranlib: file: /usr/local/lib/libgmp.a(mp_clz_tab.o) has no symbols ranlib: file: /usr/local/lib/libgmp.a(obprintf.o) has no symbols ranlib: file: /usr/local/lib/libgmp.a(obvprintf.o) has no symbols ranlib: file: /usr/local/lib/libgmp.a(obprntffuns.o) has no symbols ranlib: file: /usr/local/lib/libgmp.a(repl-vsnprintf.o) has no symbols octopus:~/scratch/pari-2.3.2% make all make[1]: Nothing to be done for `doc'. Making gp in Odarwin-ppc File ../src/funclist not changed. 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 octopus:~/scratch/pari-2.3.2% -- Robin Hankin Uncertainty Analyst National Oceanography Centre, Southampton European Way, Southampton SO14 3ZH, UK tel 023-8059-7743