Dear GiNaC people, I wanted to install ginac1 so I had to upgrade my cln to the latest version (I used older version ok). But it would not compile on my redhat6 system. (see the attachment) Any ideas? I know you are not the cln authors, but maybe you have experience with this. Thank you, Keith <<cln-probs>> Dr. Keith M. Briggs Senior Mathematician, Complexity Research, BTexact Technologies email: Keith.Briggs@bt.com phone: +44(0)1473 work: 641 911 home (new!): 610 517 fax: 647 410 web: www.btexact.com/people/briggsk2/ mail: Keith Briggs, Antares 2pp5, Adastral Park, Martlesham, Suffolk IP5 3RE, UK BTexact Technologies is a trademark of British Telecommunications plc Registered office: 81 Newgate Street London EC1A 7AJ Registered in England no. 1800000 This electronic message contains information from British Telecommunications plc which may be privileged or confidential. The information is intended to be for the use of the individual(s) or entity named above. If you are not the intended recipient be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you have received this electronic message in error, please notify us by telephone or email (to the numbers or address above) immediately.
On Thu, 22 Nov 2001 keith.briggs@bt.com wrote:
I wanted to install ginac1 so I had to upgrade my cln to the latest version (I used older version ok). But it would not compile on my redhat6 system. (see the attachment) Any ideas? I know you are not the cln authors, but maybe you have experience with this.
[...]
mkdir .libs 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 -o .libs/exam ../src/ .libs/libcln.so -lm -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' exam_I.o(.text+0xf0): undefined reference to `default_print_flags' exam_I.o: In function `test_integer_minus(void)': exam_I.o(.text+0x30a): undefined reference to `default_print_flags' exam_I.o(.text+0x339): undefined reference to `default_print_flags' exam_I.o: In function `test_integer_mul(void)': exam_I.o(.text+0x54a): undefined reference to `default_print_flags' exam_I.o(.text+0x579): more undefined references to `default_print_flags' follow ../src/.libs/libcln.so: undefined reference to `cl_class_gvector_integer' ../src/.libs/libcln.so: undefined reference to `__gmpn_add_n' ../src/.libs/libcln.so: undefined reference to `__gmpn_addmul_1' [...]
My guess is that the build-process was screwed by some improper reconfiguration. Observe that the symbol `__gmpn_add_n' should have been provided by GMP, but there is no -lgmp on the compiler command line. The other missing symbols are probably explained also by some mishap while reconfiguring. Please delete everything, unpack again, configure, make, make check, make install in that order. Does this help? Please set optimization to `-O', `-O1', `-O2' or maybe `-O2 -fno-exceptions' but *never* to `-O0' or `-O3' while compiling the library proper. The latter two do not work with the automatic module ordering scheme. Though it appears that you set `-O', which should be okay. Regards -richy. -- Richard Kreckel <Richard.Kreckel@Uni-Mainz.DE> <http://wwwthep.physik.uni-mainz.de/~kreckel/>
participants (2)
-
keith.briggs@bt.com
-
Richard B. Kreckel