Undefined references in libstdc++ headers

Benjamin Kosnik bkoz@redhat.com
Thu Feb 23 18:48:00 GMT 2006


> in /usr/include/c++/4.1.0/bits/basic_string.h:230:
> undefined reference to `std::basic_string<char,
> std::char_traits<char>, std::allocator<char>
> >::_Rep::_S_empty_rep_storage'

Can you post a self-contained testcase and the compile flags you are
using so that others can reproduce this error?

thanks,
-benjamin



More information about the Libstdc++ mailing list