Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian Kernel (http://www.linux-archive.org/debian-kernel/)
-   -   Bug#573159: linux/socket.h lacks typedef of sa_family_t (http://www.linux-archive.org/debian-kernel/338550-bug-573159-linux-socket-h-lacks-typedef-sa_family_t.html)

Guido GŁnther 03-09-2010 12:20 PM

Bug#573159: linux/socket.h lacks typedef of sa_family_t
 
Package: linux-libc-dev
Version: 2.6.32-9
Severity: normal

Hi,
linux/netlink.h includes linux/socket.h for the definition of
sa_family_t (see the comment in that file). However the shipped
linux/socket.h doesn't contain that typedef.

The upstream kernel headers include the typedef. Please add this to
socket.h since otherwise compilation of userspace programs (e.g. the
check for macvtap in libvirt) fails.
Cheers,
-- Guido


-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.33-rc8 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- no debconf information



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100309132014.GA25614@bogon.sigxcpu.org">http://lists.debian.org/20100309132014.GA25614@bogon.sigxcpu.org

Ben Hutchings 03-09-2010 02:31 PM

Bug#573159: linux/socket.h lacks typedef of sa_family_t
 
On Tue, Mar 09, 2010 at 02:20:14PM +0100, Guido GŁnther wrote:
> Package: linux-libc-dev
> Version: 2.6.32-9
> Severity: normal
>
> Hi,
> linux/netlink.h includes linux/socket.h for the definition of
> sa_family_t (see the comment in that file). However the shipped
> linux/socket.h doesn't contain that typedef.
>
> The upstream kernel headers include the typedef. Please add this to
> socket.h since otherwise compilation of userspace programs (e.g. the
> check for macvtap in libvirt) fails.

This change went upstream in 2.6.33 so userland will have to deal with it.
There is no point in reverting it.

Ben.

--
Ben Hutchings
Time is nature's way of making sure that everything doesn't happen at once.



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100309153155.GJ2763@decadent.org.uk">http://lists.debian.org/20100309153155.GJ2763@decadent.org.uk


All times are GMT. The time now is 12:08 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.