sys/mman.h missing MCL_CURRENT ...
Fred Hansen
zweibieren@yahoo.com
Wed Aug 1 21:13:00 GMT 2007
A program I am trying to port to cygwin does
#include <sys/mman.h>
and later calls mlockall, which is defined in mman.h:
mlockall(MCL_CURRENT | MCL_FUTURE);
HOWEVER, MCL_CURRENT and MCL_FUTURE are undefined. So the build fails.
In other systems MCL_... are defined in <bits/mman.h>, but my
cygwin (cygcheck output attached) lacks /usr/include/bits and even if it
did, <sys/mman.h> does not include <bits/mman.h>
Is there some package I am supposed to have added to cygwin to get
definitions for MCL_CURRENT, etc? I have almost all the packages.
Thanks,
Fred Hansen
____________________________________________________________________________________Ready for the edge of your seat?
Check out tonight's top picks on Yahoo! TV.
http://tv.yahoo.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck-s-v-r
Type: application/octet-stream
Size: 86429 bytes
Desc: 1051578768-cygcheck-s-v-r
URL: <http://cygwin.com/pipermail/cygwin/attachments/20070801/1d727f61/attachment.obj>
-------------- next part --------------
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list