[Patches] [ python-Patches-1657276 ] socketmodule fails to build because missing NETLINK_DNRTMSG

SourceForge.net noreply at sourceforge.net
Sun Feb 11 13:45:38 CET 2007


Patches item #1657276, was opened at 2007-02-11 14:45
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1657276&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Aleksandr Koltsoff (czr_)
Assigned to: Nobody/Anonymous (nobody)
Summary: socketmodule fails to build because missing NETLINK_DNRTMSG

Initial Comment:
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.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1657276&group_id=5470


More information about the Patches mailing list