|
From: Venkat G. <VG...@tr...> - 2004-10-25 19:59:32
|
Hi,
I had installed the gcc and gcc-c++ on AIX 5.2. The gcc compiler works fine, but I am some trouble using g++ compiler.
I did a simple test using the following program.
*--------------
// test1.cpp
#include <cstdio>
using namespace std;
int main ()
{
printf ("Hello World!");
return 0;
}
*---------------
I get the following errors, when I compile.
g++ test1.cpp
ld: 0711-201 SEVERE ERROR: External symbol typeinfo name for std::codecvt<wchar_t, char, char*>, defined in member codecvt.o
of archive /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/libstdc++.a, was not found in the archive's global symbol table.
ld: 0711-201 SEVERE ERROR: External symbol typeinfo name for std::codecvt<char, char, char*>, defined in member codecvt.o
of archive /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/libstdc++.a, was not found in the archive's global symbol table.
ld: 0711-201 SEVERE ERROR: External symbol typeinfo for std::codecvt<char, char, char*>, defined in member code cvt.o
of archive /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/libstdc++.a, was not found in the archive's global symbol table.
ld: 0711-201 SEVERE ERROR: External symbol typeinfo for std::codecvt<wchar_t, char, char*>, defined in member codecvt.o
of archive /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/libstdc++.a, was not found in the archive's global symbol table.
... and more....
Look's like I am missing some flags or files here, any help is greatly appreciated.
Thanks
Venkat
> gcc and gcc-c++ versions 3.3.2 are now available in the AIX Toolbox. These
> are now built directly from the FSF GNU source from the GNU website, and they
> replace the older "GNUPro" versions previously available in the Toolbox.
|