• 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
Re: _assign__t18string_char_traits1ZcRcRCc link undefined sym?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: _assign__t18string_char_traits1ZcRcRCc link undefined sym?


  • Subject: Re: _assign__t18string_char_traits1ZcRcRCc link undefined sym?
  • From: Chris Ridd <email@hidden>
  • Date: Mon, 29 Jul 2002 09:34:34 +0100

Andrew Pinski <email@hidden> wrote:
> On Sunday, July 28, 2002, at 03:49 , devdrvr.net Multi-Platform SW wrote:
>
>> Get the following link error reported with
>> these undefined symbols:
>>
>> _assign__t18string_char_traits1ZcRcRCc
> string_char_traits<char>::_assign(char &, char const &)
>
>> _copy__t18string_char_traits1ZcPcPCcUl
> string_char_traits<char>::_copy(char *, char const *, unsigned long)
>
>
>> _eos__t18string_char_traits1Zc
> string_char_traits<char>::_eos(void)
>
>
> I think you have to link with g++/c++.
>
> Thanks,
> Andrew Pinski

The original poster upgraded his dev tools, so given that he probably
already *was* building and linking his stuff as C++, he's probably hit some
C++ differences between the two compiler versions.

The C++ support in g++ 3.1 is a lot different from 2.95 - STL support
changed considerably IIRC - so the poster may need to modify his sources.
The C++ ABI might also have changed.

It is also worthwhile doing a "Clean" and then "Build" in PB to see if the
problem is C++ ABI-related. (ie you can't link objects created with two
different versions of G++.)

Cheers,

Chris
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: _assign__t18string_char_traits1ZcRcRCc link undefined sym? (From: Andrew Pinski <email@hidden>)

  • Prev by Date: awakeFromNib and action question
  • Next by Date: Re[libstdc++.a]: _assign__t18string_char_traits1ZcRcRCc link undefined sym?
  • Previous by thread: Re: _assign__t18string_char_traits1ZcRcRCc link undefined sym?
  • Next by thread: Re[libstdc++.a]: _assign__t18string_char_traits1ZcRcRCc link undefined sym?
  • Index(es):
    • Date
    • Thread