Friendly arm nanopc-t3 plus,s5p6818 compile Linux kernel process __linux

Source: Internet
Author: User
Tags openssl

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





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.