08-22-2011 07:22 PM
We are currenlty migrating from HP-UX RISC to HP-UX Itanium B.11.31. I'm trying to compile my C++ code in HP-UX Itanium B.11.31. I'm getting the below error,
ld: Mismatched Data ABI. Expected None but found EF_IA_64_ABI64 in file /opt/app/q1app1d2/oracle/product/126.96.36.199/lib/libc
I'm using aCC compiler. Can you help me to fix this issue ?
08-22-2011 10:42 PM - edited 08-22-2011 10:44 PM
This indicates that you have one PA object, archive on your link line. Do a clean of these bogus objects and rebuild.
If you use "file object-file" it should show something like:
foo.o: ELF-32 relocatable object file - IA64
foo.o: ELF-64 relocatable object file - IA64
>I'm using aCC compiler.
What version? The latest is A.06.26.