[Bug 534281] Re: klibc ftbfs on all archs

Steve Langasek steve.langasek at canonical.com
Wed Mar 10 19:35:38 UTC 2010


Yes, the error this fails with is:

In file included from usr/klibc/../include/netinet/in.h:11,
                 from usr/klibc/../include/arpa/inet.h:11,
                 from usr/klibc/inet/inet_ntoa.c:6:
usr/klibc/../include/sys/socket.h:49: warning: 'struct msghdr' declared inside parameter list
usr/klibc/../include/sys/socket.h:49: warning: its scope is only this definition or declaration, which is probably not what you want
usr/klibc/../include/sys/socket.h:50: warning: 'struct msghdr' declared inside parameter list
In file included from usr/klibc/../include/netinet/in.h:12,
                 from usr/klibc/../include/arpa/inet.h:11,
                 from usr/klibc/inet/inet_ntoa.c:6:
linux/include/linux/in.h:188: error: expected specifier-qualifier-list before 'sa_family_t'
make[3]: *** [usr/klibc/inet/inet_ntoa.o] Error 1

(linux/include/linux here is a symlink to /usr/include/linux)

sa_family_t is only defined in /usr/include/sockaddr.h, an eglibc header
that /usr/include/linux/in.h does not include.  So this looks to me like
a regression in the kernel-provided headers.

** Package changed: klibc (Ubuntu Lucid) => linux (Ubuntu Lucid)

** Changed in: linux (Ubuntu Lucid)
       Status: Fix Released => Triaged

** Changed in: linux (Ubuntu Lucid)
     Assignee: Colin Watson (cjwatson) => (unassigned)

-- 
klibc ftbfs on all archs
https://bugs.launchpad.net/bugs/534281
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux in ubuntu.




More information about the kernel-bugs mailing list