delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/01/15/12:32:12

From: "Shawn" <malicon AT frii DOT com>
Subject: Re: No such file or directory (ENOENT)
Newsgroups: comp.os.msdos.djgpp
References: <01be4076$44414780$390e5e81 AT unni>
Message-ID: <01be40ae$649ab420$8b8611d8@shawnmain>
X-Newsreader: Microsoft Internet News 4.70.1155
Lines: 59
Date: Fri, 15 Jan 1999 17:25:20 GMT
NNTP-Posting-Host: 216.17.134.139
X-Complaints-To: abuse AT frii DOT net
X-Trace: news.frii.net 916421120 216.17.134.139 (Fri, 15 Jan 1999 10:25:20 MST)
NNTP-Posting-Date: Fri, 15 Jan 1999 10:25:20 MST
Organization: Front Range Internet, Inc. (800-935-6527)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com


> Unni K Pillai <u DOT pillai AT student DOT unsw DOT edu DOT au> wrote in article
<01be4076$44414780$390e5e81 AT unni>...
> When I compile .c file I get message as follows. 
> cal.c:1: stdio.h: No such file or directory (ANENT) 
> cal.c:2: string.h: No such file or directory (ENOENT) 
> With -v switch I get following 
> gcc version 2.7.2.1 
> cpp -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=7 -Dunix -Di386
-DGO32 -DMS 
> DOS -D__unix__ -D__i386__ -D__GO32__ -D__MSDOS__ -D__unix -D__i386
-D__GO32 -D__ 
> MSDOS -Asystem(unix) -Asystem(msdos) -Acpu(i386) -Amachine(i386) cal.c
C:\WINDOW 
> S\TEMP\ccbaaaaa 
> GNU CPP version 2.7.2.1 (80386, BSD syntax) 
> #include "..." search starts here: 
> #include <...> search starts here: 
 > /usr/local/include 
 > /usr/local/go32/include 
 > /usr/local/lib/gcc-lib/go32/2.7.2.1/include 
 > /usr/include 
> End of search list. 
> cal.c:1: stdio.h: No such file or directory (ENOENT) 
> cal.c:2: string.h: No such file or directory (ENOENT) 
------------------------------------------------------------------------ 
> Output of     go32-v2 as follows 
 
> go32/v2 version 2.0 built Aug 12 1996 22:27:23 
> Usage: go32 coff-image [args] 
> Rename this to go32.exe only if you need a go32 that can run v2 binaries
as 
> well as v1 binaries (old makefiles).  Put ahead of the old go32 in your
PATH 
> but do not delete your old go32 - leave it in the PATH after this one. 
> Set GO32_V2_DEBUG=y in the environment to get verbose output. 
> DPMI memory available: 24499 Kb 
> DPMI swap space available: 5341 Kb 
 
> What could be the problem. I have already spend one day solving a problem
with Loader error which was due to 
> DJGPP path not coming in the front in path declaration in AUTOEXEC.BAT. I
use MSDOS box in WIN 95. 
> Could someone help me out. 
 
> Regards 
> Unni Pillai 

It looks like you don't have one of your environment variables set up
right, or you don't have long file names enabled.  From the description you
gave, that is one of the possibilities, the other is the files don't exist
but the first is more likely.  I would suggest going back through the
instructions and FAQ, there should be something in them that would help.



----------

- Raw text -


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