CLN 1.1

Stefan Weinzierl stefanw at fis.unipr.it
Mon Mar 19 11:41:16 CET 2001


Dear Richy,

I was planning to upgrade to GiNaC-0.7 and CLN-1.1, but I ran into a
small problem: CLN-1.1 does not build out of the box on my system.

After configure and make, in the "test" subdirectory:

c++ -O 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/lib 
exam_I.o: In function `test_integer_plus(void)': exam_I.o(.text+0xc1):
undefined reference to `default_print_flags'

Runnnig 
 nm -u on src/.libs/libcln.so.1.0.0 shows me that default_print_flags is
indeed unresolved, together with some other symbols, which I suspect
should be better resolved:
 ... 
 cl_class_bignum 
 cl_class_complex
 cl_class_dfloat  
 cl_class_ffloat 
 cl_class_fixnum  
 cl_class_gvector_integer 
 cl_class_gvector_number
 cl_class_lfloat
 cl_class_modint_ring 
 cl_class_ratio 
 cl_class_sfloat 
 cl_class_string
 cl_class_svector_number 
 cl_class_svector_ringelt 
 cl_class_univpoly_ring
 default_print_flags
 ...

I have a slight suspicion that it might be the compiler.
The compiler I'm using is gcc 2.91.66

 Best regards,

   Stefan





More information about the GiNaC-devel mailing list