Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Socket Programming include files...

Status
Not open for further replies.

jaredgalen

Programmer
May 28, 2003
34
LT
I'm tryin to compile some c code that uses socket and that kind of thing but I'm missing a pile of include files.
I'm using the Borland C++ 5.5.1 for Win32 command line compiler.
where can I get these files, I've been looking but can't seem to find them.

Error E2209 icmptime.c 10: Unable to open include file 'sys/param.h'
Error E2209 icmptime.c 11: Unable to open include file 'sys/socket.h'
Error E2209 icmptime.c 12: Unable to open include file 'sys/file.h'
Error E2209 icmptime.c 13: Unable to open include file 'sys/time.h'
Error E2209 icmptime.c 14: Unable to open include file 'sys/signal.h'
Error E2209 icmptime.c 16: Unable to open include file 'netinet/in_systm.h'
Error E2209 icmptime.c 17: Unable to open include file 'netinet/in.h'
Error E2209 icmptime.c 18: Unable to open include file 'netinet/ip.h'
Error E2209 icmptime.c 19: Unable to open include file 'netinet/ip_icmp.h'
Error E2209 icmptime.c 20: Unable to open include file 'netinet/ip_var.h'
Error E2209 icmptime.c 21: Unable to open include file 'netdb.h'
Error E2209 icmptime.c 22: Unable to open include file 'unistd.h'
 
>danielhozac [LOL]

for example your compiler is installed in directory c:\bcc32,
pass parameter Ixxxxdierctory to bcc32 like

bcc32 -Ic:\bcc32\include

so, you compiller will know where to find header files.

Ion Filipski
1c.bmp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top