BRCM5.02编译九:cannot find -lncurses

现象:

make[4]: Entering directory `/home/wangxinyu/work/AX1803/6755_sdk/bcmdrivers/broadcom/net/wl/impl61/main/components/router/config'

/usr/bin/ld: cannot find -lncurses

collect2: error: ld returned 1 exit status

>> Unable to find the Ncurses libraries.

>>

>> You must have Ncurses installed in order

>> to use 'make menuconfig'

>>

>> Maybe you want to try 'make config', which

>> doesn't depend on the Ncurses libraries.

make[4]: *** [ncurses] Error 1

make[4]: Leaving directory `/home/wangxinyu/work/AX1803/6755_sdk/bcmdrivers/broadcom/net/wl/impl61/main/components/router/config'

make[3]: *** [oldconf] Error 2

make[3]: Leaving directory `/home/wangxinyu/work/AX1803/6755_sdk/bcmdrivers/broadcom/net/wl/impl61/main/components/router'

make[2]: *** [oldconfig] Error 2

make[2]: Leaving directory `/home/wangxinyu/work/AX1803/6755_sdk/bcmdrivers/broadcom/net/wl/impl61'

make[1]: *** [hnd_dongle] Error 2

make[1]: Leaving directory `/home/wangxinyu/work/AX1803/6755_sdk'

make: *** [default] Error 2

 

解决方法

yum install ncurses* (安装全有相关的库)

(Centos7编译环境使用yum,ubuntu使用apt-get,OpenSUSE使用zypper )


上一篇:vue页面(vue Cannot GET /)


下一篇:maven jar包导入失败,Cannot resolve XXXXXXX