This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]