New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python-2.5.2/Modules/_ctypes/malloc_closure.c:70: error: `MAP_ANONYMOUS' undeclared #47515
Comments
Hi, building '_ctypes' extension Let me add that I see -fPIC in the top-level Makefile but do not know |
Can you please report from the mmap man page how anonymous mappings can |
A Goggle search gives between many others: |
http://unix.derkeiler.com/Newsgroups/comp.unix.solaris/2004-07/0256.html I will stop posting URLs. ;-) |
Thanks. None of the URLs seem to be helpful, anyway. It seems that Solaris 2.6 just doesn't have explicit support A solution might be to map /dev/zero instead. Contributions |
Thanks, but I can only help with testing. :( |
Here is a patch for Modules/_ctypes/malloc_closure.c that may work |
Corrected the patch. |
Issue bpo-5504 shows a possibly more future proof way to fix this issue. |
Should this be closed as won't fix? outofdate? superseded by 5504? |
2.5 is done with and no response to question about more recent versions. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: