Linking Errors
Linking Errors
- Subject: Linking Errors
- From: Manoj Tyagi <email@hidden>
- Date: Fri, 6 Aug 2004 15:54:57 +0530
Hi Friends,
Here is problem of very unique style (Challenging too)...
I had a static library which makes use of STL (map & pair). Now I have moved
it from Code Warrior 8.x to XCode 1.2 successfully.
I have an application that uses this lib but due to some reasons I cannot
move the application in XCode and hence using CodeWarrior to complie the
application.
When I compile the application with the lib built by XCode, I'm getting
following two linking errors.
Link Error : undefined: 'std::__default_alloc_template<true,
0>::deallocate(void*, unsigned long)' (code)
Referenced from 'std::__simple_alloc<std, _Rb_tree_node<std, pair<const
unsigned long, UConverter*> >, std, __default_alloc_template<true, 0>
>::deallocate(pair<const unsigned long, UConverter*>*, unsigned long)' in
XYZ.Mach-O.d.lib
Link Error : undefined: 'std::__default_alloc_template<true,
0>::allocate(unsigned long)' (code)
Referenced from 'std::__simple_alloc<std, _Rb_tree_node<std, pair<const
unsigned long, UConverter*> >, std, __default_alloc_template<true, 0>
>::allocate(unsigned long)' in XYZ.Mach-O.d.lib
Please tell me the probable reason behind it.
Regards
Manoj
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.