X-Sender: rpeterson AT kiwi DOT dep DOT anl DOT gov (Unverified) X-Mailer: Windows Eudora Light Version 1.5.2 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: djgpp AT delorie DOT com From: "Robert S. Peterson" Subject: Re: Errors compiling 'rpp.exe' Date: Mon, 22 Nov 1999 22:33:39 -0600 X-Info: ENC Mail Server run by Argonne National Laboratory Message-Id: <04333971827781@kiwi.dep.anl.gov> Reply-To: djgpp AT delorie DOT com 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: 1st problem: C:\RPP\SRC>make gcc -static -Ic:/rpp/src -Ic:/djgpp/include/asm -s -DNDEBUG -O2 -Wall -c input.c -o input.o input.c: In function `include': input.c:171: warning: implicit declaration of function `mmap' input.c:171: `MAP_PRIVATE' undeclared (first use this function) input.c:171: (Each undeclared identifier is reported only once input.c:171: for each function it appears in.) input.c:171: warning: assignment makes pointer from integer without a cast make.exe: *** [input.o] Error 1 2nd problem: 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 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. Go Well - Bob Peterson Hard: 486/133, 32 Mb . Robert S. Peterson Great Lakes Compass 31 N Alfred, Elgin IL 60123 USA 847/697-6491 Compass Adjusting & Repair for Lake Michigan Navigators Since 1985 Navigation classes at the Adler Planetarium e-mail: rpeterson AT kiwi DOT dep DOT anl DOT gov