The system is Ubuntu 10.04 64-bit, Android 4.4.2.
I have setup the enviroment and pathes are ready for building the images.
I type following commands according to theChapter 3.3 in Android_User's_Guide.pdf.
1. source build/envsetup.sh
2. lunch sabresd_6dq-user
3. make 2>&1 | tee build_sabresd_6dq_android.log
The system give me the error info as below:
bootable/recovery/minzip/DirUtil.h:27:29: fatal error: selinux/selinux.h: No such file or directory
compilation terminated.
make: *** [out/target/product/sabresd_6dq/obj/STATIC_LIBRARIES/librecovery_updater_tilapia_intermediates/recovery_updater.o] Error 1
How to resolve this problems.
Thanks
Solved! Go to Solution.
Hi Harris,
Selinux. Is part of the kernel header Did you have kernel header under /usr/include ? If you dont have it, probably due to your OS version, you need to get kernel header source.
As this errors appears on compilation I strongly suggest to start the installation from scratch.
Hope this helps
Hi Harris,
Selinux. Is part of the kernel header Did you have kernel header under /usr/include ? If you dont have it, probably due to your OS version, you need to get kernel header source.
As this errors appears on compilation I strongly suggest to start the installation from scratch.
Hope this helps
Dear Bio,
I have fix this problem.
The reason is some packages is not installed.
Thanks.
Dear Bio,
Thanks for your reply.
I will try it.