PRO*C Demos With 32 Bit Is Failing With MAKE TARGET wrong ELF class: ELFCLASS64 ON SOLARIS X86-64 (Doc ID 975160.1)

Last updated on JULY 05, 2017

Applies to:

Precompilers - Version 10.2.0.1 to 10.2.0.2 [Release 10.2]
Oracle Solaris on x86-64 (64-bit)
Checked for relevance on 04-Mar-2013


Symptoms

Trying to build 32bit Pro*C executable demo
$ORACLE_HOME/precomp/demo/proc/sample1 on Solaris x86-64 gives below error during link stage.

ld: fatal: file sample1.o: wrong ELF class: ELFCLASS64



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