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/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/
subll /auto/users/jjl/pari/pari-2.1.4/Osolaris-sparcv9/
addmul /auto/users/jjl/pari/pari-2.1.4/Osolaris-sparcv9/
overflow /auto/users/jjl/pari/pari-2.1.4/Osolaris-sparcv9/
addll /auto/users/jjl/pari/pari-2.1.4/Osolaris-sparcv9/
hiremainder /auto/users/jjl/pari/pari-2.1.4/Osolaris-sparcv9/
mulll /auto/users/jjl/pari/pari-2.1.4/Osolaris-sparcv9/
addllx /auto/users/jjl/pari/pari-2.1.4/Osolaris-sparcv9/

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 |
| Oxford University Computing Lab. | Tel +44 (0)1865 283569            |
| Wolfson Building                 | Fax +44 (0)1865 273839            |
| Parks Rd.                        |                  |
| Oxford, OX1 3QD                  | "Out of Darkness Cometh Light"    |
| England                          |                                   |