Linux build error

asked 2015-04-19 22:46:49 -0700

clovett gravatar image

I'm trying to follow basic build instructions and it is building a lot of stuff, but gets stuck on this error:

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

any ideas?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2015-04-21 07:54:28 -0700

ndabhade gravatar image

You need to install libcap-dev to resolve the error you are seeing


edit flag offensive delete publish link more


libcap-dev was the trick, thanks!

clovett ( 2015-04-21 22:13:39 -0700 )edit

answered 2015-04-20 21:47:53 -0700

congngale gravatar image

updated 2015-04-20 21:48:44 -0700

Hi Clovett, Please tell me which alljoyn version that you were using to build. With Alljoyn version 14.12.00b which I am working then the "alljoyn_core/router/posix/daemon-main.cc" includes "linux/capability.h" not "sys/capability.h" as yours.

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-04-19 22:46:49 -0700

Seen: 1,571 times

Last updated: Apr 21 '15