"ld: Mismatched ABI (not an ELF file) For {file_name}.o"

(Doc ID 432770.1)

Last updated on JULY 05, 2017

Applies to:

Precompilers - Version to [Release 10.2 to 11.2]
HP-UX PA-RISC (64-bit)
Checked for relevance on 27-Feb-2012.


After upgrading the Oracle Server from 8i to 10g, sample programs compiles successfully but user written codes fails with "ld: Mismatched ABI (not an ELF file) for <file_name>.o"

>make -f demo_proc.mk build EXE=test OBJS="test.o"

ld: Mismatched ABI (not an ELF file) for test.o
Fatal error.
*** Error exit code 1


Upgraded the Oracle Server from 8i to 10g


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms