Undefined symbol _mmap referenced from text segment ?!?!

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
Date: Sunday, March 8, 1992 - 7:17 pm

I installed the mmap patch (from zorst, obz@sisd.kodak.com). Compiling and
running the kernel goes smoothly, but as soon as I try to compile a program
which uses the mmap system call I get the following error message (I use
gcc-1.40):

ega_init.o: Undefined symbol _mmap referenced from text segment
ega_init.o: Undefined symbol _munmap referenced from text segment

I'm pretty sure I'm overlooking something obvious here. I checked my
include files (in /usr/include and in /usr/src/linux/include). I *have*
the declarations for mmap and munmap in <sys/mman.h> and have the #include
in the c-file. So, what does this mean?

BTW. I added a "#define MAP_FIXED 3" to mman.h because I couldn't find
     a define for it.


Ben Lippolt
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Undefined symbol _mmap referenced from text segment ?!?!, Ben Lippolt, (Sun Mar 8, 7:17 pm)