gaurish panse <[EMAIL PROTECTED]> writes:

> I have installed g++ v4.0 & libstdc++ from
> http://www-03.ibm.com/systems/p/os/aix/linux/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<char,
> std::char_traits<char> >& std::operator<< <std::char_traits<char>
>>(std::basic_ostream<char, std::char_traits<char> >&, char const*)

All of the symbols you are missing are supposed to be defined
in libstdc++. Therefore, either the package that IBM provides is
broken, or you didn't install it properly, and there is some other
version of libstdc++ that you pick up instead of the intended
4.0.0 one.

> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
> information.

And you *should* do exactly the above.

Cheers,
-- 
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to