Failed in Building Android images

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Failed in Building Android images

跳至解决方案
2,394 次查看
Harris
Contributor III

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

标签 (2)
标记 (3)
0 项奖励
回复
1 解答
1,911 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

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

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,912 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复
1,911 次查看
Harris
Contributor III

Dear Bio,

I have fix this problem.

The reason is some packages is not installed.

Thanks.

0 项奖励
回复
1,911 次查看
Harris
Contributor III

Dear Bio,

Thanks for your reply.

I will try it.

0 项奖励
回复