My Oracle Support Banner

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

Last updated on JULY 16, 2019

Applies to:

Precompilers - Version: to
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/ 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

Platforms: 1-914CU;

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.

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