follow the wiki tutorial to compile kernel 4.4.y:
My compiler is this one, set first
1, cross_compile=aarch64-linux-gnu-
Configuration file in arch/arm64/configs/
2, make arch=arm64 nanopi3_linux_defconfig
3, Make arch=arm64
Problem occurs:
Question one: There appears this fatal error:openssl/list. h:no such file or directory. Are not installed Libssl-dev~libssl-dev contains libraries, header files and manpages, he is a part of OpenSSL, and OpenSSL to the implementation of SSL ~
Solution:
Use sudo apt-get install Libssl-dev to install Libssl-dev
Question two: newspaper/bin/sh:1bc:no found
Solution: Apt-get Install BC
Question three: Arch/x86/makefile:135:stack-protector enabled but compiler support broken
Makefile:670:cannot use config_cc_stackprotector_regular:-fstack-protector not supported by Compiler
Workaround: Install process 1, set up the compiler