a compilation problem

C

champagne

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. 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? Could you give me a hint
about how to handle this problem?

BTW, I am compiling it under SunOS5.8, gcc3.3. Thanks a lot.


Xiaopeng
 
J

Joona I Palaste

champagne said:
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. 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? Could you give me a hint
about how to handle this problem?
BTW, I am compiling it under SunOS5.8, gcc3.3. Thanks a lot.

sys/fcntlcom.h is a non-standard header file, so your implementation is
not required to *HAVE* it in the first place. Even if it has it, where
it is located is implementation-dependent. Ask in comp-unix.programmer
or a Sun newsgroup.

--
/-- Joona Palaste ([email protected]) ---------------------------\
| Kingpriest of "The Flying Lemon Tree" G++ FR FW+ M- #108 D+ ADA N+++|
| http://www.helsinki.fi/~palaste W++ B OP+ |
\----------------------------------------- Finland rules! ------------/
"Normal is what everyone else is, and you're not."
- Dr. Tolian Soran
 
D

Derk Gwen

# 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. 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? Could you give me a hint
# about how to handle this problem?

It would be with rest of the installed include files, usually /usr/include,
/usr/include/sys specifically. However that file might not exist on your
system. Check the porting notes, if any, and make sure you're compiling
appropriately for your system. Much so-called portable software is not.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,082
Messages
2,570,589
Members
47,211
Latest member
Shamestone

Latest Threads

Top