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

Marius Schamschula marius at physics.aamu.edu
Mon Oct 31 19:32:46 CET 2005


Alexei,

For Mac OS X 10.3.9 I get:

marius$ find ginac check -type f -name '*.o' | xargs nm  | c++filt |  
grep -e 'GiNaC::structure<sprod_s, GiNaC::compare_std_less>::reg_info'
000024e8 S guard variable for GiNaC::structure<sprod_s,  
GiNaC::compare_std_less>::reg_info
000024c0 S GiNaC::structure<sprod_s, GiNaC::compare_std_less>::reg_info

For Mac OS 10.4.2 I get:

marius$ find ginac check -type f -name '*.o' | xargs nm  | c++filt |  
grep -e 'GiNaC::structure<sprod_s, GiNaC::compare_std_less>::reg_info'
          U GiNaC::structure<sprod_s, GiNaC::compare_std_less>::reg_info


On Oct 31, 2005, at 10:04 AM, Sheplyakov Alexei wrote:

> 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.



Marius
--
Marius Schamschula,  Alabama A & M University, Department of Physics

     The Center for Hydrology Soil Climatology and Remote Sensing
    http://optics.physics.aamu.edu/ - http://www.physics.aamu.edu/
           http://wx.aamu.edu/ - http://www.aamu.edu/hscars/




More information about the GiNaC-list mailing list