[GiNaC-list] Re: ginac 1.3.3 fails make check under Mac OS X 10.4.x

Sheplyakov Alexei varg at theor.jinr.ru
Mon Oct 31 17:04:45 CET 2005


Hello,

On Mon, Oct 31, 2005 at 08:23:22AM -0600, Marius Schamschula wrote:
> 
> I've been running into a problem building ginac under Mac OS X 10.4.x  
> (Tiger)/Darwin 8.x.
> 
> I can compile w/o any problems, but when I run make check I get the  
> following error:
> 
> /bin/sh ../libtool --tag=CXX --mode=link g++  -g -O2   -o exams   
> exam_paranoia.o exam_numeric.o exam_powerlaws.o exam_inifcns.o  
> exam_inifcns_nstdsums.o exam_differentiation.o exam_polygcd.o  
> exam_normalization.o exam_pseries.o exam_matrices.o exam_lsolve.o  
> exam_indexed.o exam_color.o exam_clifford.o exam_archive.o  
> exam_structure.o exam_hashmap.o exam_misc.o exams.o ../ginac/ 
> libginac.la -L/usr/local/lib -lcln -lgmp
> g++ -g -O2 -o .libs/exams exam_paranoia.o exam_numeric.o  
> exam_powerlaws.o exam_inifcns.o exam_inifcns_nstdsums.o  
> exam_differentiation.o exam_polygcd.o exam_normalization.o  
> exam_pseries.o exam_matrices.o exam_lsolve.o exam_indexed.o  
> exam_color.o exam_clifford.o exam_archive.o exam_structure.o  
> exam_hashmap.o exam_misc.o exams.o -Wl,-bind_at_load  ../ginac/.libs/ 
> libginac.dylib -L/usr/local/lib /usr/local/lib/libcln.dylib /usr/ 
> local/lib/libgmp.dylib
> /usr/bin/ld: Undefined symbols:
> GiNaC::structure<sprod_s, GiNaC::compare_std_less>::reg_info
> collect2: ld returned 1 exit status
> make[3]: *** [exams] Error 1
> make[2]: *** [check-am] Error 2
> make[1]: *** [check-recursive] Error 1
> make: *** [check] Error 2
> 
> Note:  I don't see this problem under Mac OS 10.3.x (Panther)/Darwin  
> 7.x. I tried building using both gcc 3.3 and gcc 4.0. gcc 3.3 dies  
> with some linking errors.
> 
> Any ideas?

Could you  please show the output of the following command:

$ find ginac check -type f -name '*.o' | xargs nm -B -C | grep -e 'GiNaC::structure<sprod_s, GiNaC::compare_std_less>::reg_info'

On my platform (GNU/Linux) the output looks like:

00000000 V guard variable for GiNaC::structure<sprod_s, GiNaC::compare_std_less>::reg_info
00000000 V GiNaC::structure<sprod_s, GiNaC::compare_std_less>::reg_info

-- 
All science is either physics or stamp collecting.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.cebix.net/pipermail/ginac-list/attachments/20051031/92817647/attachment.pgp


More information about the GiNaC-list mailing list