cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/08/06:15:22

From: Andy Eskilsson <andy DOT eskilsson AT telelogic DOT se>
Newsgroups: comp.os.msdos.djgpp
Subject: Missing: caddr_t when compiling dflat
Date: 08 Feb 1998 12:09:55 +0100
Organization: Telelogic AB, Sweden
Lines: 21
Sender: aes AT twilight
Message-ID: <ksbtwiqrng.fsf@telelogic.se>
Reply-To: andy DOT eskilsson AT telelogic DOT se
NNTP-Posting-Host: twilight.telelogic.se
Mime-Version: 1.0 (generated by tm-edit 7.106)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I am trying to compile the dflat library ported to djgpp 1.x, and has
got stuck on a missing declaration of some kind.

It includes some malloc.c from Caltech 1982 (hmm do I really need
that??) and there it tries to cast something through caddr_t, but this
is undeclared..

Example:
    *(u_short *)((caddr_t)(op + 1) + op->ov_size) = RMAGIC;

The malloc.c can be found at:
	http://www.fukt.hk-r.se/~flognat/malloc.c

Well now comes the question, what would be apropriate to replace it
with??

Hmm looking through the archives I found a notice saying that djgpp
doesn't support functions that uses it?? Hmm what is caddr_t, and what
should I do?? (Or rather whats the general adoption??)

	/Andy

- Raw text -


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