<div class="gmail_quote">On Sat, Oct 20, 2012 at 12:16 PM, Paul Harrison <span dir="ltr"><<a href="mailto:mythtv@sky.com" target="_blank">mythtv@sky.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><div><div class="h5">
<div>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. </div></div></div>
<br>
Wonder if we just need to add an include for unistd.h? Try adding
#include <unistd.h> to the top of zmserver.cpp.<br></div></blockquote><div><br></div><div>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.</div>
</div>