Hi,

I'm trying to compile busybox on Android with SELinux support.

I'm using the latest git, with the android_defconfig, and the supplied
android_build script. Looking back on the mailing list, someone else
appeared to have the same issue which was supposedly fixed with:
http://git.busybox.net/busybox/commit/?id=6ec1510f719ad7463d76eea9284428cc605d6b

But this doesn't seem to be the case. I've tried to include the headers
from the cross compiled kernel by supplying options to CONFIG_EXTRA_CFLAGS
in the .config, but still have issues compiling.

Output I'm receiving when compiling:

$ ./android_build
  CC      applets/applets.o
In file included from include/busybox.h:8,
                 from applets/applets.c:9:
include/libbb.h:56:30: error: selinux/selinux.h: No such file or directory
include/libbb.h:57:30: error: selinux/context.h: No such file or directory
include/libbb.h:58:28: error: selinux/flask.h: No such file or directory
include/libbb.h:59:37: error: selinux/av_permissions.h: No such file or 
directory
In file included from include/busybox.h:8,
                 from applets/applets.c:9:
include/libbb.h:1256: error: expected ')' before 'sid'
include/libbb.h:1257: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before 'set_security_context_component'
include/libbb.h:1259: error: expected ')' before 'scontext'
make[1]: *** [applets/applets.o] Error 1
make: *** [applets_dir] Error 2

Any assistance would be appreciated.

Thanks.

-- 
Naveen Nathan

To understand the human mind, understand self-deception. - Anon

_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to