scons build error: missing libcap on linux

asked 2015-08-12 02:45:57 -0700

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

I do the build as the instruction page https://allseenalliance.org/developer... . Error occured with the output:

alljoyn_core/router/posix/daemon-main.cc:66:28: fatal error: sys/capability.h: No such file or directory
compilation terminated.
scons: *** [build/linux/x86_64/debug/obj/alljoyn_core/router/posix/daemon-main.o] Error 1
scons: building terminated because of errors.

Where can i get the requried header file? Thx

edit retag flag offensive close merge delete


I filed a bug here: https://jira.allseenalliance.org/browse/ASACORE-2333

ry.jones ( 2015-08-12 11:26:08 -0700 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-08-12 11:23:50 -0700

ry.jones gravatar image
Linux Foundation Staff

follow the instructions here.

edit flag offensive delete publish link more


jone, i follow your instrucitons and it succeeded. Thank you! The error output in your instruction page is different from that i came across, so it is confused for me that one same method(i.e.sudo apt-get install libcap-dev)worked for two different errors. Can you tell me why?

brick ( 2015-08-12 23:45:19 -0700 )edit

compilation order may have changed, it's hard to tell.

ry.jones ( 2015-08-13 12:29:58 -0700 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-08-12 02:45:57 -0700

Seen: 58 times

Last updated: Aug 13 '15