header files missing

Please support our C advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Oct 2007
Posts: 29
Reputation: pdwivedi is an unknown quantity at this point 
Solved Threads: 0
pdwivedi pdwivedi is offline Offline
Light Poster

header files missing

 
0
  #1
Oct 10th, 2007
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
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,850
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 751
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: header files missing

 
0
  #2
Oct 10th, 2007
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.
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 29
Reputation: pdwivedi is an unknown quantity at this point 
Solved Threads: 0
pdwivedi pdwivedi is offline Offline
Light Poster

Re: header files missing

 
0
  #3
Oct 10th, 2007
Originally Posted by Salem View Post
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
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,662
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1501
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: header files missing

 
0
  #4
Oct 10th, 2007
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>
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 29
Reputation: pdwivedi is an unknown quantity at this point 
Solved Threads: 0
pdwivedi pdwivedi is offline Offline
Light Poster

Re: header files missing

 
0
  #5
Oct 11th, 2007
Originally Posted by Ancient Dragon View Post
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
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,850
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 751
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: header files missing

 
0
  #6
Oct 11th, 2007
> 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.
Reply With Quote Quick reply to this message  
Join Date: Nov 2005
Posts: 251
Reputation: dwks has a spectacular aura about dwks has a spectacular aura about 
Solved Threads: 25
dwks's Avatar
dwks dwks is offline Offline
Posting Whiz in Training

Re: header files missing

 
0
  #7
Oct 13th, 2007
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.
dwk

Seek and ye shall find.

"Only those who will risk going too far can possibly find out how far one can go."
-- TS Eliot.

"I have not failed. I've just found 10,000 ways that won't work."
-- Thomas Alva Edison

"The only real mistake is the one from which we learn nothing."
-- John Powell
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 1325 | Replies: 6
Thread Tools Search this Thread



Tag cloud for C
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC