sa_family_t definition expected to be in linux/socket.h but in sys/socket.h
Bug #291307 reported by
Pedro Francisco
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-ports (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: linux-libc-dev
In file linux/netlink.h:
--snip--
#include <linux/socket.h> /* for sa_family_t */
--snip--
However the definition of sa_family_t is in file sys/socket.h (actually it is in bits/sockaddr.h but that file is included when including sys/socket.h)
$ lsb_release -rd
Description: Ubuntu 8.10
Release: 8.10
$ LC_ALL=C apt-cache policy linux-libc-dev
linux-libc-dev:
Installed: 2.6.27-7.14
Candidate: 2.6.27-7.14
Version table:
*** 2.6.27-7.14 0
500 http://
100 /var/lib/
Changed in linux: | |
status: | Incomplete → New |
To post a comment you must log in.
Hi Pedro,
I think I'm missing something here. I don't know where you're seeing a sys/socket.h file and additionally I don't even see a sockaddr.h file existing in the Intrepid kernel.
ogasawara@ yoji:~/ ubuntu- intrepid$ find -name "sockaddr.h" yoji:~/ ubuntu- intrepid$
ogasawara@
Additionally when I examine linux/socket.h in the Intrepid kernel I see on line 32:
typedef unsigned short sa_family_t;
http:// kernel. ubuntu. com/git? p=ubuntu/ ubuntu- intrepid. git;a=blob; f=include/ linux/socket. h;h=dc5086fe773 6c10f40bfbab099 6b7d589ccf5bbe; hb=HEAD
Did you mean to assign this to the kernel package? I'm guessing it should be against something else like glibc?