"champagne" <xp*****@purdue.edu> wrote in message
news:bl********@ector.cs.purdue.edu...
Hello guys,
I am not very familiar with the compilation of C. Now I met a problem
while I tried to compile a file downloaded from web.
This kind of thing almost always happens when one
tries to use something one does not understand. :-)
The error message is
Myfile.h:41:28: sys/fcntlcom.h: No such file or directory
I don't know where the fcntlcom.h file located?
Nor does your compiler. You're much smarter than a compiler.
Go back to the web site where you got that code, and do some
research. That file is not a standard C header, so it could
be anything. You need to find out from the code's author
what it is, what it's for, and where to get it.
Could you give me a hint
about how to handle this problem?
See above. And more important, I strongly advise you to
actually *learn* the language, how it works, and how to
compile a program. Otherwise, you'll only be continually
frustrated and confused.
-Mike