delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/27/23:03:30

From: James MacDonald <trill AT Xnetbook DOT demon DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Error with gcc.exe
Date: Wed, 23 Jul 1997 22:38:43 +0100
Organization: Trills and Technologies
Distribution: world
Message-ID: <stA5vCAjnn1zEwLc@netbook.demon.co.uk>
References: <5qke7g$eta$1 AT news DOT fsu DOT edu> <33D598D7 DOT 1CC2 AT pe DOT net>
NNTP-Posting-Host: netbook.demon.co.uk
MIME-Version: 1.0
Lines: 40
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019