www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/11/14/16:02:05

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" <eliz AT is DOT elta DOT co DOT il>

> 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 -


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