Fixed an error in makemenuconfig configuration in Ubuntu and Busybox

Source: Internet
Author: User
# MakemenuconfigInfileincludedfromscripts/kconfig/lxdialog/checklist. c: 24: scripts/kconfig/lxdialog/dialog. h: 31: 20: error: curses. h: The file or directory Infileincludedfromscripts/kconfig/lxdialog/chec does not exist.

# Make menuconfig


In file already ded from scripts/kconfig/lxdialog/checklist. c: 24:
Scripts/kconfig/lxdialog/dialog. h: 31: 20: error: curses. h: No file or directory
In file already ded from scripts/kconfig/lxdialog/checklist. c: 24:
Scripts/kconfig/lxdialog/dialog. h: 128: error: expected '=', ';', 'asm 'or' _ attribute _ 'before' use _ colors'
Scripts/kconfig/lxdialog/dialog. h: 129: error: expected '=', ';', 'asm 'or' _ attribute _ 'before' use _ shadow'
Scripts/kconfig/lxdialog/dialog. h: 131: error: expected '=', ';', 'asm 'or' _ attribute _ 'before' bubutes'
Scripts/kconfig/lxdialog/dialog. h: 143: error: expected ') 'before' * 'token
Scripts/kconfig/lxdialog/dialog. h: 146: error: expected ') 'before' * 'token
Scripts/kconfig/lxdialog/dialog. h: 147: error: expected ') 'before' * 'token
Scripts/kconfig/lxdialog/dialog. h: 148: error: expected ') 'before' * 'token
Scripts/kconfig/lxdialog/dialog. h: 149: error: expected ') 'before' * 'token
Scripts/kconfig/lxdialog/dialog. h: 151: error: expected ') 'before' * 'token
Scripts/kconfig/lxdialog/checklist. c: 31: error: expected ') 'before' * 'token
Scripts/kconfig/lxdialog/checklist. c: 59: error: expected ') 'before' * 'token
Scripts/kconfig/lxdialog/checklist. c: 95: error: expected ') 'before' * 'token
Scripts/kconfig/lxdialog/checklist. c: In function 'Dialog _ checklist ':
Scripts/kconfig/lxdialog/checklist. c: 117: error: 'window' undeclared (first use in this function)
Scripts/kconfig/lxdialog/checklist. c: 117: error: (Each undeclared identifier is reported only once
Scripts/kconfig/lxdialog/checklist. c: 117: error: for each function it appears in .)
Scripts/kconfig/lxdialog/checklist. c: 117: error: 'Dialog 'undeclared (first use in this function)
Scripts/kconfig/lxdialog/checklist. c: 117: error: 'LIST' undeclared (first use in this function)

Scripts/kconfig/lxdialog/checklist. c: 122: error: 'stderr' undeclared (first use in this function)
Scripts/kconfig/lxdialog/checklist. c: 140: error: 'cols' undeclared (first use in this function)
Scripts/kconfig/lxdialog/checklist. c: 141: error: 'lines' undeclared (first use in this function)

Scripts/kconfig/lxdialog/checklist. c: 214: error: 'key _ UP 'undeclared (first use in this function)
Scripts/kconfig/lxdialog/checklist. c: 214: error: 'key _ low' undeclared (first use in this function)

Scripts/kconfig/lxdialog/checklist. c: 290: error: 'key _ left' undeclared (first use in this function)
Scripts/kconfig/lxdialog/checklist. c: 291: error: 'key _ right' undeclared (first use in this function)

Make [2]: *** [scripts/kconfig/lxdialog/checklist. o] Error 1
Make [1]: *** [menuconfig] Error 2
Make: *** [menuconfig] Error 2

The error after making menuconfig in busybox is similar to that above

After a problem occurred, I found two solutions on the Internet for a long time.

One is to install the sudo apt-get install libncurses5-dev if you are using Ubuntu.

The installation is complete;

Second, if you are using the rhel series, install the ncurses-devel package.

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.