| | |
header files missing
Please support our C advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Oct 2007
Posts: 29
Reputation:
Solved Threads: 0
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
<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
•
•
Join Date: Oct 2007
Posts: 29
Reputation:
Solved Threads: 0
•
•
•
•
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
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:
C Syntax (Toggle Plain Text)
<time.h> <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.
•
•
Join Date: Oct 2007
Posts: 29
Reputation:
Solved Threads: 0
•
•
•
•
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:
C Syntax (Toggle Plain Text)
<time.h> <stat.h>
Prashant
> 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.
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.
•
•
•
•
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.
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
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
![]() |
Similar Threads
- Header files, C++ vs C compiler question (C++)
- Working with header files ??? (C)
- IE 7 files are missing or corrupted... (Web Browsers)
- Header files (C++)
- segmentation fault... boooo!!!! (C++)
- c vs h header files... (C)
- Files missing from Internet Explorer (Web Browsers)
Other Threads in the C Forum
- Previous Thread: compiler
- Next Thread: Change and existing make file for debug unable
Views: 1325 | Replies: 6
| Thread Tools | Search this Thread |
Tag cloud for C
#include * append array arrays bash binarysearch changingto char character cm command copyimagefile creafecopyofanytypeoffileinc createprocess() database directory dynamic execv feet fgets file floatingpointvalidation fork forloop framework function functions getlogicaldrivestrin givemetehcodez global grade graphics gtkwinlinux hacking histogram homework ide include incrementoperators input intmain() iso kernel keyboard kilometer lazy license linked linkedlist linux list lists looping loopinsideloop. lowest matrix meter microsoft mqqueue mysql oddnumber odf openwebfoundation overwrite pause pdf pointer pointers posix process program programming radix recursion recv recvblocked research reversing scripting segmentationfault sequential single socket socketprogramming spoonfeeding standard strchr string student system testing threads turboc unix urboc user variable whythiscodecausesegmentationfault windowsapi






