[ expat-Bugs-626001 ] ld: Mismatched ABI (not an ELF file) for

"SourceForge.net" <[email protected]>
Newsgroups gmane.text.xml.expat.bugs
Message-ID <[email protected]>
Bugs item #626001, was opened at 2002-10-20 11:43
Message generated for change (Settings changed) made by gstein
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=626001&group_id=10127

Category: Build control
Group: None
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: Sanjay (sanjaywaza)
Assigned to: Greg Stein (gstein)
Summary: ld: Mismatched ABI (not an ELF file) for

Initial Comment:
I tried to install the expat1.95.4) on HP-UX 11.0 (64 Bit).
Then I tried to build XML::Parser2.31.1 and I am getting 
the error (ld: Mismatched ABI (not an ELF file). 
I am getting the following error during 
make . 
 
cp Parser/Encodings/README 
blib/lib/XML/Parser/Encodings/README 
cp Parser/Encodings/x-sjis-cp932.enc 
blib/lib/XML/Parser/Encodings/x-sjis-cp932.enc 
cp Parser/Encodings/iso-8859-7.enc 
blib/lib/XML/Parser/Encodings/iso-8859-7.enc 
cp Parser/Encodings/big5.enc 
blib/lib/XML/Parser/Encodings/big5.enc 
cp Parser/Encodings/windows-1250.enc 
blib/lib/XML/Parser/Encodings/windows-1250.enc 
cp Parser/Encodings/iso-8859-8.enc 
blib/lib/XML/Parser/Encodings/iso-8859-8.enc 
cp Parser/Encodings/iso-8859-2.enc 
blib/lib/XML/Parser/Encodings/iso-8859-2.enc 
cp Parser/Encodings/x-euc-jp-jisx0221.enc 
blib/lib/XML/Parser/Encodings/x-euc-jp-jisx0221.enc 
cp Parser/Encodings/iso-8859-9.enc 
blib/lib/XML/Parser/Encodings/iso-8859-9.enc 
cp Parser/Encodings/x-sjis-unicode.enc 
blib/lib/XML/Parser/Encodings/x-sjis-unicode.enc 
cp Parser/Encodings/iso-8859-3.enc 
blib/lib/XML/Parser/Encodings/iso-8859-3.enc 
cp Parser/Encodings/x-sjis-jdk117.enc 
blib/lib/XML/Parser/Encodings/x-sjis-jdk117.enc 
cp Parser/Encodings/euc-kr.enc 
blib/lib/XML/Parser/Encodings/euc-kr.enc 
cp Parser/Encodings/iso-8859-4.enc 
blib/lib/XML/Parser/Encodings/iso-8859-4.enc 
cp Parser/Encodings/Japanese_Encodings.msg 
blib/lib/XML/Parser/Encodings/Japanese_Encodings.msg 
cp Parser/Encodings/x-sjis-jisx0221.enc 
blib/lib/XML/Parser/Encodings/x-sjis-jisx0221.enc 
cp Parser.pm blib/lib/XML/Parser.pm 
cp Parser/Encodings/iso-8859-5.enc 
blib/lib/XML/Parser/Encodings/iso-8859-5.enc 
cp Parser/Encodings/x-euc-jp-unicode.enc 
blib/lib/XML/Parser/Encodings/x-euc-jp-unicode.enc 
cp Parser/LWPExternEnt.pl 
blib/lib/XML/Parser/LWPExternEnt.pl 
cp Expat.pm ../blib/lib/XML/Parser/Expat.pm 
/bin/perl -I/opt/perl5.6.1/lib/5.6.1/PA-RISC2.0 - 
I/opt/perl5.6.1/lib/5.6.1 /opt/perl5.6.1/lib/5.6.1/ExtUtils/x
s 
ubpp -noprotc 
cc -c +z -D_HPUX_SOURCE +DD64 -Ae - 
I/usr/local/include -D_LARGEFILE_SOURCE - 
D_FILE_OFFSET_BITS=64 -O -DVERSION=\2.31\c 
Running Mkbootstrap for XML::Parser::Expat () 
chmod 644 Expat.bs 
rm -f ../blib/arch/auto/XML/Parser/Expat/Expat.sl 
LD_RUN_PATH="/usr/local/lib" /usr/bin/ld -b 
+vnocompatwarnings -L/usr/local/lib -L/lib/pa20_64 
Expat.o -o ../blib/arch/au 
ld: Mismatched ABI (not an ELF file) for -lexpat 
Fatal error. 
*** Error exit code 1 

Stop. 
*** Error exit code 1 

Thanks 
 


----------------------------------------------------------------------

>Comment By: Greg Stein (gstein)
Date: 2003-10-09 15:23

Message:
Logged In: YES 
user_id=6501

Reading through that output: it is entirely about the
Parser::Expat build, and then linking against a
system-installed expat library.

If the system library was built incorrectly by the Expat
build system, then we might have a problem, but I'm not
seeing or hearing that. This looks like some consistencies
between how people chose to build things on that one box.

In any case, this isn't a valid bug to file here, unless it
can be determined the system expat library was built wrong.
Closing as invalid.

----------------------------------------------------------------------

Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2003-01-20 21:31

Message:
Logged In: YES 
user_id=3066

Dropping priority substantially.  This is an HP-UX bug;
someone who can help on that platform needs to figure this
out; the current crop of contributors doesn't seem to
include anyone with knowledge or information about that
platform, and the report doesn't make it clear that this
isn't an XML::Parser problem (XML::Parser is *not* part of
Expat, nor is it provided by the Expat project).

----------------------------------------------------------------------

Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2002-11-02 13:29

Message:
Logged In: YES 
user_id=3066

This looks like a build issue to me; I don't know anything about HP-UX, so I 
might be wrong.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=626001&group_id=10127
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.