Mail Archives: djgpp/1999/11/22/23:34:36
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
- Raw text -