AnsweredAssumed Answered

Android 8 Kernel Build Error

Question asked by kokshyangchin on Aug 23, 2019
Latest reply on Aug 29, 2019 by gusarambula

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.

Outcomes