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

/usr/include/abc.h
/usr/include/linux/rst.h
/usr/include/linux/xyz.h

and i have a ProC code that includes abc.h
but abc.h includes rst.h
and rst.h include xyz.h as below:
#include<linux/xyz.h>

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>
..........1
PCC-S-02015, unable to open include file

Sad
-----------------
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>
..........1
PCC-S-02015, unable to open include file

Mad
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
BlackSwan
Messages: 26709
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: Thu Jun 04 00:46:34 CDT 2020