[slug@laptop slugos-3.10-beta]$ cat /home/slug/releases/slugos-3.10-beta/openslug-nslu2.tmp/work/libcap-1.10-r0/temp/log.do_compile.4098
NOTE: make -e MAKEFLAGS=
make -C libcap CC='ccache armeb-linux-gcc -march=armv5te -mtune=xscale -mthumb-interwork -mno-thumb' CFLAGS='-isystem/home/slug/releases/slugos-3.10-beta/openslug-nslu2.tmp/staging/armeb-linux/include -Os -fomit-frame-pointer -frename-registers -fno-unroll-loops -fno-inline-functions -fweb -funit-at-a-time' LD='armeb-linux-ld' LIBS='-L/home/slug/releases/slugos-3.10-beta/openslug-nslu2.tmp/work/libcap-1.10-r0/libcap-1.10/libcap -lcap' LDFLAGS='-L/home/slug/releases/slugos-3.10-beta/openslug-nslu2.tmp/staging/armeb-linux/lib -Wl,-rpath-link,/home/slug/releases/slugos-3.10-beta/openslug-nslu2.tmp/staging/armeb-linux/lib -Wl,-O1' VERSION='1' MINOR='10' LIBDIR='/usr/lib' INCDIR='/usr/include' SBINDIR='/usr/sbin' MANDIR='/usr/man' all
make[1]: Entering directory `/home/slug/releases/slugos-3.10-beta/openslug-nslu2.tmp/work/libcap-1.10-r0/libcap-1.10/libcap'
=> making cap_names.c from <linux/capability.h>
ccache gcc -isystem/home/slug/releases/slugos-3.10-beta/openslug-nslu2.tmp/staging/i686-linux/include -O2 -L/home/slug/releases/slugos-3.10-beta/openslug-nslu2.tmp/staging/i686-linux/lib -Wl,-rpath-link,/home/slug/releases/slugos-3.10-beta/openslug-nslu2.tmp/staging/i686-linux/lib -Wl,-rpath,/home/slug/releases/slugos-3.10-beta/openslug-nslu2.tmp/staging/i686-linux/lib -Wl,-O1 _makenames.c -o _makenames
./_makenames > cap_names.h
ccache armeb-linux-gcc -march=armv5te -mtune=xscale -mthumb-interwork -mno-thumb -isystem/home/slug/releases/slugos-3.10-beta/openslug-nslu2.tmp/staging/armeb-linux/include -Os -fomit-frame-pointer -frename-registers -fno-unroll-loops -fno-inline-functions -fweb -funit-at-a-time -c cap_alloc.c -o cap_alloc.o
In file included from cap_alloc.c:12:
libcap.h:19:28: sys/capability.h: No such file or directory
In file included from cap_alloc.c:12:
libcap.h:43: error: field `head' has incomplete type
libcap.h:44: error: field `set' has incomplete type
libcap.h:57:3: #error "Kernel <linux/capability.h> does not match library"
libcap.h:58:3: #error "file "libcap.h" --> fix and recompile libcap"
libcap.h:70: error: invalid application of `sizeof' to incomplete type `__user_cap_data_struct'
libcap.h:114: error: parse error before "header"
libcap.h:115: error: parse error before "header"
libcap.h:116: error: parse error before "cap_t"
libcap.h:117: error: parse error before "cap_t"
cap_alloc.c:18: error: parse error before "cap_init"
cap_alloc.c: In function `cap_init':
cap_alloc.c:21: error: `cap_t' undeclared (first use in this function)
cap_alloc.c:21: error: (Each undeclared identifier is reported only once
cap_alloc.c:21: error: for each function it appears in.)
cap_alloc.c:21: error: parse error before "result"
cap_alloc.c:23: error: `result' undeclared (first use in this function)
cap_alloc.c:28: warning: return makes integer from pointer without a cast
cap_alloc.c:35: error: `_LINUX_CAPABILITY_VERSION' undeclared (first use in this function)
cap_alloc.c: At top level:
cap_alloc.c:72: error: parse error before "cap_dup"
cap_alloc.c:72: error: parse error before "cap_d"
cap_alloc.c: In function `cap_dup':
cap_alloc.c:74: error: `cap_t' undeclared (first use in this function)
cap_alloc.c:74: error: parse error before "result"
cap_alloc.c:76: error: `cap_d' undeclared (first use in this function)
cap_alloc.c:79: warning: return makes integer from pointer without a cast
cap_alloc.c:82: error: `result' undeclared (first use in this function)
cap_alloc.c:85: warning: return makes integer from pointer without a cast
make[1]: *** [cap_alloc.o] Error 1
make[1]: Leaving directory `/home/slug/releases/slugos-3.10-beta/openslug-nslu2.tmp/work/libcap-1.10-r0/libcap-1.10/libcap'
make: *** [all] Error 2
FATAL: oe_runmake failed