peters on Tue, 11 Aug 1998 12:27:03 +0200 (MET DST) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Compiling PARI/GP in UltraSparc |
The problem got worse: now I have 13 undefined symbols. Also note that the gcc linker does not find the libucb library that was included by /usr/ucb/ld. Why can you not use gcc for all steps: preprocessing, compiling, assembling and linking? This approach would generate less confusion by letting gcc take care of the programs (cpp, cc1, as, ld) to run. Previous attempt using exactly this approach only generated 3 undefined symbols which IMHO can be solved by editing src/kernel/sparcv8/level0_sparcv8_micro.s and renaming the file to have the extension .S. Transscript of the latest attempt follows: rm -f libpari.so.2.0 /usr/ucb/ld -o libpari.so.2.0 -G -h libpari.so.2.0 kernel.o mp.o kernel2.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 gen1.o gen2.o gen3.o ifactor1.o polarit1.o polarit2.o rootpol.o trans1.o trans2.o trans3.o elliptic.o galois.o kummer.o mpqs.o nffactor.o stark.o subfield.o thue.o anal.o compat.o errmsg.o es.o helpmsg.o init.o sumiter.o mpinl.o rm -f libpari.so.2.0.11 mv -f libpari.so.2.0 libpari.so.2.0.11 ln -s libpari.so.2.0.11 libpari.so.2.0 rm -f libpari.so ln -s libpari.so.2.0.11 libpari.so rm -f gp-dyn /usr/local/bin/gcc -o gp-dyn -O2 -mv8 gp.o gp_init.o gp_rl.o plot.o plotport.o -R/tima/peters/src/pari-2.0.11.beta/o.solaris-sparcv8_micro -R/usr/local/lib -R/softs/X11R6/lib -L/tima/peters/src/pari-2.0.11.beta/o.solaris-sparcv8_micro -L/usr/local/lib -lreadline -ltermcap -L/usr/local/lib -lpari -L/softs/X11R6/lib -lX11 -lsocket -lnsl -lm /usr/local/sparc-sun-solaris2.5.1/bin/ld: warning: libucb.so.1, needed by /tima/peters/src/pari-2.0.11.beta/o.solaris-sparcv8_micro/libpari.so, not found (try using --rpath) /tima/peters/src/pari-2.0.11.beta/o.solaris-sparcv8_micro/libpari.so: undefined reference to `divll' /tima/peters/src/pari-2.0.11.beta/o.solaris-sparcv8_micro/libpari.so: undefined reference to `mulll' /tima/peters/src/pari-2.0.11.beta/o.solaris-sparcv8_micro/libpari.so: undefined reference to `shiftl' /tima/peters/src/pari-2.0.11.beta/o.solaris-sparcv8_micro/libpari.so: undefined reference to `subllx' /tima/peters/src/pari-2.0.11.beta/o.solaris-sparcv8_micro/libpari.so: undefined reference to `addllx' /tima/peters/src/pari-2.0.11.beta/o.solaris-sparcv8_micro/libpari.so: undefined reference to `overflow' /tima/peters/src/pari-2.0.11.beta/o.solaris-sparcv8_micro/libpari.so: undefined reference to `bfffo' /tima/peters/src/pari-2.0.11.beta/o.solaris-sparcv8_micro/libpari.so: undefined reference to `hiremainder' /tima/peters/src/pari-2.0.11.beta/o.solaris-sparcv8_micro/libpari.so: undefined reference to `_err' /tima/peters/src/pari-2.0.11.beta/o.solaris-sparcv8_micro/libpari.so: undefined reference to `shiftlr' /tima/peters/src/pari-2.0.11.beta/o.solaris-sparcv8_micro/libpari.so: undefined reference to `addmul' /tima/peters/src/pari-2.0.11.beta/o.solaris-sparcv8_micro/libpari.so: undefined reference to `addll' /tima/peters/src/pari-2.0.11.beta/o.solaris-sparcv8_micro/libpari.so: undefined reference to `subll' make[1]: *** [gp-dyn] Error 1 make[1]: Leaving directory `/tima/peters/src/pari-2.0.11.beta/o.solaris-sparcv8_micro' make: *** [gp] Error 2