Re: Expat-bugs Digest, Vol 85, Issue 3
Albrecht Fritzsche <[email protected]> Fri, 23 Nov 2007 12:26:21 +0100
| Newsgroups | gmane.text.xml.expat.bugs |
|---|---|
| Message-ID | <[email protected]> |
[email protected] wrote: > Date: Thu, 22 Nov 2007 23:44:26 -0800 > From: "SourceForge.net" <[email protected]> > Subject: [Expat-bugs] [ expat-Bugs-1836891 ] compile problem on > hpux11.23. Urgent! > To: [email protected] > Summary: compile problem on hpux11.23. Urgent! > > Initial Comment: > My server is: HP Integrity rx2620 hpux11.23. > > I want to compile one source which needs to link libexpat.a on hpux. The message always as following: > ld: Can't find library or mismatched ABI for -lexpat That libexpat.a was built with another compiler than your source. Since both compilers differ in their ABI you should be thankful that the linker warns you - runtime crashes might be the consequence otherwise. And yes, building it locally should be the solution to this problem. > Then, I downloaded expat source. First, did ./configure, then did make. When making, message was: > ld: Unknown input file type: "./.libs/libexpat.so" > Fatal error. Apparently the make takes incorrectly the *.so instead of the *.a for linking? Maybe you should try to look at the link part of the make files, for instance by making its output verbose. > Under .libs folder, libexpat.a and libexpat.so had been created. > I copied this licexpat.a to my lib folder, also couldn't use. In what sense? What happened when you've tried to link the libexpat.a? Ali