Another question.

g++ has been compiled, it compile c++ sources but couldn't link since
there is missing refs.

[EMAIL PROTECTED] objdir]$ /QOpenSys/openpkg/bin/g++ -O2 -pipe
conftest.cc -o conftest
ld: 0711-317 ERROR: Undefined symbol: typeinfo for std::bad_exception
ld: 0711-317 ERROR: Undefined symbol: vtable for std::bad_exception
ld: 0711-317 ERROR: Undefined symbol: vtable for __cxxabiv1::__class_type_info
ld: 0711-317 ERROR: Undefined symbol: vtable for
__cxxabiv1::__si_class_type_info
ld: 0711-317 ERROR: Undefined symbol: typeinfo for std::exception
ld: 0711-317 ERROR: Undefined symbol: vtable for std::bad_alloc
ld: 0711-317 ERROR: Undefined symbol: typeinfo for std::bad_alloc
ld: 0711-317 ERROR: Undefined symbol: typeinfo for
std::__codecvt_abstract_base<char, char, char*>
ld: 0711-317 ERROR: Undefined symbol: typeinfo for
std::__codecvt_abstract_base<wchar_t, char, char*>
ld: 0711-317 ERROR: Undefined symbol: vtable for
std::__codecvt_abstract_base<wchar_t, char, char*>
ld: 0711-317 ERROR: Undefined symbol: .std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::basic_string(char
const*, std::allocator<char> const&)
ld: 0711-317 ERROR: Undefined symbol: .std::basic_string<char,
std::char_traits<char>, std::allocator<char>
>::_Rep::_M_destroy(std::allocator<char> const&)
ld: 0711-317 ERROR: Undefined symbol: .std::basic_string<char,
std::char_traits<char>, std::allocator<char>
>::basic_string(std::basic_string<char, std::char_

...

Also it seems the provided .a (AIX) are differents from the ones found
in gcc provided by IBM in its own rpm :

OpenPKG gcc :

....

/QOpenSys/openpkg/lib/gcc/powerpc-ibm-aix5.2.0.0/3.4.3/libgcc.a
/QOpenSys/openpkg/lib/gcc/powerpc-ibm-aix5.2.0.0/3.4.3/libgcov.a
/QOpenSys/openpkg/lib/gcc/powerpc-ibm-aix5.2.0.0/3.4.3/libiberty.a
/QOpenSys/openpkg/lib/gcc/powerpc-ibm-aix5.2.0.0/3.4.3/libstdc++.a
/QOpenSys/openpkg/lib/gcc/powerpc-ibm-aix5.2.0.0/3.4.3/libsupc++.a

...

AIX Toolbox for Linux :

/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/libgcc.a
/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/libgcc_eh.a
/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/libgcc_s.a
/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/libgcc_s_ppc64.a
/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/libgcc_s_pthread.a
/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/libgcc_s_pthread_ppc64.a
/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/libstdc++.a
/opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/libsupc++.a


Any idea more than welcome since C++ is now impossible with OpenPKG
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   openpkg-dev@openpkg.org

Reply via email to