Failed in Building Android images

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Failed in Building Android images

ソリューションへジャンプ
1,420件の閲覧回数
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 解決策
937件の閲覧回数
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 返答(返信)
938件の閲覧回数
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 件の賞賛
937件の閲覧回数
Harris
Contributor III

Dear Bio,

I have fix this problem.

The reason is some packages is not installed.

Thanks.

0 件の賞賛
937件の閲覧回数
Harris
Contributor III

Dear Bio,

Thanks for your reply.

I will try it.

0 件の賞賛