CVS: ostringstream failure (urgent please)
jarausch@igpm.rwth-aachen.de
jarausch@igpm.rwth-aachen.de
Fri Jan 12 06:09:00 GMT 2001
Hi,
todays CVS fails the trivial example
#include <sstream>
#include <iostream>
using std::ostringstream;
using std::cout; using std::endl;
int main() {
ostringstream OS;
OS << "Hello world\n";
cout << OS.str() << endl;
}
when linking:
ld32: ERROR 33 : Unresolved text symbol "std::basic_stringbuf<char, std::char_traits<char>,
std::allocator<char> >::seekpos(std::fpos<mbstate_t>,
std::_Ios_Openmode)" -- 1st referenced by /var/tmp/cc0EUIvS.o.
Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: INFO 152: Output file removed because of error.
g++ -v
Reading specs from /usr/LOCAL/lib/gcc-lib/mips-sgi-irix6.5/2.97/specs
Configured with: /usr/people/jarausch/ZIP/EGCS/gcc-cvs/configure
--prefix=/usr/LOCAL --with-local-prefix=/usr/LOCAL :
(reconfigured)
gcc version 2.97 20010111 (experimental)
Thanks for looking into it,
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
Institute of Technology, RWTH Aachen
D 52056 Aachen, Germany
More information about the Gcc-bugs
mailing list