Mail Archives: djgpp/1994/11/14/16:02:05
> msdos.c: In function `shellprog':
> msdos.c:279: storage size of `regs' is not known
> msdos.c: In function `execprog':
> msdos.c:279: storage size of `regs' is not known
> msdos.c:279: storage size of `segreg' is not known
Seems like in this case you are somehow not including the dos.h
header file, where REGS are declared. Try to add it.
> msdos.c:898 `_doserrno' undeclared (first use this function)
AFAIK, DJGPP doesn't have _doserrno. As a first cut, try this:
#include <errno.h>
#define _doserrno errno
and see what happens (_doserrno does not always equal errno, but it's
close; you can refine that later by calling DOS function 59h directly).
- Raw text -