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.

classification
Title: socketmodule fails to build because missing NETLINK_DNRTMSG
Type: Stage:
Components: Build Versions: Python 2.5
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: czr_, loewis
Priority: normal Keywords: patch

Created on 2007-02-11 12:45 by czr_, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
socketmodule.patch czr_, 2007-02-11 12:45 patch against socketmodule.c
Messages (2)
msg51855 - (view) Author: Aleksandr Koltsoff (czr_) Date: 2007-02-11 12:45
While building 2.5 on a debian 2.2 (potato) system I encountered a problem in socketmodule.c. The system in question has netlink.h, but a symbol (NETLINK_DNRTMSG) is not (whole module fails to build because of this).

The provided patch (unified diff) fixes this by surrounding the line with an ifdef.
The respective code also contains other int constants that probably should be protected, but this patch doesn't touch them.
msg51856 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2007-02-13 12:14
Thanks for the patch. Committed as r53769 and r53770.
History
Date User Action Args
2022-04-11 14:56:22adminsetgithub: 44571
2007-02-11 12:45:38czr_create