• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Linking Errors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Prev by Date: Re: Hiding the right gutter for the main menu
  • Next by Date: Problems with "Download"
  • Previous by thread: Linking Errors!!!
  • Next by thread: Re: Linking Errors
  • Index(es):
    • Date
    • Thread