6.28. Libcap2-2.10

marty marty at goodoldmarty.com
Thu Jun 5 20:21:10 PDT 2008

Been there, seen this before long ago.
Not surprised to see it again.
Needs to be done on the active kernel I think.
make[1]: Entering directory `/sources/libcap-2.10/libcap'
cc -Dlinux -fPIC -Wall -Wwrite-strings -Wpointer-arith -Wcast-qual -Wcast-align
-Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -O2
-g   -I/sources/libcap-2.10/libcap/include -I/sources/libcap-2.10/libcap/include
-c cap_file.c -o cap_file.o
cap_file.c:8:24: error: attr/xattr.h: No such file or directory
root:/sources/libcap-2.10# ls /usr/include/attr

xattr.h needs to be available during compilation.
Make.Rules: It can't find it in KERNEL_HEADERS = $(topdir)/libcap/include
(maybe a symlink would work)

Also run progs/quicktest.sh afterwards to validate it really works. That's the
only test program. I don't believe you can really make this work here, but ?????

Marty B.

Building a better mousetrap only results in better mice. C. Darwin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linuxfromscratch.org/pipermail/hlfs-dev/attachments/20080605/bf597a7e/attachment.sig>

More information about the hlfs-dev mailing list