On Jun 16, 2005, at 12:09 AM, [EMAIL PROTECTED] wrote:

Hi James,

I have some HP-UX results, and I think we're pretty close.

Building on HP-11 IA64 with GCC 3.3.2, I get the following when the first
sample links:

g++ -g -O2 -D_REENTRANT -pthread -o .libs/CreateDOMDocument
src/CreateDOMDocument/CreateDOMDocument.o  ../obj/.libs/libxerces.so
-L/opt/bintmp/gcc-3.3.2/gcc/ia64-hp-hpux11.22/hpux32/libstdc++-v3/src
-L/opt/bintmp/gcc-3.3.2/gcc/ia64-hp-hpux11.22/hpux32/libstdc++-v3/ src/.libs
-L/opt/bintmp/gcc-3.3.2/gcc/gcc/hpux32 -L/opt/bintmp/gcc-3.3.2/gcc/gcc
-L/usr/local/ia64-hp-hpux11.22/bin -L/usr/local/lib/hpux32
-L/usr/local/lib -L/usr/local/lib/gcc-lib/ia64-hp-hpux11.22/3.3.2/ hpux32
-L/usr/ccs/lib/hpux32
-L/usr/local/lib/gcc-lib/ia64-hp-hpux11.22/3.3.2/../../../hpux32
-L/lib/hpux32 -L/usr/lib/hpux32 /usr/local/lib/hpux32/libstdc++.so
-lgcc_s_hpux32 -lnsl -L/home/xalan/apache.svn/temp/lib
ld: Can't find library or mismatched ABI for -lgcc_s_hpux32
Fatal error.

I'm not sure where the offending library is located, but if I edit
libxerces.la, and remove "-lgcc_s_hpux32" from the dependency_libs line, the samples link correctly. This library appears in libstdc++.la in the dependency_libs line, so maybe this is a error with the configuration of
GCC on this particular machine.

Dave,

This option must come from one of three places:

(1) The configure script decides to add it at configure time (in which case it would show up in src/Makefile or samples/Makefile).

    (2) The libtool script decides to add it based on its logic

(3) The libtool script decides to link with it based on something else it finds or which gcc reports to it (in which case this might be a gcc installation issue).

Can you discover which of those might be involved?

-jdb

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to