Mail Archives: djgpp/1999/02/19/10:33:19
JUTON.AGIER writes:
> When I try to compile allegro library, make resend :
>
> allegro.h: In function ftofix :
> In file included from src/internal.h:24,
> from src/allegro.c:34:
> allegro.h:2386: `errno' undeclared (first use in this function)
I don't understand how that error can happen unless there is something
really badly corrupted about your djgpp installation. The errno
variable is declared in the system header <errno.h>, which is included
by allegro.h at line 59. Do you have this include in your version of it?
If so, have a look at your djgpp errno.h file (in the djgpp/include dir),
because I think this must have been damaged in some way. My version of
it declares "extern int errno;" at line 15.
Shawn Hargreaves.
- Raw text -