Mail Archives: djgpp/1999/11/23/05:43:48
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 -