944,073 Members | Top Members by Rank

Ad:
  • C Discussion Thread
  • Unsolved
  • Views: 1719
  • C RSS
Oct 10th, 2007
0

header files missing

Expand Post »
I have several .CPP and .H fles which i want to compile together. These files are used for PLC and Oracle database communication. when i try to compile these files it says following header files are missing ..
<occi.h>
<sys/msg.h>
<sys/time.h>
<sys/stat.h>
<signal.h>
How can I recover these files & how can I include them with all others file to compile them all together.
Please help.

Prashant
Similar Threads
Reputation Points: 8
Solved Threads: 0
Light Poster
pdwivedi is offline Offline
37 posts
since Oct 2007
Oct 10th, 2007
0

Re: header files missing

Well which OS/Compiler are you trying to compile this on?

The last 4 header files all belong to Unix/Linux and other POSIX systems. As for occi.h, I've no idea.
Team Colleague
Reputation Points: 5862
Solved Threads: 950
Posting Sage
Salem is offline Offline
7,164 posts
since Dec 2005
Oct 10th, 2007
0

Re: header files missing

Click to Expand / Collapse  Quote originally posted by Salem ...
Well which OS/Compiler are you trying to compile this on?

The last 4 header files all belong to Unix/Linux and other POSIX systems. As for occi.h, I've no idea.

I am using turbo c++ compiler and i have also tried it on Visual c++. if u can suggest any other compiler please suggest
Reputation Points: 8
Solved Threads: 0
Light Poster
pdwivedi is offline Offline
37 posts
since Oct 2007
Oct 10th, 2007
0

Re: header files missing

you can not use signal.h and msg.h at all -- not supported by any MS-Windows compiler I know of. Then remove the sys/ from the others. occi.h have no clue. What you have left is this:
  1. <time.h>
  2. <stat.h>
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Ancient Dragon is offline Offline
21,957 posts
since Aug 2005
Oct 11th, 2007
0

Re: header files missing

you can not use signal.h and msg.h at all -- not supported by any MS-Windows compiler I know of. Then remove the sys/ from the others. occi.h have no clue. What you have left is this:
  1. <time.h>
  2. <stat.h>
If it is not possible for windows compiler then suggest me any linux compiler...I do have Kdevelop on linux but i do not know how to use it.....if u can suggest any other compiler or any other way of compiling it I will be very helpful for me to carry on with my project. Thanks in Advance..

Prashant
Reputation Points: 8
Solved Threads: 0
Light Poster
pdwivedi is offline Offline
37 posts
since Oct 2007
Oct 11th, 2007
0

Re: header files missing

> I have several .CPP and .H fles which i want to compile together
Where did they come from, who wrote them?
If they originally came from a Unix/Linux environment, then there should be a "Makefile" in the top-level directory of the package.

> If it is not possible for windows compiler then suggest me any linux compiler
So where exactly is your Oracle database located? Is it on a networked machine or something?

Back to the software, if there is a makefile (and you have GCC installed), then at the command prompt, do these things
- cd to the top-level directory of the software package
- type 'make' and press return.

This should set the whole build going.
Team Colleague
Reputation Points: 5862
Solved Threads: 950
Posting Sage
Salem is offline Offline
7,164 posts
since Dec 2005
Oct 13th, 2007
0

Re: header files missing

Quote ...
Back to the software, if there is a makefile (and you have GCC installed), then at the command prompt, do these things
- cd to the top-level directory of the software package
- type 'make' and press return.

This should set the whole build going.
If typing make doesn't work, try ./configure first.
Reputation Points: 185
Solved Threads: 28
Posting Whiz in Training
dwks is offline Offline
269 posts
since Nov 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C Forum Timeline: compiler
Next Thread in C Forum Timeline: Change and existing make file for debug unable





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC