This is the mail archive of the gcc-bugs@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]

CVS: ostringstream failure (urgent please)


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


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