Date: Thu, 11 Feb 1999 10:17:34 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Luke Ward cc: djgpp AT delorie DOT com Subject: Re: program compile problem In-Reply-To: <19990211012239.25650.rocketmail@send101.yahoomail.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Wed, 10 Feb 1999, Luke Ward wrote: > Now here is the problem, when i type gcc myfile.c -o myfile.exe > where myfile is the name of my file, it tells me this: > > myfile.c:9:utmp.h:no such file or directory(ENOENT) > myfile.c:12:lastlog.h:no such file or directory(ENOENT) Your DJGPP setup appears to be correct. These are real problems with the program you are trying to compile. The program relies on header files which are present on some Unix systems. DJGPP doesn't have those headers because it doesn't support the underlying functionality. I don't know whether the program will be of any use without the functionality declared in those two headers. You can try to ifdef away these two headers (and any code that uses functions from these two headers), like this: #ifndef __DJGPP__ #include #include #endif