sstream header of gcc 3.1 on sun solaris

Benjamin Kosnik bkoz@redhat.com
Thu Aug 8 23:24:00 GMT 2002


>     1) warnings about global symbols having non-global bindings
>        in libgcc_s.so, and 
>     2) fails to link due to undefined symbols:
>        std::basic_stringstream<char, std::char_traits<char>,
>        std::allocator<char> >::basic_stringstream
>        [in-charge](std::_Ios_Openmode)
>        and the destructor of that class is missing, too.

Are you using GNU binutils (ie GNU ld)? If so, what versions?

Your build seems suspect to me: code like this is required to link to
pass the libstdc++ testsuite. If you see a bunch of FAIL's when you do
'make check-c++' then you know that there's something wrong with your
build.

-benjamin



More information about the Libstdc++ mailing list