Michael Wulff on Fri, 27 Jan 2012 11:37:41 +0100 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Compiling PARI on AIX 7.1 |
Hello, I am trying to build PARI 2.5.0 on AIX 7.1 TL01 64 Bit using vac compiler v11.1.0.8. Running "make gp" I first received the following error messages concerning three functions in pariinl.h: /usr/vac/bin/cc -c -O2 -qtune=auto -qmaxmem=8192 -qlanglvl=ansi -I. -I../src/headers -o mp.o mp.c "../src/headers/pariinl.h", line 1727.43: 1506-1332 (S) A function with return type "void" may not return a value of type "void". "../src/headers/pariinl.h", line 1730.41: 1506-1332 (S) A function with return type "void" may not return a value of type "void". "../src/headers/pariinl.h", line 1733.40: 1506-1332 (S) A function with return type "void" may not return a value of type "void". make: 1254-004 The error code from the last command is 1. I then deleted three "return" statements from the lines quoted: INLINE void F2v_clear(GEN x,long v) { return F2x_clear(x,v-1); } But now "make gp" runs into the following error: /usr/bin/ld -o "/usr/local/source/pari-2.5.0/Oaix-ppc"/libpari.so.2.5.0 -r mp.o mpinl.o F2x.o FF.o Flx.o FpE.o FpV.o FpX.o Hensel.o QX_factor.o Qfb.o RgV.o RgX.o ZV.o ZX.o alglin1.o alglin2.o arith1.o arith2.o base1.o base2.o base3.o base4.o base5.o bb_group.o bibli1.o bibli2.o bit.o buch1.o buch2.o buch3.o buch4.o concat.o ellanal.o elliptic.o galconj.o gen1.o gen2.o gen3.o hnf_snf.o ifactor1.o lll.o nffactor.o perm.o polarit1.o polarit2.o polarit3.o prime.o random.o rootpol.o subcyclo.o subgroup.o trans1.o trans2.o trans3.o anal.o compat.o compile.o default.o errmsg.o es.o eval.o hash.o init.o intnum.o members.o paricfg.o pariinl.o parse.o sumiter.o DedekZeta.o aprcl.o elldata.o ellsea.o galois.o galpol.o groupid.o krasner.o kummer.o mpqs.o part.o stark.o subfield.o thue.o if test "libpari.so.2.5.0" != "libpari.so"; then rm -f libpari.so; ln -s libpari.so.2.5.0 libpari.so; fi if test "libpari.so.2.5.0" != "libpari.so.3"; then rm -f libpari.so.3; ln -s libpari.so.2.5.0 libpari.so.3; fi rm -f gp-dyn /usr/vac/bin/cc -o gp-dyn -O2 -qtune=auto -qmaxmem=8192 -qlanglvl=ansi --export-dynamic gp.o gp_init.o gp_rl.o highlvl.o whatnow.o plotX.o plotport.o -rpath "/usr/local/source/pari-2.5.0"/Oaix-ppc:"/usr/local/lib":/usr/lib -L"/usr/local/source/pari-2.5.0/Oaix-ppc" -lpari -L/usr/lib -lX11 -lm /usr/vac/bin/cc: 1501-216 (W) command option --export-dynamic is not recognized - passed to ld /usr/vac/bin/cc: 1501-210 (W) command option t contains an incorrect subargument /usr/vac/bin/cc: 1501-228 (W) input file /usr/local/source/pari-2.5.0/Oaix-ppc:/usr/local/lib:/usr/lib not found make: 1254-004 The error code from the last command is 252. Stop. make: 1254-004 The error code from the last command is 2. Stop. Any ideas? Regards, Michael