Compiling Pro*C Programs Generate "cannot open as COFF file" Error
Last updated on DECEMBER 06, 2010
Applies to:Precompilers - Version: 10.2.0.1.0 to 10.2.0.4.0
IBM AIX on POWER Systems (64-bit)
Checked for relevance on 06-Dec-2010
IBM AIX Based Systems (64-bit)
Specific to AIX machines.
While compiling the Pro*C programs on a AIX machine you may sometimes come across errors as shown below:
warning: non-local variable '<anonymous struct> userid' uses anonymous type
/oracle/product/10.2.0.3/db_1/lib/libirc.a: cannot open as COFF file
And when you try to build the application with OBJECT_MODE=64 then you may get assembler errors like:
/tmp/ccMUsFzo.s: line 553: 1252-191 Only .llong should be used for relocatable expressions.
/tmp/ccMUsFzo.s: line 1390: 1252-191 Only .llong should be used for relocatable expressions.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms