Ubuntu12.04 compiling kernel, makemenuconfig Error

Source: Internet
Author: User
The following error is reported when executing makemenuconfig in Ubuntu12.04: www.linuxidc.com@www.linuxidc.com :~ /Work/linux_3.9.5/linux-3.9.5 $ makemenuconfigHOSTLDscripts/kconfig/mconfscripts/kconfig/mconf. o: Infunction

When running make menuconfig in Ubuntu 12.04, the following error is reported:

Www.linuxidc.com @ www.linuxidc.com :~ /Work/linux_3.9.5/linux-3.9.5 $ make menuconfig
HOSTLD scripts/kconfig/mconf
Scripts/kconfig/mconf. o: In function 'show _ help ':
Mconf. c :(. text + 0x764): undefined reference to 'stdscr'
Scripts/kconfig/lxdialog/checklist. o: In function 'print _ arrows ':
Checklist. c :(. text + 0x41): undefined reference to 'wmove'
Checklist. c :(. text + 0x61): undefined reference to 'acs _ map'
Checklist. c :(. text + 0x69): undefined reference to 'waddch'
Checklist. c :(. text + 0x7b): undefined reference to 'waddnstr'
Checklist. c :(. text + 0x8c): undefined reference to 'wmove'
Checklist. c :(. text + 0xb3): undefined reference to 'acs _ map'
Checklist. c :(. text + 0xbb): undefined reference to 'waddch'
Checklist. c :(. text + 0x10b): undefined reference to 'acs _ map'

Solution:
Sudo apt-get install libncurses5 libncurses5-dev

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2

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.