RMS Batch Library Compilation On Aix Platform Fails With "0654-203 Specify An XCOFF Object Module" Error

(Doc ID 798618.1)

Last updated on AUGUST 09, 2017

Applies to:

Oracle Retail Merchandising System - Version 13.0.1 and later
Information in this document applies to any platform.
Checked for relevance 9-Aug-2017


Symptoms

In Retail Merchandising System (RMS) release 13.0.1, batch library compilation on AIX platform fails with "0654-203 Specify An XCOFF Object Module" Error.

Steps To Reproduce:
1. Change directory to INSTALL_DIR/oracle/lib/src.
2. Make library dependencies using command.

$ make -f retek.mk depend 2>&1 | tee libdpnd.log

3. Make batch libraries using command: 

$ make -f retek.mk retek rms resa 2>&1 | tee libretek.log

4. Notice the error in libretek.log.

Error message reported in the log: 

make -f rmslib_rdbms.mk extproc_rmslib SHARED_LIBNAME=`basename libdealord.a` OBJS="`echo
plsqldealordlib.o dealordlib.o | xargs -n1 basename | tr '\012' ' '`" GENCLNTSH=: GENCLNTSH64=:
generate_export_list() { /bin/nm -X32_64 -B -h -g "$1" | grep -v ' U ' | awk '{print $3}' |
egrep -v '^\.|^TOC' | sort | uniq ; }; generate_import_list() { LIB_NAME=$1; IMP_FILE=$2;
cat /u00/home/oracle/product/db102/rdbms/lib/xa.imp | head -1 | awk '{print $0, "." }' >
${IMP_FILE}; /bin/nm -X32_64 -C -B -h -g ${LIB_NAME} | grep ' U ' | grep -v "::" | grep -v "(" |
grep -v "\.cc" | awk '{print $3}' | sed -e "s/\.//g" | grep -v "^_" >> ${IMP_FILE}; };
generate_import_list plsqldealordlib.o dealordlib.o libdealord.a.imp; generate_export_list
plsqldealordlib.o dealordlib.o > libdealord.a.exp; /bin/ld -b64 -bnoentry -bM:SRE
-bE:libdealord.a.exp -bI:libdealord.a.imp -o libdealord.a plsqldealordlib.o dealordlib.o
-L/u00/home/oracle/product/db102/lib -lc_r -lm
nm: plsqldealordlib.o: 0654-203 Specify an XCOFF object module.
make: 1254-004 The error code from the last command is 1.

Changes

 

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