<div class="gmail_quote">On Sat, Oct 20, 2012 at 1:10 PM, Paul Harrison <span dir="ltr"><<a href="mailto:mythtv@sky.com" target="_blank">mythtv@sky.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Something like this added somewhere in ZMServer::ZMServer(int sock,
bool debug)<br>
<br>
#ifdef _POSIX_MAPPED_FILES<br>
cout << "_POSIX_MAPPED_FILES is defined and set to "
<< _POSIX_MAPPED_FILES << "\n";<br>
#else<br>
cout << "_POSIX_MAPPED_FILES is NOT defined \n";</div></blockquote><div><br></div><div>Thanks Paul! I added an #endif and it compiled. I ran it and I see this in the mythzmserver.log </div><div><br>
</div><div><div>loading zm config from /etc/zm.conf</div><div>ZM is version '1.25.0'</div><div>Listening on port: 6548</div><div>_POSIX_MAPPED_FILES is defined and set to 200809</div><div>Failed to shmget for monitor: 2</div>
</div><div><br></div><div>So the zm server sees that I have memory mapped files but still tries to use shared memory, right?</div></div>