[ptx] linking error on Tiger

Ippei UKAI ippei_ukai at mac.com
Tue May 3 19:57:35 BST 2005


Hi,

I've got Tiger installed and recompiled everything, except hugin and  
nano. Linking libcommon (static, to avoid any installation task for  
users) into binary gives me following error. Do any of you have any  
idea about this? Tiger uses gcc 4.0 and libstdc++ is now a dynamic  
library.

/usr/bin/ld: /Users/ippei/Download/hugin/hugin-cvs/mac/build/ 
libcommon.a(utils.o) illegal reference for -dynamic code (section  
difference reference from section (__TEXT,__eh_frame) relocation  
entry (4) to symbol: char* std::basic_string<char,  
std::char_traits<char>, std::allocator<char> >::_S_construct<char  
const*>(char const*, char const*, std::allocator<char> const&,  
std::forward_iterator_tag)defined in dylib: /usr/lib/gcc/powerpc- 
apple-darwin8/4.0.0/libstdc++.dylib)

/usr/bin/ld: /Users/ippei/Download/hugin/hugin-cvs/mac/build/ 
libcommon.a(utils.o) illegal reference for -dynamic code (section  
difference reference from section (__TEXT,__eh_frame) relocation  
entry (16) to symbol: std::basic_string<char, std::char_traits<char>,  
std::allocator<char> >::basic_string<char const*>(char const*, char  
const*, std::allocator<char> const&)defined in dylib: /usr/lib/gcc/ 
powerpc-apple-darwin8/4.0.0/libstdc++.dylib)

autovectorisation seems working. I haven't got enough time (exams...)  
but quick test resulted blending two photo panorama is about 20%  
faster with new build (whose size is about the half of the original  
one). I'm hoping nona and hugin gets faster too.

Thanks
Ippei

-- 
  ->> 鵜飼 一平  (UKAI Ippei) ->>>>>>>>>>>>>>>>>>>>>>>>>
   My general MSN, AIM, and E-Mail: ippei_ukai at mac.com
   Homepage:  http://homepage.mac.com/ippei_ukai/




More information about the ptX mailing list