For more information about Kernel compilation, see.

Source: Internet
Author: User
For more information about Kernel compilation, see. -- Linux general technology-Linux programming and kernel information. The following is a detailed description. Hello, my system is UBUNTU. the kernel is 26-20.15. Yesterday I went to kernel.org to run Linux kernel 2.6-20.4.
Compile the kernel. Decompress the kernel to the/usr/src folder, also established the connection, ln-s linux-2.2.16 linux.
But every time you press make dep, make config, and make menuconfig, an error is returned:
Scripts/basic/fixdep
Scripts/basic/fixdep. c: 105: 23: error: sys/types. h
......................

An error is reported for a series of header files in fixdep. c,

What should I do?
And why are there two folders in the kernel being used, namely the linux-headers-2.6.20.15?
Linux-headers-2.6.20.15-generic? However, the downloaded kernel does not include these two files. Why?

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.