How to compile the Linux kernel of the built-in CD-Rom in FS2410

Source: Internet
Author: User
The FS2410 built-in CD Linux kernel compilation problem-general Linux technology-Linux programming and kernel information. The following is a detailed description. 1. Problem:
Compile fs2410 embedded linux_2.6.8.1 kernel according to fs2410 user manual 3.5.2 compile linux-2.6.8.1, encountered the following problems when entering make menuconfig:

[Root @ localhost linux-2.6.8.1-zzm] # make menuconfig HOSTCC scripts/kconfig/mconf. oscripts/kconfig/mconf. c: 91: error: the static statement for 'current _ menu 'appears after the non-static statement scripts/kconfig/lkc. h: 63: error: the previous declaration of 'current _ menu 'is here make [1]: *** [scripts/kconfig/mconf. o] Error 1 make: *** [menuconfig] Error 2 unable to enter the linux kernel v2.6.8.1 configuration interface!

2. Solution
Modify the current_menu definition in the scripts/kconfig/mconf. c file and remove its static attribute to go To the linux kernel v2.6.8.1 configuration interface.

3. Cause Analysis
The scope of a static global variable is its source file. Other files cannot be referenced.
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.