XCOFF32 Object Files Are Not Allowed In 64-bit Mode Error Creating A Tuxedo Server Using Micro Focus Compiler (Doc ID 2203495.1)

Last updated on NOVEMBER 16, 2016

Applies to:

Oracle Tuxedo - Version 12.2.2 and later
IBM AIX on POWER Systems (64-bit)
IBM AIX on POWER Systems (32-bit)

Symptoms

Trying to create a Tuxedo application server written in COBOL, and using IBM CICS Transaction Gateway API, with Tuxedo buildserver command. 

Micro Focus compiler used for COBOL compilation. Getting the following error on the /usr/lib/libcclaix.a IBM CICS Transaction Gateway library:

buildserver -C -v -o /myappblddir/MYPROG -s MYPROG -f /myappblddir/myprog.cob -f /oracle12.0.1client/cobsqlintf.o -f -lcclaix -r Oracle_XA
If you are using cobol-it, please set TM_COBOLIT_VERSION variable
cobcc -I$TUXDIR/include -o /myappblddir/MYPROG BS-14d01da.c /myappblddir/myprog.cob /oracle12.0.1client/cobsqlintf.o -lcclaix -L${TUXDIR}/lib -brtl -qstaticinline -lcobatmis -ltux -lbuft -L${ORACLE_HOME}/lib -lclntsh -lfml -lfml32 -lengine -lpthread
BS-14d01da.c:
/myappblddir/myprog.cob:
ld: 0711-738 ERROR: Input file /usr/lib/libcclaix.a:
XCOFF32 object files are not allowed in 64-bit mode.
CMDTUX_CAT:1832: ERROR: can't execute cobcc -I$TUXDIR/include -o /myappblddir/MYPROG BS-14d01da.c /myappblddir/myprog.cob /oracle12.0.1client/cobsqlintf.o -lcclaix -L${TUXDIR}/lib -brtl -qstaticinline -lcobatmis -ltux -lbuft -L${ORACLE_HOME}/lib -lclntsh -lfml -lfml32 -lengine -lpthread
make: 1254-004 The error code from the last command is 8.

 

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