[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: g++ on AIX5.3 - linker issue

From: Paul Pluzhnikov
Subject: Re: g++ on AIX5.3 - linker issue
Date: Thu, 01 Nov 2007 07:15:06 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux)

gaurish panse <> writes:

> I have installed g++ v4.0 & libstdc++ from
> 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.

In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]