This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: error while build glibc using kernel headers
On Fri, Dec 11, 2009 at 11:02 AM, Justin P. Mattock
<justinmattock@gmail.com> wrote:
>
> capability.h is located in the kernel
> under include/linux/*
> in your case I think you need to add
> capability support in .config
> so that when installing the headers
> capability.h goes to /usr/include/*
>
> Justin P. Mattock
>
Hi Justin,
I do have capability support in .config. And there is
linux/capability.h in the kernel headers I used.
But nscd/selinux.h has included the file sys/capability.h which could
not be found in kernel headers.
sys/capability.h can be found at /usr/include/, however I'm tring to
build glibc using new kernel headers (
--with-headers=/usr/src/linux/include) instead of headers under /usr/include/.
Is sys/capability.h also a part of kernel headers?