Undefined STL symbols in xcode...
Undefined STL symbols in xcode...
- Subject: Undefined STL symbols in xcode...
- From: Jonathan Wight <email@hidden>
- Date: Tue, 6 Sep 2005 12:09:31 -0400
I have Xcode project that uses Cocoa and Objective-C++. It also links
to some boost libraries (built via darwinports).
When I link to the dylib version of the boost libraries everything is
fine - except of course I cannot distribute the software because I
cannot guarantee end-users have boost compiled into the correct
directory. ;-)
So I changed the project to link to the static versions of the same
libraries (after jumping through hoops because xcode/gcc really want
to link in the dylib version of libraries if all else is equal).
But when I finally link the project I get the following missing symbols:
__ZN9__gnu_cxx18__exchange_and_addEPVii
__ZNSbIwSt11char_traitsIwESaIwEE4_Rep20_S_empty_rep_storageE
__ZNSbIwSt11char_traitsIwESaIwEE4_Rep9_S_createEmmRKS1_
__ZNSs4_Rep20_S_empty_rep_storageE
__ZNSs4_Rep9_S_createEmmRKSaIcE
__ZNSt6locale5_Impl16_M_install_facetEPKNS_2idEPKNS_5facetE
__ZSt18_Rb_tree_decrementPSt18_Rb_tree_node_base
__ZSt29_Rb_tree_insert_and_rebalancebPSt18_Rb_tree_node_baseS0_RS_
These all look to me like STL based symbols. Why would they be
missing? I am using GCC 3.3 - would that be part of the problem?
Jon.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden