Busybox SELinx build errors

V K vik.kaul at yahoo.com
Wed Oct 20 14:03:46 UTC 2010


Folks

 I have several "implicit declaration" errors which then result in "undefined reference" errors when I try to compile selinux for busybox. An example is

external/busybox/selinux/getenforce.c: In function 'getenforce_main':
external/busybox/selinux/getenforce.c:17: warning: implicit declaration of function 'is_selinux_enabled'
external/busybox/selinux/getenforce.c:22: warning: implicit declaration of function 'security_getenforce'


and then

/getenforce.o: In function `getenforce_main':
.../busybox/selinux/getenforce.c:17: undefined reference to `is_selinux_enabled'
.../busybox/selinux/getenforce.c:22: undefined reference to `security_getenforce'

Am I missing some package specifically ? Are some primitives been hidden ?

I am on ubuntu 2.6.32-24-generic, and cross compiling for arm



      


More information about the busybox mailing list