Re: _assign__t18string_char_traits1ZcRcRCc link undefined sym?
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.