Hi, the following program: #include <sstream> #include <string> #include <iostream> using namespace std; int main() { std::stringstream ss; std::string str; ss << 4; ss >> str; std::cout << "str: " << str << std::endl; return 0; } does not build at a HP-UX B.11.11 U 9000/800 then I try: "g++ main.cpp". I get a linker error: /usr/ccs/bin/ld: Unsatisfied symbols: std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::~basic_stringstream +[in-charge]()(first referenced in /var/tmp//ccvy3bfa.o) (code) std::basic_stringstream<char, std::char_traits<char>, std::allocator<char> +>::basic_stringstream[in-charge](std::_Ios_Openmode)(first referenced in /var/tmp//ccvy3bfa.o) (code) collect2: ld returned 1 exit status g++ -v gives me: Reading specs from /usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2.3/specs Configured with: ./configure --prefix=/usr/local --enable-threads=posix --disable-shared --with-gnu-as +--with-libiconv-prefix=/usr/local/lib --enable-languages=c,c++,f77 : (reconfigured) ./configure +--prefix=/usr/local --enable-threads=posix --disable-shared --with-gnu-as +--with-libiconv-prefix=/usr/local/lib --enable-languages=c,c++,f77 : (reconfigured) ./configure +--prefix=/usr/local --enable-threads=posix --disable-shared --with-gnu-as +--with-libiconv-prefix=/usr/local/lib --enable-languages=c,c++,f77 : (reconfigured) ./configure +--prefix=/usr/local --enable-threads=posix --disable-shared --with-gnu-as +--with-libiconv-prefix=/usr/local/lib --enable-languages=c,c++,f77 : (reconfigured) ./configure +--prefix=/usr/local --enable-threads=posix --disable-shared --with-gnu-as +--with-libiconv-prefix=/usr/local/lib --enable-languages=c,c++,f77 : (reconfigured) ./configure +--prefix=/usr/local --enable-threads=posix --disable-shared --with-gnu-as +--with-libiconv-prefix=/usr/local/lib --enable-languages=c,c++,f77 : (reconfigured) ./configure +--prefix=/usr/local --enable-threads=posix --disable-shared --with-gnu-as +--with-libiconv-prefix=/usr/local/lib --enable-languages=c,c++,f77 : (reconfigured) ./configure +--prefix=/usr/local --enable-threads=posix --disable-shared --with-gnu-as +--with-libiconv-prefix=/usr/local/lib --enable-languages=c,c++,f77 : (reconfigured) ./configure +--prefix=/usr/local --enable-threads=posix --disable-shared --with-gnu-as +--with-libiconv-prefix=/usr/local/lib --enable-languages=c,c++,f77 : (reconfigured) ./configure +--prefix=/usr/local --enable-threads=posix --disable-shared --with-gnu-as +--with-libiconv-prefix=/usr/local/lib --enable-languages=c,c++,f77 : (reconfigured) ./configure +--prefix=/usr/local --enable-threads=posix --disable-shared --with-gnu-as +--with-libiconv-prefix=/usr/local/lib --enable-languages=c,c++,f77 : (reconfigured) ./configure +--prefix=/usr/local --enable-threads=posix --disable-shared --with-gnu-as +--with-libiconv-prefix=/usr/local/lib --enable-languages=c,c++,f77 : (reconfigured) ./configure +--prefix=/usr/local --enable-threads=posix --disable-shared --with-gnu-as +--with-libiconv-prefix=/usr/local/lib --enable-languages=c,c++,f77 : (reconfigured) ./configure +--prefix=/usr/local --enable-threads=posix --disable-shared --with-gnu-as +--with-libiconv-prefix=/usr/local/lib --enable-languages=c,c++,f77 Thread model: posix gcc version 3.2.3 Quit recently at the same machine a gcc-3.0.2 was installed. I think/hope the installation of gcc or my environment is somehow broken. How can I find out the problem ? Thomas --