PRO*C / IBM AIX: 'make: 1254-004 The error code from the last command is 127 / oraxlc[172] : /usr/local/bin/xlc: not found' (Doc ID 762718.1)

Last updated on AUGUST 01, 2016

Applies to:

Precompilers - Version 9.2.0.1.0 to 11.1.0.7.0
IBM IA64 AIX
IBM AIX on POWER Systems (64-bit)
IBM AIX on POWER Systems (32-bit)
***Checked for relevance on 2nd Aug 2016***

Symptoms

Trying to build on IBM AIX the Pro*C samples from

$ORACLE_HOME/precom/demo/proc


using shipped makefiles like

make -f demo_proc.mk sample1


gives

xlc   -O3  -q64 -DSS_64BIT_SERVER -qwarn64 -qinfo=uni -DAIXRIOS -qflag=s:s   -I. -I$ORACLE_HOME/precomp/public -I$ORACLE_HOME/rdbms/public -I$ORACLE_HOME/rdbms/demo
 -I$ORACLE_HOME/plsql/public -I$ORACLE_HOME/network/public     -c sample1.c
$ORACLE_HOME/bin/oraxlc[172] : /usr/local/bin/xlc:  not found.
make: 1254-004 The error code from the last command is 127.


even if the PATH variable contains correct values targeting to the C/C++ compilers

Changes

Upgrade/Migration.

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