busybox配置出错解决方法

将busybox解压后,使用make menuconfig进行配置,出现了如下错误: In file included from scripts/kconfig/lxdialog/checklist.c:24: scripts/kconfig/lxdialog/dialog.h:31:20: error: curses.h: No such file or directory In file included from scripts/kconfig/lxdialog/checklist.c:24: scripts/kconfig/lxdialog/dialog.h:128: error: syntax error before 'use_colors' scripts/kconfig/lxdialog/dialog.h:128: warning: type defaults to 'int' in declaration of 'use_colors' scripts/kconfig/lxdialog/dialog.h:128: warning: data definition has no type or storage class scripts/kconfig/lxdialog/dialog.h:129: error: syntax error before 'use_shadow' ... 原因:缺少ncurses devel套件(name "libncurses5-dev" in Ubuntu) 解决方法:安装即可 #apt-get install libncurses5-dev

posted @ 2012-03-13 15:00  硅谷芯微嵌入式园地  阅读(394)  评论(0编辑  收藏  举报