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 10.2.0.1.0 to 10.2.0.4.0
IBM AIX on POWER Systems (64-bit)
 

IBM AIX Based Systems (64-bit)
Specific to AIX machines.

Symptoms

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:

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


Cause

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
Symptoms
Cause
Solution
References

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