Hi all,

I have installed g++ v4.0.0 & libstdc++ from
http://www-03.ibm.com/systems/p/os/a.../download.html on AIX5.3.
Now when I try to compile a C++ hello world program I get following
error:

$ g++ -o testapp testapp.cpp
ld: 0711-317 ERROR: Undefined symbol: .std::basic_ostream std::char_traits >& std:perator<<
>(std::basic_ostream >&, char const*)

ld: 0711-317 ERROR: Undefined symbol: std::basic_ostream std::char_traits >& std::endl
>(std::basic_ostream >&)

ld: 0711-317 ERROR: Undefined symbol: .std::basic_ostream std::char_traits >:perator<<(std::basic_ostream std::char_traits >& (*)(std::basic_ostream std::char_traits >&))
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
collect2: ld returned 8 exit status

The same program compiles fine when I use printf() instead of
std::cout. How do I resolve this.

TIA
Gaurish