[Patches] [ python-Patches-1462080 ] ssl build fails due to undefined NETLINK_ stuff
SourceForge.net
noreply at sourceforge.net
Fri Mar 31 15:05:51 CEST 2006
Patches item #1462080, was opened at 2006-03-31 15:05
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=1462080&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: Core (C code)
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Arkadiusz Miskiewicz (arekm)
Assigned to: Nobody/Anonymous (nobody)
Summary: ssl build fails due to undefined NETLINK_ stuff
Initial Comment:
gcc -pthread -fPIC -fno-strict-aliasing -DNDEBUG -g -O
3 -Wall -Wstrict-prototypes -I. -I/home/users/arekm/
test/python/./Include -I/home/users/arekm/test/python-
test/include -I/usr/include/ncurses -I./Include -I. -I/
usr/local/include -I/home/users/arekm/test/python/
Include -I/home/users/arekm/test/python -c /home/users/
arekm/test/python/Modules/socketmodule.c -o build/temp.
linux-i686-2.5/socketmodule.o
/home/users/arekm/test/python/Modules/socketmodule.c:
In function âinit_socketâ:
/home/users/arekm/test/python/Modules/socketmodule.c:
4050: error: âNETLINK_ARPDâ undeclared (first use in
this function)
/home/users/arekm/test/python/Modules/socketmodule.c:
4050: error: (Each undeclared identifier is reported
only once
/home/users/arekm/test/python/Modules/socketmodule.c:
4050: error: for each function it appears in.)
/home/users/arekm/test/python/Modules/socketmodule.c:
4051: error: âNETLINK_ROUTE6â undeclared (first use in
this function)
/home/users/arekm/test/python/Modules/socketmodule.c:
4054: error: âNETLINK_TAPBASEâ undeclared (first use
in this function)
I'm using sanitized version of linux headers - linux-
libc-headers.
Attached patch fixes these by ifdefing them + adds
NETLINK_W1 which replaced NETLINK_SKIP in latest linux
kernels.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1462080&group_id=5470
More information about the Patches
mailing list