From: Weiqi Gao Newsgroups: comp.os.msdos.djgpp Subject: Re: Errors compiling 'rpp.exe' Date: Tue, 23 Nov 1999 00:03:01 -0600 Organization: CRL Network Services Lines: 26 Message-ID: <383A2E15.CD78AA00@a.crl.com> References: <04333971827781 AT kiwi DOT dep DOT anl DOT gov> NNTP-Posting-Host: a116024.stl1.as.crl.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.5-15 i586) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "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