To: TAUPIN AT rsovax DOT lps DOT u-psud DOT fr Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Date: Mon, 14 Nov 94 17:42:48 +0200 From: "Eli Zaretskii" > 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 #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).