How to solve the scripts/kconfig/lxdialog/checklist. O problem in make menuconfig

Source: Internet
Author: User

When I edited the kernel, the cold blog found an error in make menuconfig. The error code is as follows:

[Root @ fedora/usr/src/kernels/2.6.21-1.3194.fc7-i686] # Make
Menuconfig
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 file or directory
In file already ded from scripts/kconfig/lxdialog/checklist. C: 24:
Scripts/kconfig/lxdialog/dialog. h: 97: Error: Expected specifier-qualifier-list before 'chtype'
Scripts/kconfig/lxdialog/dialog. h: 187: Error: Expected ') 'before' * 'token
Scripts/kconfig/lxdialog/dialog. h: 193: Error: Expected ') 'before' * 'token
Scripts/kconfig/lxdialog/dialog. h: 195: Error: Expected ') 'before' * 'token
Scripts/kconfig/lxdialog/dialog. h: 196: Error: Expected ') 'before' * 'token
Scripts/kconfig/lxdialog/dialog. h: 197: Error: Expected ') 'before' * 'token
Scripts/kconfig/lxdialog/dialog. h: 198: Error: Expected ') 'before' * 'token
Scripts/kconfig/lxdialog/dialog. h: 200: 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 the 'Dialog _ checklist' function:
Scripts/kconfig/lxdialog/checklist. C: 116: Error: 'window' not declared (used for the first time in this function)
Scripts/kconfig/lxdialog/checklist. C: 116: Error :( even if it appears multiple times in a function, each undeclared identifier
Scripts/kconfig/lxdialog/checklist. C: 116: Error: only one report is reported in the function .)
Scripts/kconfig/lxdialog/checklist. C: 116: Error: 'Dialog 'not declared (used for the first time in this function)
Scripts/kconfig/lxdialog/checklist. C: 116: Error: 'LIST' not declared (used for the first time in this function)
Scripts/kconfig/lxdialog/checklist. C: 116: Warning: The left operand of the comma expression does not work
Scripts/kconfig/lxdialog/checklist. C: 129: warning: the implicit declaration function 'getmaxy'
Scripts/kconfig/lxdialog/checklist. C: 129: Error: 'stdscr 'is not declared (used for the first time in this function)
Scripts/kconfig/lxdialog/checklist. C: 130: Error: 'key _ max 'is not declared (used for the first time in this function)
Scripts/kconfig/lxdialog/checklist. C: 131: warning: the implicit declaration function 'getmaxx'
Scripts/kconfig/lxdialog/checklist. C: 137: Error: 'cols' not declared (used for the first time in this function)
Scripts/kconfig/lxdialog/checklist. C: 138: Error: 'lines' not declared (used for the first time in this function)
Scripts/kconfig/lxdialog/checklist. C: 140: Warning: Implicit declaration function 'draw _ shadow'
Scripts/kconfig/lxdialog/checklist. C: 142: Warning: Implicit declaration function 'newwin'
Scripts/kconfig/lxdialog/checklist. C: 143: warning: the implicit declaration function 'keypad'
Scripts/kconfig/lxdialog/checklist. C: 143: Error: 'true' not declared (used for the first time in this function)
Scripts/kconfig/lxdialog/checklist. C: 145: Warning: Implicit declaration function 'draw _ box'
Scripts/kconfig/lxdialog/checklist. C: 146: Error: 'struct dialog_color 'No member named 'act'
Scripts/kconfig/lxdialog/checklist. C: 146: Error: 'struct dialog_color 'No member named 'act'
Scripts/kconfig/lxdialog/checklist. C: 147: warning: the implicit declaration function 'wattrset'
Scripts/kconfig/lxdialog/checklist. C: 147: Error: 'struct dialog_color 'No member named 'act'
Scripts/kconfig/lxdialog/checklist. C: 148: Warning: Implicit declaration function 'mvwaddch'
Scripts/kconfig/lxdialog/checklist. C: 150: Warning: Implicit declaration function 'waddch'
Scripts/kconfig/lxdialog/checklist. C: 151: Error: 'struct dialog_color 'No member named 'act'
Scripts/kconfig/lxdialog/checklist. C: 154: Warning: Implicit declaration function 'print _ title'
Scripts/kconfig/lxdialog/checklist. C: 156: Error: 'struct dialog_color 'No member named 'act'
Scripts/kconfig/lxdialog/checklist. C: 157: Warning: Implicit declaration function 'print _ autorap'
Scripts/kconfig/lxdialog/checklist. C: 164: warning: the implicit declaration function 'subwin'
Scripts/kconfig/lxdialog/checklist. C: 171: Error: 'struct dialog_color 'No member named 'act'
Scripts/kconfig/lxdialog/checklist. C: 171: Error: 'struct dialog_color 'No member named 'act'
Scripts/kconfig/lxdialog/checklist. C: 189: warning: the implicit declaration function 'print _ item'
Scripts/kconfig/lxdialog/checklist. C: 192: warning: the implicit declaration function 'print _ arrows'
Scripts/kconfig/lxdialog/checklist. C: 195: warning: the implicit declaration function 'print _ Buttons'
Scripts/kconfig/lxdialog/checklist. C: 197: Warning: Implicit declaration function 'wnoutrefresh'
Scripts/kconfig/lxdialog/checklist. C: 199: warning: the implicit declaration function 'doupdate'
Scripts/kconfig/lxdialog/checklist. C: 202: warning: the implicit declaration function 'wgetch'
Scripts/kconfig/lxdialog/checklist. C: 210: Error: 'key _ up' is not declared (used for the first time in this function)
Scripts/kconfig/lxdialog/checklist. C: 210: Error: 'key _ low' is not declared (used for the first time in this function)
Scripts/kconfig/lxdialog/checklist. C: 220: Error: 'false' not declared (used for the first time in this function)
Scripts/kconfig/lxdialog/checklist. C: 221: Warning: Implicit declaration function 'scrolok'
Scripts/kconfig/lxdialog/checklist. C: 222: Warning: Implicit declaration function 'wscrl'
Scripts/kconfig/lxdialog/checklist. C: 232: Warning: Implicit declaration function 'wrefresh'
Scripts/kconfig/lxdialog/checklist. C: 293: warning: the implicit declaration function 'delwin'
Scripts/kconfig/lxdialog/checklist. C: 297: Error: 'key _ left' is not declared (used for the first time in this function)
Scripts/kconfig/lxdialog/checklist. C: 298: Error: 'key _ right' is not declared (used for the first time in this function)
Scripts/kconfig/lxdialog/checklist. C: 310: Warning: Implicit declaration function 'on _ key_esc'
Scripts/kconfig/lxdialog/checklist. C: 312: Error: 'key _ resize 'is not declared (used for the first time in this function)
Make [1]: *** [scripts/kconfig/lxdialog/checklist. O] Error 1
Make: *** [menuconfig] Error 2

Solution:

Install ncurses-devel, this is a red hat or FC installer, UBUNTU needs to install libncurses5-dev

 

Installation command in Ubuntu: APT-Get install libncurses5-dev

 

 

Reprinted from: http://loneblog.com/blog/make-menuconfig-error.html

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.