[mythtv-users] Mythzoneminder and mmap

Greg Grotsky spikeygg.mythbox at gmail.com
Sat Oct 20 18:35:49 UTC 2012


On Sat, Oct 20, 2012 at 12:16 PM, Paul Harrison <mythtv at sky.com> wrote:

>  OK I think the problem is you are using mmap in ZM and for some reason
> mythzmserver has been compiled without mmap support. The mmap support is
> conditionally compiled based on the value _POSIX_MAPPED_FILES which
> according to the mmap man page should be defined in unistd.h on my system
> it is actually defined in /usr/include/bits/posix_opt.h.
>
> Wonder if we just need to add an include for unistd.h? Try adding #include
> <unistd.h> to the top of zmserver.cpp.
>

That's weird, I just updated to git head and tried it with the include
statement in zmserver.cpp and it didn't appear to help. Should I try to
print the POSIX value you mentioned, somehow? I'm don't know much about cpp
so if you could give me the actual code, I can try it out.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20121020/67c9bd09/attachment.html>


More information about the mythtv-users mailing list