delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/11/23/05:43:48

Date: Tue, 23 Nov 1999 09:31:01 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: "Robert S. Peterson" <rpeterson AT kiwi DOT dep DOT anl DOT gov>
cc: djgpp AT delorie DOT com
Subject: Re: Errors compiling 'rpp.exe'
In-Reply-To: <04333971827781@kiwi.dep.anl.gov>
Message-ID: <Pine.SUN.3.91.991123093044.13225L-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Mon, 22 Nov 1999, Robert S. Peterson wrote:

> C:\RPP\SRC>make
> gcc -static -Ic:/rpp/src  -Ic:/djgpp/include/asm  -s -DNDEBUG -O2 -Wall -c
> rplcomp.c -o rplcomp.o
> rplcomp.c: In function `rplcomp':
> rplcomp.c:458: warning: implicit declaration of function `mmap'
> rplcomp.c:458: `MAP_PRIVATE' undeclared (first use this function)
> rplcomp.c:458: (Each undeclared identifier is reported only once
> rplcomp.c:458: for each function it appears in.)
> rplcomp.c:458: warning: assignment makes pointer from integer without a cast
> rplcomp.c:464: warning: implicit declaration of function `munmap'
> rplcomp.c:253: warning: `len' might be used uninitialized in this function
> make.exe: *** [rplcomp.o] Error 1

DJGPP doesn't provide the functions `mmap' and `munmap'.  These
functions require functionality that is only supported by DPMI v1.0
spec, and most DPMI servers out there only support v0.9 functionality.

You will have to find a way to compile this program without these
functions.  If the package has some #define that can be used in
environments which don't support `mmap' (not all Unix systems do),
then simply add the appropriate -Dfoo option to the compilation
command line.

- Raw text -


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