Friendly arm NanoPC-T3 Plus, s5p6818 compiling Linux kernel process, nanopc-t3s5p6818

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.