This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: error while build glibc using kernel headers


On 12/10/09 20:31, èèå wrote:
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?


ahh. I've never tried that before. In this case not sure. you might run into other issue with other *.h from libselinux etc..(but could be wrong)

Im thinking if using that option libc looks
for all *.h in that certain location i.g.
if you don't set --prefix=/usr everything
defaults to /usr/local/*

Justin P. Mattock


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]