Operating System - HP-UX
1753611 Members
5682 Online
108797 Solutions
New Discussion

elf dump results of Expat.so and XML-Parser

 
Syed Madar J S
Frequent Advisor

elf dump results of Expat.so and XML-Parser

Building XML-Parser module for perl, i noticed recently that the "Expat.so" linking has been different from the previously built module.

I noticed that "xmlparse.c" "xmlrole.c" and "xmltok.c are not linked into the Expat.so that i built.

I tried to change the makefile so as to link the above three file, but it didn't work as expected, Please comment - am i missing anything.

My Expat.so:
*****************
$ elfdump -dl /opt/perl_32/lib/site_perl/5.8.8/IA64.ARCHREV_0-thread-multi/auto/XML/Parser/Expat/Expat.so

/opt/perl_32/lib/site_perl/5.8.8/IA64.ARCHREV_0-thread-multi/auto/XML/Parser/Expat/Expat.so:


Linker Footprint from /opt/perl_32/lib/site_perl/5.8.8/IA64.ARCHREV_0-thread-multi/auto/XML/Parser/Expat/Expat.so:


Product_id Version_id Link time

SOURCE FILE INFO: Expat.c
/tmp/Perl-Module/XML-Parser-2.36/Expat
ANSI C 32 bits
1253012291
92453-07 linker ld HP Itanium(R) B.12.52 IPF/IPF
Link time: Wed Sep 16 2009 10:10:49 IST

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

Previosuly built Expat.so
************************************

$ elfdump -dl ../Expat.so.AS

../Expat.so.AS:


Linker Footprint from ../Expat.so.AS:


Product_id Version_id Link time

SOURCE FILE INFO: Expat.c
/home/gecko/build-20060320T194003-lusmuvqdkv/XML-Parser/Expat
ANSI C 32 bits
SOURCE FILE INFO: expat/lib/xmltok.c
/home/gecko/build-20060320T194003-lusmuvqdkv/XML-Parser/Expat
ANSI C 32 bits
SOURCE FILE INFO: expat/lib/xmlrole.c
/home/gecko/build-20060320T194003-lusmuvqdkv/XML-Parser/Expat
ANSI C 32 bits
SOURCE FILE INFO: expat/lib/xmlparse.c
/home/gecko/build-20060320T194003-lusmuvqdkv/XML-Parser/Expat
ANSI C 32 bits
92453-07 linker ld HP Itanium(R) B.12.24 PBO 040820 (IPF/IPF)
Link time: Mon Mar 20 2006 20:22:11 PST
*********************
1 REPLY 1
Dennis Handly
Acclaimed Contributor

Re: elfdump results of Expat.so and XML-Parser

>I noticed that xmlparse.c, xmlrole.c and xmltok.c are not linked into Expat.so

Can you see your make link rule output to see if it is missing those three objects?
If you compiled the those with a foreign devil compiler, they wouldn't show up in elfdump -d.

>I tried to change the makefile so as to link the above three file

How did you change it? Are you using gmake vs HP's make?