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-3.3.3/Modules/socketmodule.c:1660:14: error: 'CAN_RAW' undeclared (first use in this function) #64264
Comments
Missing CAN_RAW check in Python 3.3.3 Python 3.3.3 assumes that if AF_CAN is defined then CAN_RAW is defined as well. It won't assemble with old kernels. Either an additional check for CAN_RAW should be applied in the configuration script or Python 3.3.3 dependence on the newest kernels should be made mandatory Python 3.3.3 can work with sockets without full CAN support but it won't. Environment: System uname: Linux-2.6.33-gentoo-i686-Intel-R-_Pentium-R-_D_CPU_3.00GHz-with-gentoo-1.12.1 |
Revision e767318baccd introduced usage of CAN_RAW. |
Sorry for the delay, I had completely forgotten this issue. Igor, could you try the patch attached? |
New changeset b1ff233d3ab1 by Charles-François Natali in branch '3.3': New changeset 39a60d62d2a6 by Charles-François Natali in branch 'default': |
Should be fixed now. |
New changeset 9dc199b921eb by Vinay Sajip in branch '3.4': New changeset 20cced06acdd by Vinay Sajip in branch 'default': |
Confirmed as fixed at least in Python 3.3.5 Successfully compiled at |
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: