Problem with CLN on Alpha

maxa at frodo.jia.czn.cz maxa at frodo.jia.czn.cz
Sat Oct 15 01:13:11 CEST 2005


> 
> On Mon, 29 Jan 101 maxa at frodo.jia.czn.cz wrote:
> > Reading specs from /usr/local/lib/gcc-lib/alphapca56-unknown-linux-gnu/egcs-2.91.60/specs
> > gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release)
> 
> Expect problems.  Upgrade compiler.  Use GCC-2.95.2.  While at it, upgrade
> binutils (i.e. ld), too.
> 
> Luck
>   -richy.
> -- 
> Richard Kreckel
> <Richard.Kreckel at Uni-Mainz.DE>
> <http://wwwthep.physik.uni-mainz.de/~kreckel/>

 Hi all!

 I am trying to compile CLN library on an Alpha machine. Now I upgraded  the
compiler and binutils but I am still getting a lot of undefined symbols (see
below). Can anybody help? Was anybody able to compile cln on an Alpha machi-
ne?

 Thanks. Best regards,
                         Ladislav Zejda
                         zejdaz at mbox.vol.cz

Problem:
after running "make" I am getting:

...

/bin/sh ../libtool --mode=link c++ -O3 -g -fno-exceptions -L/usr/local/gmp-3.1.1/lib/  exam.o exam_I.o exam_RA.o exam_SF.o exam_FF.o exam_DF.o exam_LF.o exam_I_gcd.o exam_I_sqrtp.o  ../src/libcln.la -lm -o exam
mkdir .libs
c++ -O3 -g -fno-exceptions -L/usr/local/gmp-3.1.1/lib/ exam.o exam_I.o exam_RA.o exam_SF.o exam_FF.o exam_DF.o exam_LF.o exam_I_gcd.o exam_I_sqrtp.o ../src/.libs/libcln.so -lm -o .libs/exam -Wl,--rpath -Wl,/usr/local/cln-1.1/lib
exam.o: In function `__static_initialization_and_destruction_0':
cln-1.1/include/cln/io.h:91: undefined reference to `_GLOBAL_$I$cl_module__cl_prin_globals__firstglobalfun'
cln-1.1/include/cln/io.h:91: undefined reference to `_GLOBAL_$I$cl_module__cl_prin_globals__firstglobalfun'
exam.o: In function `__static_initialization_and_destruction_0':
cln-1.1/include/cln/random.h:36: undefined reference to `_GLOBAL_$I$cl_module__cl_random_def__firstglobalfun'
cln-1.1/include/cln/random.h:36: undefined reference to `_GLOBAL_$I$cl_module__cl_random_def__firstglobalfun'
exam.o: In function `__static_initialization_and_destruction_0':
cln-1.1/include/cln/dfloat_class.h:55: undefined reference to `_GLOBAL_$I$cl_module__cl_DF_globals__firstglobalfun'
cln-1.1/include/cln/dfloat_class.h:55: undefined reference to `_GLOBAL_$I$cl_module__cl_DF_globals__firstglobalfun'
exam.o: In function `__static_initialization_and_destruction_0':

... and so on

My setup (now it should be up-to-date):
cat /proc/version
Linux version 2.2.11 (root at zelva.jia.czn.cz) (gcc version egcs-2.91.60 19981201
(egcs-1.1.1 release)) #46 Mon Aug 2 13:19:49 PDT 1999

cat /proc/cpuinfo
cpu                     : Alpha
cpu model               : EV56
cpu variation           : 0
cpu revision            : 0
cpu serial number       : Linux_is_Great!
system type             : EB164
system variation        : SX164
system revision         : 0
system serial number    : MILO-0000
cycle frequency [Hz]    : 533171648
timer frequency [Hz]    : 1024.00
page size [bytes]       : 8192
phys. address bits      : 40
max. addr. space #      : 127
BogoMIPS                : 528.48
kernel unaligned acc    : 7 (pc=fffffc0000449014,va=fffffc000029ef32)
user unaligned acc      : 2009927 (pc=2000000ec70,va=20000282764)
platform string         : N/A

g++ -v
Reading specs from /usr/local/gcc-2.95.2/lib/gcc-lib/alphapca56-unknown-linux-gnu/2.95.2/specs
gcc version 2.95.2 19991024 (release)

ld -v
GNU ld version 2.10.91 (with BFD 2.10.1.0.4)



More information about the GiNaC-devel mailing list