6.28. Libcap2-2.10

Robert Connolly robert at linuxfromscratch.org
Fri Jun 6 16:44:39 PDT 2008


It worked for me. Check that your cc points to /usr/bin/gcc. It looks like you 
are using /tools/bin/gcc which has no stardard includes.

robert

On Thursday June 5 2008 11:21:10 pm marty wrote:
> 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
>
> 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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/hlfs-dev/attachments/20080606/9922ab6d/attachment.sig>


More information about the hlfs-dev mailing list