"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 10.2.0.3 to 11.2.0.3 [Release 10.2 to 11.2]
HP-UX PA-RISC (64-bit)
Checked for relevance on 27-Feb-2012.


Symptoms

After upgrading the Oracle Server from 8i to 10g 10.2.0.3.0, 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

Changes

Upgraded the Oracle Server from 8i to 10g 10.2.0.3.0.

Cause

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