gcc(3.0.1)-installation for aix 4.3.3
David Edelsohn
dje@watson.ibm.com
Sun May 5 16:41:00 GMT 2002
>>>>> 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
More information about the Gcc-help
mailing list