Date: Tue, 23 Nov 1999 09:31:01 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: "Robert S. Peterson" cc: djgpp AT delorie DOT com Subject: Re: Errors compiling 'rpp.exe' In-Reply-To: <04333971827781@kiwi.dep.anl.gov> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk 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.