From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Keegan, David" To: gcc-help@gcc.gnu.org Subject: On HP-UX 11.00 gcc-3.0.1/binutils-2.11.2 - shared libraries containing C++ code. Date: Fri, 28 Sep 2001 04:12:00 -0000 Message-id: <0725120622E7D411AEF70020485A6B0CA43D33@dl-msgusr-01.eu.fore.com> X-SW-Source: 2001-09/msg00144.html Hi, Can anyone confirm that gcc-3.0.1/binutils-2.11.2 on HPUX 11.00 works for shared libraries containing C++ code? I get no errors or warnings compiling/linking the shared library, but when at run time a function in the library is called, the program aborts with "Unresolved Symbol: _Znam", or with "Unresolved Symbol: _Unwind_SjLj_Register" if I add -lstdc++ to the link. The problem symbols are in either libgcc.a or libstdc++.sl, but the native linker doesn't seem to deal with them properly. Regards, David Keegan.