Undefined reference on s390x

Ulrich Weigand weigand@i1.informatik.uni-erlangen.de
Wed Jun 9 14:40:00 GMT 2004


Hello,

I'm now seeing errors of the form:

include/bits/fstream.tcc:69: undefined reference to `std::__basic_file<char>::xsputn(char const*, long)'
include/bits/locale_facets.tcc:111: undefined reference to `std::__basic_file<char>::xsputn(char const*, long)'
include/bits/locale_facets.tcc:113: undefined reference to `std::__basic_file<char>::xsputn(char const*, long)'
include/bits/localefwd.h:187: undefined reference to `std::__basic_file<char>::xsputn(char const*, long)'
include/bits/stl_algobase.h:155: undefined reference to `std::__basic_file<char>::seekoff(long, std::_Ios_Seekdir)'
include/bits/fstream.tcc:692: undefined reference to `std::__basic_file<char>::xsgetn(char*, long)'
include/bits/fstream.tcc:262: undefined reference to `std::__basic_file<char>::xsgetn(char*, long)'
include/streambuf:481: undefined reference to `std::__basic_file<char>::xsputn_2(char const*, long, char const*, long)'

when running the libstdc++ testsuite on s390x-ibm-linux (*not* on s390-ibm-linux).

Might this be some linker script issue?

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  weigand@informatik.uni-erlangen.de



More information about the Libstdc++ mailing list