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編譯環(huán)境使用yum,ubuntu使用apt-get,OpenSUSE使用zypper )
總結
以上是生活随笔為你收集整理的BRCM5.02编译九:cannot find -lncurses的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: BRCM5.02编译八: ERROR:
- 下一篇: BRCM5.02编译十:cmake: c