[Patches] [ python-Patches-1462080 ] ssl build fails due to undefined NETLINK_ stuff

SourceForge.net noreply at sourceforge.net
Fri Mar 31 20:44:16 CEST 2006


Patches item #1462080, was opened at 2006-03-31 08:05
Message generated for change (Comment added) made by tim_one
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: Martin v. Löwis (loewis)
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.


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

>Comment By: Tim Peters (tim_one)
Date: 2006-03-31 13:44

Message:
Logged In: YES 
user_id=31435

Assigned to Martin.

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

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