Android 8 Kernel Build Error

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

Android 8 Kernel Build Error

跳至解决方案
1,281 次查看
kokshyangchin
Contributor II

Hi All,

i am compiling Android 8 for Boundary Devices Nitrogen 6 Max board, the libraries that i use for the compilation is,

=======start of the libraries installed==================

sudo apt-get install openjdk-8-jdk

sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z-dev ccache libgl1-mesa-dev libxml2-utils xsltproc unzip

 

library to build freescale components:

sudo apt-get install uuid uuid-dev lzop gperf liblz-dev liblzo2-2 liblzo2-dev u-boot-tools flex mtd-utils android-tools-fsutils bc

=======end of the libraries installed==================

after the libraries setup, i do the kernel build and found the following error,

root@ubuntu:~/project/bd_android8/vendor/boundary/kernel_imx# make zImage dtbs -j8

  CHK     include/config/kernel.release

Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler

Makefile:1075: recipe for target 'prepare-compiler-check' failed

make: *** [prepare-compiler-check] Error 1

make: *** Waiting for unfinished jobs....

make: *** wait: No child processes.  Stop.

root@ubuntu:~/project/bd_android8/vendor/boundary/kernel_imx#

Has anyone encountered the above build error?

Thanks you.

标签 (2)
0 项奖励
回复
1 解答
1,172 次查看
kokshyangchin
Contributor II

i use AOSP build instead of kernel build for the touchscreen driver compilation and it's work perfectly. thank you very much.

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,173 次查看
kokshyangchin
Contributor II

i use AOSP build instead of kernel build for the touchscreen driver compilation and it's work perfectly. thank you very much.

0 项奖励
回复
1,173 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Thank you, Kokshyangchin, for updating this thread and let us know you findings!

0 项奖励
回复