Friendly arm NanoPC-T3 Plus, s5p6818 compiling Linux kernel process, nanopc-t3s5p6818
Follow the Wikipedia tutorial to compile the kernel 4.4.y:
? ? ? // This Is My compiler. Set it first.
1. CROSS_COMPILE = aarch64-linux-gnu-
? ? ? // The configuration file is in arch/arm64/configs/
2. make ARCH = arm64 nanopi3_linux_defconfig
3. make ARCH = arm64
Problem:
Problem 1: this fatal error: openssl/list. h: No such file or directory appears. Libssl-dev ~ is not installed ~
Libssl-dev contains libraries, header files and manpages. It is part of openssl, and openssl implements ssl ~
Solution:
Use sudo apt-get install libssl-dev to install libssl-dev.
Question 2:/bin/sh: 1bc: no found
Solution: apt-get install bc
Question 3: arch/x86/Makefile: 135: stack-protector enabled but compiler support broken
? ? ? ? ? ? Makefile: 670: Cannot use CONFIG_CC_STACKPROTECTOR_REGULAR:-fstack-protector not supported? ? ? ? ? ? ? ? ? ? ? ? ? ? ? Compiler
Solution: Install process 1, set the Compiler