Android 8 Kernel Build Error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Android 8 Kernel Build Error

Jump to solution
1,027 Views
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.

Labels (2)
0 Kudos
1 Solution
918 Views
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.

View solution in original post

0 Kudos
2 Replies
919 Views
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 Kudos
919 Views
gusarambula
NXP TechSupport
NXP TechSupport

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

0 Kudos