[Slackbuilds-users] libcap build fails
Steve
sleistinger at verizon.net
Sun Aug 31 22:51:36 UTC 2008
Hi list,
Tryinf to build jack-audio-connector-kit which requires libcap. The libcap
build fails with the following error:
make -C libcap all
make[1]: Entering directory `/tmp/SBo/libcap-2.11/libcap'
=> making cap_names.c from <linux/capability.h>
gcc -O2 _makenames.c -o _makenames
_makenames.c:10:28: error: sys/capability.h: No such file or directory
_makenames.c:25: error: invalid application of 'sizeof' to incomplete
type 'struct __user_cap_data_struct'
make[1]: *** [_makenames] Error 1
make[1]: Leaving directory `/tmp/SBo/libcap-2.11/libcap'
make: *** [all] Error 2
Done building libcap.
I used the generic kernel as well as 2.6.26.3, both compiled to include the
file system capabilities as described in the readme:
root at sundog:/boot# cat config-2.6.26.3-smp-sal1 | grep CAPABILITIES
CONFIG_SECURITY_CAPABILITIES=y
CONFIG_SECURITY_FILE_CAPABILITIES=y
More information about the SlackBuilds-users
mailing list