Ubuntu7.10 kernel 2.6.23.1 compiled successfully

Source: Internet
Author: User
The kernel 2.6.23.1 is successfully compiled under ubuntu7.10-general Linux technology-Linux programming and kernel information. For details, refer to the following section. It took two days to finally compile kernel2.6.23.1.
First download the new kernel at www.kernel.org, about 50 m.
1. decompress the package to/usr/src/linux. If you do not have one, create one by yourself. It is better to use other directories.
Tar-xzvf linux-2.6.23.1

2. make menuconfig, but always prompts
HOSTCC scripts/kconfig/lxdialog/checklist. o
In the file containing scripts/kconfig/lxdialog/checklist. c: 24:
Scripts/kconfig/lxdialog/dialog. h: 32: 20: Error: curses. h: No such file or directory
In file already ded from scripts/kconfig/lxdialog/checklist. c: 24:
A lot of error messages. I checked the Internet and missing a package called libncurses5, so I used the Add/delete program to install the package. Why can't I install it? The following message is displayed:
The following software packages have dependency that cannot be met:
Libncurses5-dev: Dependency: libncurses5 (= 5.5-5ubuntu2) But 5.6 + 20070716-1ubuntu3 is about to be installed
E: software packages that cannot be installed
So I made a new one, but I still had the same mistake. I was speechless. I did not reply to the Forum for a long time,
Later, I found this package at http://packages.ubuntu.com/, and installed it manually. (I don't know how to get it when I first learned it)

3. Then, the menu configuration is successfully entered. I will refer to the configuration in Mr. Jin Bu's article (I have provided it in the attachment)
4. In the last step, sudo mkinitramfs-o initframfs-2.6.23.1 2.6.23.1
This command also prompts:
Erro:/lib/firmware/2.6.23.1: no directort or file
I was speechless and asked a friend, he suggested that I copy the old one and change the name. It was enough. Now the compilation was successful, the restart was successful, and the system was successfully started, I am so happy.
The following is an important command:
Sudo make mrproper & sudo make menuconfig

Sudo make dep & sudo make clean & sudo make bzImage & sudo make modules & sudo make modules_install & sudo make install & sudo mkinitramfs-o initframfs-2.6.23.1 2.6.23.1
What they mean, go to google rather than yourself-the best teacher.
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.