Linux mmap() Problem

Dave Monroe dmonroe at
Tue Nov 25 12:18:47 GMT 1997

I'm new to the list so this may be old business.  I suspect it is.

I got the samba (1.9.17p4) sources and compiled everything on Linux
kernal version 1.2.13 from Yggdrasil.

The compile went fine, but the smbd got a runtime error from the
mmap call in shmem.c.  Closer examination revealed the mmap() function
appears not to work at all on this system.

I got around the problem by allocating a shared memory segment and
mapping the SHARE_MEM_FILE into it, but I'm sure this isn't what
the authors had in mind.

Anybody know what I'm doing wrong?


David S. Monroe                          David.Monroe at
Software Engineer
Control Data Systems
2970 Presidential Drive, Suite 200
Fairborn, Ohio 45324
(937) 427-6385

More information about the samba mailing list