Mail Archives: djgpp/1999/07/12/01:31:26
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 -