I am using the stable openwrt-17.01.4 and get the following error when enabling the selinux tools in busybox:
I am using debian 8.10 as my starting system and can successfully compile openwrt up to this point. I tried adding the following to my make: (as per config) and made sure the libselinux1-dev was installed, but still get errors. Here is my make option:
CFLAGS=-L/usr/include/selinux -I make -j1 V=s
I have installed the following selinux stuff:
ii checkpolicy 2.3-1 amd64 SELinux policy compiler
ii libselinux1:amd64 2.3-2 amd64 SELinux runtime shared libraries
ii libselinux1-dev:amd64 2.3-2 amd64 SELinux development headers
ii libsemanage-common 2.3-1 all Common files for SELinux policy management libraries
ii libsemanage1:amd64 2.3-1+b1 amd64 SELinux policy management library
ii libsepol1:amd64 2.3-2 amd64 SELinux library for manipulating binary security policies
ii libsepol1-dev:amd64 2.3-2 amd64 SELinux binary policy manipulation library and development files
ii policycoreutils 2.3-1 amd64 SELinux core policy utilities
ii python-selinux 2.3-2 amd64 Python bindings to SELinux shared libraries
ii python-semanage 2.3-1+b1 amd64 Python bindings for SELinux policy management
ii python-sepolgen 1.2.1-1 all Python module used in SELinux policy generation
ii python-sepolicy 2.3-1 amd64 Python binding for SELinux Policy Analyses
ii selinux-basics 0.5.2 all SELinux basic support
ii selinux-utils 2.3-2 amd64 SELinux utility programs
Anyone have any idea on how to get this working?