Home » Infrastructure » Linux » ProC compilation (LINUX REDHAT VERSION 5, Oracle version
icon1.gif  ProC compilation [message #503082] Tue, 12 April 2011 13:43 Go to next message
Messages: 1
Registered: April 2011
Junior Member
the scenario is some thing like this
i have three headers in the directories as follows:


and i have a ProC code that includes abc.h
but abc.h includes rst.h
and rst.h include xyz.h as below:

so when compile the proC code as below:

proc sys_include=/usr/include proc_code.pc

it shows me errors as below:

# include <rst.h>
PCC-S-02015, unable to open include file

okay, so i try the following (including the path /usr/include/linux)

proc sys_include=/usr/include include=/usr/include/linux proc_code.pc

now it finds rst.h but gives the above error

# include <linux/xyz.h>
PCC-S-02015, unable to open include file

i have the PATH variable set as below:
export PATH=/usr/include:/usr/include/linux

Could anyone tell me what might be the problem?
Re: ProC compilation [message #503087 is a reply to message #503082] Tue, 12 April 2011 14:38 Go to previous message
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
>PCC-S-02015, unable to open include file
does file exist?
does Pro-C know where to locate file?
does Pro-C have permission to open it?

I suspect that the answer to 1 of the 3 questions is NO!
Previous Topic: What is raw device, raw file?
Next Topic: SQL Plus no access
Goto Forum:

Current Time: Tue May 28 03:15:15 CDT 2024