delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/12/01:31:26

Date: Mon, 12 Jul 1999 08:29:09 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Karl Eberts <ag108 AT seorf DOT Ohiou DOT Edu>
cc: djgpp AT delorie DOT com
Subject: Re: djgpp
In-Reply-To: <199907120348.XAA13274@big.seorf.ohiou.edu>
Message-ID: <Pine.SUN.3.91.990712082850.13931G-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Sun, 11 Jul 1999, Karl Eberts wrote:

> this is my FIRST program on djgpp) and whenever I try to compile it;
> typing "gcc -o hello.exe hello.c" I get an error message that says
> "hello.c:3: sdio.h: No such file or directory (ENOENT)" What does this
> mean and how do I fix it? --  AIH

This means the compiler had some problem on line 3 of the file
hello.c.  You need to look at that line and try to figure out what's
wrong.

I'm guessing that line 3 is an #include directive, in which case the
compiler doesn't find the header file that you are trying to include.

Is "sdio.h" the correct spelling, or you just made a typo when copying
the error message?  If line 3 indeed says "#include <sdio.h>", then
you should change the name of the header to "stdio.h".

If your source already says "stdio.h", then I suggest to read section
8.1 of the DJGPP FAQ list (v2/faq211b.zip from the same place you get
DJGPP) which describes various reasons for the compiler to fail to
find header files.

- Raw text -


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