Mail Archives: djgpp/1997/07/27/23:03:30
In article <33D598D7 DOT 1CC2 AT pe DOT net>, Gordon Talge <gtalge AT pe DOT net>
scribbled :
>Brenton R Bailey wrote:
>>
>> I am trying to compile a program written in c. And I am having
>> trouble compiling it with DJGPP's gcc.exe. I named the file ssping.c and
>> I do this.
>> C:\DJGPP\bin>gcc ssping.c -o jolt.exe
>> ssping.c:24: stdio.h: No such file or directory (ENOENT)
>> ssping.c:25: sys/types.h: No such file or directory (ENOENT)
>> ssping.c:26: sys/socket.h: No such file or directory (ENOENT)
>> ssping.c:27: netdb.h: No such file or directory (ENOENT)
>> ssping.c:28: netinet/in.h: No such file or directory (ENOENT)
>> ssping.c:29: netinet/in_systm.h: No such file or directory (ENOENT)
>> ssping.c:30: netinet/ip.h: No such file or directory (ENOENT)
>> ssping.c:32: string.h: No such file or directory (ENOENT)
>> ssping.c:33: arpa/inet.h: No such file or directory (ENOENT)
>>
>
>What works for me is: gcc -o jolt.exe ssping.c
>
>It looks like the compiler is searching for your includes
>and can't find them in your path.
>
>Make sure gcc know where to look for the files it needs.
Yeah, which in this case is a socketed TCPIP implementation, which DJGPP
does not have. Look at wattcp, and don't try to compile nasty
applications.
JOLT is something that sends out fragmented packets, and can crash a
Win95/NT/MacOS machine remotely.
BTW, I have examined my source code for it, and it NEEDS and REQUIRES
the Linux kernel. So you will *not* compile JOLT under DJGPP!
--
Revised anti-spam in use : remove X to reply -
'Xnetbook' becomes 'netbook'
Anti-spam thermonuclear warheads cheap at only $300!
- Raw text -