Message-ID: <3B5EA695.376399DC@netscape.net> From: ANW Organization: NoneSuch X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: Re: Compile errors: getopt.h: no such file or dir (ENOENT), etc. References: <3B5E9536 DOT 30F533BB AT netscape DOT net> <996055219 DOT 488837 AT queeg DOT ludd DOT luth DOT se> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 29 Date: Wed, 25 Jul 2001 11:03:24 GMT NNTP-Posting-Host: 24.71.165.135 X-Complaints-To: abuse AT home DOT net X-Trace: news1.sshe1.sk.home.com 996059004 24.71.165.135 (Wed, 25 Jul 2001 04:03:24 PDT) NNTP-Posting-Date: Wed, 25 Jul 2001 04:03:24 PDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Thanks for your reply, Martin. > : ne2k-pci-diag.c:49: getopt.h: No such file or directory (ENOENT) > : ne2k-pci-diag.c:56: sys/io.h: No such file or directory (ENOENT) > : J:\junk> > > DJGPP doesn't have those header files. DJGPP do have getopt() so > perhaps you can get away with #including unistd.h as per "info libc a > getopt". In my installation of DJGPP, I DO have getopt.h and getopt.c residing in a directory called "g:\djgpp\gnu\filutil4.0\lib", and getopt.h also appears in the directory called "g:\djgpp\rsxntdj\include". It seems to me that my djgpp is not looking at those two directories. > But sys/io.h I don't know what do do with. You could try to comment it > out, but I doubt that'll work. But I also see that the file io.h appears in the following three directories: g:\djgpp\include g:\djgpp\rsxntdj\include g:\djgpp\rsxntdj\include\emx Are these of no help to my compilation? ANW