[blfs-book] [BLFS Trac] #4508: Libcap not found due to missing header

BLFS Trac trac at linuxfromscratch.org
Wed Jan 1 00:10:48 PST 2014


#4508: Libcap not found due to missing header
-------------------------+--------------------------
 Reporter:  chris@…      |       Owner:  blfs-book@…
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  current
Component:  BOOK         |     Version:  SVN
 Severity:  normal       |  Resolution:
 Keywords:               |
-------------------------+--------------------------

Comment (by bdubbs@…):

 The kernel has:

 {{{
 ./security/apparmor/include/capability.h
 ./include/uapi/linux/capability.h
 ./include/linux/capability.h
 }}}

 They are all different, but only the third one is installed, but yes, it
 calls for #include <uapi/linux/capability.h> also.  Checking an older
 kernel (3.4.1), that include is not there.  It looks like the kernel
 missed that header in the headers_install target in the Makefile.

 See also https://bugs.archlinux.org/task/38333

 We can fix it in either LFS or BLFS (libcap), but I suspect it will be
 installed as a part of the kernel headers_install target pretty soon and
 we then won't need to do anything.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/4508#comment:1>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch



More information about the blfs-book mailing list