Jon Lockley on Fri, 23 Aug 2002 14:49:47 +0100 (BST)


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

Newbie question


Hello All,

Firstly, I am not personally a pari user, but I have been asked to install
the pari software on our systems by a user. In short, I can build pari
very easily with gcc etc, but for reasons I won't go into here, I must
build it with the Sun Workshop compilers (i.e. cc etc) instead. (I'm
running Sun Workshop6, update 2 under SunOs 5.7 on a SUN Ultra 5).

The Configure script works fine, but when I try to build 
gp-dyn I get:

cc -o gp-dyn -fast gp.o gp_init.o gp_rl.o highlvl.o whatnow.o plot.o
plotport.o -R/auto/users/jjl/pari/pari-2.1.4/Osolaris-sparcv9
-R/users/jjl/pari/install/lib -R/PACK/X11/R6.3/lib
-L/auto/users/jjl/pari/pari-2.1.4/Osolaris-sparcv9
-L/users/jjl/pari/install/lib -lpari -L/PACK/X11/R6.3/lib -lX11 -lsocket
-lnsl -ldl -lm

Undefined                       first referenced
 symbol                             in file
subllx /auto/users/jjl/pari/pari-2.1.4/Osolaris-sparcv9/libpari.so
subll /auto/users/jjl/pari/pari-2.1.4/Osolaris-sparcv9/libpari.so
addmul /auto/users/jjl/pari/pari-2.1.4/Osolaris-sparcv9/libpari.so
overflow /auto/users/jjl/pari/pari-2.1.4/Osolaris-sparcv9/libpari.so
addll /auto/users/jjl/pari/pari-2.1.4/Osolaris-sparcv9/libpari.so
hiremainder /auto/users/jjl/pari/pari-2.1.4/Osolaris-sparcv9/libpari.so
mulll /auto/users/jjl/pari/pari-2.1.4/Osolaris-sparcv9/libpari.so
addllx /auto/users/jjl/pari/pari-2.1.4/Osolaris-sparcv9/libpari.so

ld: fatal: Symbol referencing errors. No output written to gp-dyn

Looking through the header files I see that under gcc these functions were
probbaly inline'd, but not with cc. Is that correct and has anybody else
had this problem? 

Many thanks in advance...

Jon Lockley

------------------------------------------------------------------------
| Dr Jon Lockley                   |                                   |
| Supercomputing Centre            | Email jon.lockley@comlab.ox.ac.uk |
| Oxford University Computing Lab. | Tel +44 (0)1865 283569            |
| Wolfson Building                 | Fax +44 (0)1865 273839            |
| Parks Rd.                        | www.osc.ox.ac.uk                  |
| Oxford, OX1 3QD                  | "Out of Darkness Cometh Light"    |
| England                          |                                   |
------------------------------------------------------------------------