This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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/
Attachment:
cygcheck-s-v-r
Description: 1051578768-cygcheck-s-v-r
-- 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/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |