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


 Dear all!

 I am trying to compile CLN library on an Alpha machine, but I am getting a lot
of undefined symbols (see below). Can anybody help?

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

Problem:
after running "make" I am getting:

...

/bin/sh ../libtool --mode=link g++ -O6 -g -fno-exceptions  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
g++ -O6 -g -fno-exceptions 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 -lgmp -lm -o .libs/exam -Wl,--rpath -Wl,/usr/local/lib
exam.o: In function `global constructors keyed to main':
/usr/src/cln/cln-1.1/tests/../include/cln/io.h:91: undefined reference to `_GLOBAL_$I$cl_module__cl_prin_globals__firstglobalfun'
/usr/src/cln/cln-1.1/tests/../include/cln/io.h:91: undefined reference to `_GLOBAL_$I$cl_module__cl_prin_globals__firstglobalfun'
exam.o: In function `global constructors keyed to main':
/usr/src/cln/cln-1.1/tests/../include/cln/random.h:36: undefined reference to `_GLOBAL_$I$cl_module__cl_random_def__firstglobalfun'
/usr/src/cln/cln-1.1/tests/../include/cln/random.h:36: undefined reference to `_GLOBAL_$I$cl_module__cl_random_def__firstglobalfun'
exam.o: In function `global constructors keyed to main':
/usr/src/cln/cln-1.1/tests/../include/cln/dfloat_class.h:55: undefined reference to `_GLOBAL_$I$cl_module__cl_DF_globals__firstglobalfun'
/usr/src/cln/cln-1.1/tests/../include/cln/dfloat_class.h:55: undefined reference to `_GLOBAL_$I$cl_module__cl_DF_globals__firstglobalfun'
exam.o: In function `global constructors keyed to main':

... and so on

My setup (Isn't it too old?):
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      : 2007464 (pc=120185630,va=120ca2dac)
platform string         : N/A

g++ -v
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)



More information about the GiNaC-devel mailing list