Operating System - HP-UX
1752565 Members
5441 Online
108788 Solutions
New Discussion юеВ

ld: Mismatched ABI (not an ELF file) for -latoLiterals

 
Mangesh T
Occasional Contributor

ld: Mismatched ABI (not an ELF file) for -latoLiterals

I am compiling drivers for the migrtion of migrating HP UX .11.11 to HP UX Itanium 11.23 using /opt/aCC/bin/aCC.

While linking the library libatoLiterals.a to the binary it is giving following error.

ld: Mismatched ABI (not an ELF file) for -latoLiterals, found /opt/siadev/sxbenja/Drivers/TestDriver/lib/libatoLiterals.a


We don't have source code for to recompile this library on 11.23

Please let me know if any compiler option is missing while linking the library
2 REPLIES 2
Mangesh T
Occasional Contributor

Re: ld: Mismatched ABI (not an ELF file) for -latoLiterals

The library for which linking error is generated is of type PA-RISC1.1

file /opt/siadev/sxbenja/Drivers/TestDriver/lib/libatoLiterals.a
/opt/siadev/sxbenja/Drivers/TestDriver/lib/libatoLiterals.a: archive file -PA-RISC1.1 relocatable library


Tried with to compile with DD32 and DD64 but no luck.

Dennis Handly
Acclaimed Contributor

Re: ld: Mismatched ABI (not an ELF file) for -latoLiterals

>We don't have source code for to recompile this library on 11.23
>The library for which linking error is generated is of type PA-RISC1.1

Then you are out of luck and you can't recompile the application. You can't mix PA and Integrity objects.