Mail Archives: djgpp/1999/11/23/01:36:37
"Robert S. Peterson" wrote:
>
> I've been struggling to compile a SystemRPL developer for a HP48 called.
> 'rpp.exe'. The program compiles cleanly on my Linux OS (Slackware), but for
> obsure reasons I would like to compile under djgpp. Here's the output:
>
> [...]
>
> input.c:171: warning: implicit declaration of function `mmap'
>
> [...]
>
> lcomp.c:464: warning: implicit declaration of function `munmap'
>
> I seem to be missing library functions, and being a gcc beginner I need some
> guidance. Here's hoping someone can offer a hand up. Thanks much.
No, you are missing a system call. mmap(2) is a POSIX system call. It
is available on Linux and UNIX systems but is missing in DOS.
Is the program known to work on DOS? If not, you might have to port it
(replace the mmap/munmap calls with similar DOS calls).
--
Weiqi Gao
weiqigao AT a DOT crl DOT com
- Raw text -