busybox编译心得

 

今天在Ubuntu9.04上编译busybox,执行make menuconfig后发现了如下错误

scripts/kconfig/lxdialog/checklist.c:283: warning: implicit declaration of function ‘delwin’

scripts/kconfig/lxdialog/checklist.c:287: error: ‘KEY_LEFT’ undeclared (first use in this function)

scripts/kconfig/lxdialog/checklist.c:288: 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

 

后来在网上查了一下,才知道是少了 libncurses5-dev 头文件,于是sudo apt-get install libncurses5-dev 安装后就好了。

你可能感兴趣的:(Android嵌入式系统开发)