[CLN-list] Segfault when using univpoly

Richard B. Kreckel kreckel at ginac.de
Tue Mar 8 14:08:36 CET 2005


On Tue, 8 Mar 2005, Ralf Goertz wrote:
> Am Dienstag, 8. März 2005 00:55 schrieb Richard B. Kreckel:
> > Could you please play a bit with that patch and tell how it goes?
>
> I would love to but there is another problem I haven't mentioned so far. I
> can't "make" cln! That is, make compiles everything fine and creates the
> library but it contains unresolved symbols. So far I couldn't find out what
> the problem is:

Which leaves me wondering how you were able to find the bug.

> g++ -Wall -O2 -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
> -o .libs/exam  ../src/.libs/libcln.so /usr/lib/libgmp.so -lm
> exam.o(.text+0x42): In function `_GLOBAL__I__Z15test_elementaryv':
> /home/rg/tmp/cln-1.1.9/tests/exam.s:67: undefined reference to
> `_GLOBAL__I_cl_module__cl_ieee__firstglobalfun'
> exam_SF.o(.text+0x41): In function `_GLOBAL__I__Z11test_sfloatv':
> /home/rg/tmp/cln-1.1.9/tests/exam_SF.s:6255: undefined reference to
> `_GLOBAL__I_cl_module__cl_ieee__firstglobalfun'
> exam_FF.o(.text+0x41): In function `_GLOBAL__I__Z11test_ffloatv':
> /home/rg/tmp/cln-1.1.9/tests/exam_FF.s:6261: undefined reference to
> `_GLOBAL__I_cl_module__cl_ieee__firstglobalfun'
> exam_FF.o(.text+0x46):/home/rg/tmp/cln-1.1.9/tests/exam_FF.s:6262: undefined
> reference to `_GLOBAL__I_cl_module__cl_ieee__firstglobalfun'
> exam_DF.o(.text+0x41): In function `_GLOBAL__I__Z11test_dfloatv':
> /home/rg/tmp/cln-1.1.9/tests/exam_DF.s:6802: undefined reference to
> `_GLOBAL__I_cl_module__cl_ieee__firstglobalfun'
> exam_DF.o(.text+0x46):/home/rg/tmp/cln-1.1.9/tests/exam_DF.s:6803: more
> undefined references to `_GLOBAL__I_cl_module__cl_ieee__firstglobalfun'
> follow
> ../src/.libs/libcln.so: undefined reference to
> `_GLOBAL__I_cl_module__cl_SV_ringelt__firstglobalfun'
> ../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
> `_GLOBAL__I_cl_module__cl_symbol__firstglobalfun'
> collect2: ld returned 1 exit status

What system is this?  Please submit the output of `uname -a', the output
of `g++ -v' and also the way you configured CLN (CXXFLAGS and such).

  -richy.
-- 
Richard B. Kreckel
<http://www.ginac.de/~kreckel/>





More information about the CLN-list mailing list