Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Linking Errors!!!



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.




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.