Operating System - HP-UX
1834299 Members
2220 Online
110066 Solutions
New Discussion

HPUX 11iv2 porting, linking library hppa

 
sujay.shinde
New Member

HPUX 11iv2 porting, linking library hppa

I need to port our server to a HPUX 11iv2 64 bit PA-RISC platform

I am facing a problem while compiling one of our old modules ..

In one of our old source we are using allow_unaligned_data_access()which happens to be in libhppa when I try to link the library I get an error "ld: Mismatched ABI (not an ELF file) for -lhppa the library is a "s800 shared library -not stripped" which I need to link with one of our object files of type "ELF-64 relocatable object file - PA-RISC 2.0 (LP64)"

any help is much appreciated ...
3 REPLIES 3
Dennis Handly
Acclaimed Contributor

Re: HPUX 11iv2 porting, linking library hppa

This is enhancement CR JAGaf99789, fixed in these patches:
PHSS_35287 11.11
PHSS_35288 11.23
whiteknight
Honored Contributor

Re: HPUX 11iv2 porting, linking library hppa

Hi Sujay,

Here you go :-
Defect Description:
PHSS_35288:
JAGaf99789 : Need 64 bit version of libhppa for
allow_unaligned_data_access

Enhancement:
No

Patch Files:

ProgSupport.PROG-AX-64ALIB,fr=B.11.23,fa=HP-UX_B.11.23_PA,
v=HP:
/usr/lib/pa20_64/libhppa.a
/usr/lib/pa20_64/libhppa.sl

what(1) Output:

ProgSupport.PROG-AX-64ALIB,fr=B.11.23,fa=HP-UX_B.11.23_PA,
v=HP:
/usr/lib/pa20_64/libhppa.a:
LibHPPA Version UX.11.00 - August, 2006
/usr/lib/pa20_64/libhppa.sl:
LibHPPA Version UX.11.00 - August, 2006


WK
Problem never ends, you must know how to fix it
sujay.shinde
New Member

Re: HPUX 11iv2 porting, linking library hppa

I had to trick the compiler since the fix was available a bit late but I can go back and fix this issue correctly now ...