Hi,
While compiling the openwrt in mac os x, I get error in compiling libcap.
/Volumes/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/libcap-2.24/libcap/include/sys/capability.h:24:10: fatal error: 'linux/types.h' file not found
#include <linux/types.h>
^
1 error generated.
make[5]: *** [_makenames] Error 1
make[4]: *** [all] Error 2
make[3]: *** [/Volumes/openwrt/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/libcap-2.24/.built] Error 2
make[3]: Leaving directory `/Volumes/openwrt/feeds/packages/libs/libcap'
I understand that this error is due to compiling in mac os x (isn't it)? Is there any way to compile this library in mac osx?