My Oracle Support Banner

Compiling Pro*C Programs Generate "cannot open as COFF file" Error (Doc ID 779447.1)

Last updated on JANUARY 29, 2022

Applies to:

Precompilers - Version to
IBM AIX on POWER Systems (64-bit)

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/ 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.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.