Re: 3.10-rc1: commit ccdfcc398594 broke uClibc build.

David Howells <[email protected]> Tue, 09 Jul 2013 11:25:53 +0100
Newsgroups gmane.linux.kernel,gmane.linux.network.general
Organization Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903
Message-ID <[email protected]>
Geert Uytterhoeven <[email protected]> wrote:

> The #include <linux/kernel.h> added to include/uapi/linux/netlink.h causes
> the uClibc build to go:
>
> In file included from include/linux/kernel.h:4,
>                  from include/linux/netlink.h:4,
>                  from include/linux/rtnetlink.h:5,
>                  from libc/inet/netlinkaccess.h:27,
>                  from libc/inet/if_index.c:37:
> > include/linux/sysinfo.h:8: error: expected specifier-qualifier-list before
> > '__kernel_long_t'
> > make: *** [libc/inet/if_index.o] Error 1
> >
> > If I comment out that line, it builds fine. The kernel builds (for my
> > config) either way.

Comment out which line?  Line 8 of include/linux/sysinfo.h or the new #include
line?

Also, what arch are you compiling for?

David