现象:

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 )


©著作权归作者所有:来自51CTO博客作者wangxinyu2011的原创作品,如需转载,请注明出处,否则将追究法律责任

更多相关文章

  1. BRCM5.02编译五: fatal error: uuid/uuid.h: No such file or dir
  2. BRCM5.02编译二:Error: Could not retreive version from automak
  3. BRCM5.02编译八: ERROR: you are missing a basic functioning pe
  4. BRCM5.02编译四: ERROR: lzo/lzo1x.h development library is req
  5. BRCM5.02编译七:No package 'uuid' found
  6. BRCM5.02编译三 : Error: Could not retreive version from libto
  7. BRCM5.02编译一 : 缺少工具链路
  8. ssh登录日志收集
  9. ubuntu下安装交叉编译的环境脚本

随机推荐

  1. Facebook的DevOps案例研究与相关工具[每
  2. Linux基础-14day-Linux系统服务管理
  3. Chrome 74 带来的新功能[每日前端夜话0x6
  4. 杀手级的TypeScript功能:const断言[每日前
  5. 13个帮你提高开发效率的现代CSS框架[每日
  6. Android的联通性---USB的主机模式和从属
  7. 30分钟用Node.js构建一个API服务器[每日
  8. 可以用在 VS Code 中的正则表达式小技巧[
  9. 聊聊我的 2018 年
  10. 新发布的 TypeScript 3.5 RC 作出的改进