This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Riccardo Magliocchetti
Recipients Riccardo Magliocchetti, amaury.forgeotdarc, giampaolo.rodola, martin.panter, mluis, neologix, ogait87, orsenthil, pitrou, python-dev, rosslagerwall, slanden, vinay.sajip, vstinner
Date 2017-07-05.11:08:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1499252889.45.0.105085126361.issue10141@psf.upfronthosting.co.za>
In-reply-to
Content
I have an issue related to this while trying to compile statically Python 3.6.1 against a static musl.

The problem is that i have AF_CAN defined because it's defined in linux/socket.h but by not having HAVE_LINUX_CAN_H defined in pyconfig.h the header which contains the definition of struct sockaddr_can is not included. So i think (at least for linux) using AF_CAN for the conditionals is wrong and the HAVE_LINUX_CAN_H should be used instead.

I think the same applies for CAN_RAW and CAN_BCM because they are defined in the generic linux/can.h and not in a feature specific header.
History
Date User Action Args
2017-07-05 11:08:09Riccardo Magliocchettisetrecipients: + Riccardo Magliocchetti, vinay.sajip, amaury.forgeotdarc, orsenthil, pitrou, vstinner, giampaolo.rodola, neologix, slanden, rosslagerwall, python-dev, ogait87, mluis, martin.panter
2017-07-05 11:08:09Riccardo Magliocchettisetmessageid: <1499252889.45.0.105085126361.issue10141@psf.upfronthosting.co.za>
2017-07-05 11:08:09Riccardo Magliocchettilinkissue10141 messages
2017-07-05 11:08:09Riccardo Magliocchetticreate