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 Thomas.Roos
Recipients Thomas.Roos
Date 2015-01-27.11:13:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
my issue was that SO_BINDTODEVICE symbol was not defined in /Lib/plat-linux2/ which is generated by
This is because the regex is missing out include dirs with "-" in the name.
In my yocto cross build system this define is in asm-generic, don't know about other build systems. 
.../usr/include/asm-generic/socket.h:#define SO_BINDTODEVICE       25
so could you please change following regex in (patch attached)
-p_include = re.compile('^[\t ]*#[\t ]*include[\t ]+<([a-zA-Z0-9_/\.]+)')
+p_include = re.compile('^[\t ]*#[\t ]*include[\t ]+<([a-zA-Z0-9_/\.-]+)')
Date User Action Args
2015-01-27 11:13:17Thomas.Roossetrecipients: + Thomas.Roos
2015-01-27 11:13:17Thomas.Roossetmessageid: <>
2015-01-27 11:13:17Thomas.Rooslinkissue23330 messages
2015-01-27 11:13:17Thomas.Rooscreate