# 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.