This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: gcc(3.0.1)-installation for aix 4.3.3
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: "J.Voss" <voss at rrz dot uni-hamburg dot de>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Sun, 05 May 2002 19:41:09 -0400
- Subject: Re: gcc(3.0.1)-installation for aix 4.3.3
>>>>> J Voss writes:
>> ld: 0711-317 Error: Undefined symbol: std::string::_Rep::_S_max_size
>> The std::string::_Rep::_S_max_size error is because g++ and libstdc++ now
>> rely upon weak symbols which are not supported on AIX.
J> If you know a solution how to get rid of this message please let me hear
J> from you.
You need to instantiate the template explicitly, e.g.,
template
std::basic_string<unsigned char>::size_type
std::basic_string<unsigned char>::_Rep::_S_max_size;
with whichever types are appropriate for your sources.
David