[CLN-list] make failed on .libs/exam

horbelt at uni-freiburg.de horbelt at uni-freiburg.de
Fri Oct 22 19:15:04 CEST 2004


dear wizards,
I failed to build cln on a 64 bit dual Pentium Xeon system with SuSE linux:

uname -a
Linux gulvain 2.6.5-7.108-smp #1 SMP Wed Aug 25 13:34:40 UTC 2004 x86_64 x86_64 x86_64 GNU/Linux

g++ --version
g++ (GCC) 3.3.3 (SuSE Linux)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

./configure --prefix=/scratch/werner/
# I don't have root access to this machine unfortunately
# output seemed all right

make
# seemed all right until:
...
rm -fr .libs/libcln.la .libs/libcln.* .libs/libcln.*

*** Warning: linker path does not have real file for library -lgmp.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libgmp but no candidates were found. (...for file magic test)
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.
gcc -shared ... -o .libs/libcln.so.3.0.2
...
cd tests; make all
...
g++ -g -O2 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 -o .libs/exam  ../src/.libs/libcln.so -lgmp -lm -Wl,--rpath -Wl,/scratch/werner//lib
../src/.libs/libcln.so: undefined reference to `_GLOBAL__I_cl_module__cl_SV_ringelt__firstglobalfun'
../src/.libs/libcln.so: undefined reference to `mulu64_high'
../src/.libs/libcln.so: undefined reference to `_GLOBAL__I_cl_module__cl_GV_number__firstglobalfun'
../src/.libs/libcln.so: undefined reference to `_GLOBAL__I_cl_module__cl_GV_I__firstglobalfun'
../src/.libs/libcln.so: undefined reference to `_GLOBAL__I_cl_module__cl_SV_number__firstglobalfun'
../src/.libs/libcln.so: undefined reference to `divu_64_rest'
../src/.libs/libcln.so: undefined reference to `_GLOBAL__I_cl_module__cl_symbol__firstglobalfun'
collect2: ld returned 1 exit status

is there hope?
what's gmp?
is .libs/exam important?

thanx
werner



More information about the CLN-list mailing list