Android make menuconfig make[1]: *** [scripts/kconfig/mconf] 错误 1

在构建Android系统时遇到'make menuconfig'错误,提示'make[1]: *** [scripts/kconfig/mconf] 错误 1'。解决这个问题的方法是通过执行'sudo apt-get install libncurses5-dev'来安装缺失的libncurses5-dev依赖包。
摘要由CSDN通过智能技术生成
 HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/lxdialog/checklist.o
  HOSTCC  scripts/kconfig/lxdialog/inputbox.o
  HOSTCC  scripts/kconfig/lxdialog/menubox.o
  HOSTCC  scripts/kconfig/lxdialog/textbox.o
scripts/kconfig/lxdialog/textbox.c: 在函数‘print_line’中:
scripts/kconfig/lxdialog/textbox.c:323:9: 警告: 变量‘x’被设定但未被使用 [-Wunused-but-set-variable]
scripts/kconfig/lxdialog/textbox.c:323:6: 警告: 变量‘y’被设定但未被使用 [-Wunused-but-set-variable]
  HOSTCC  scripts/kconfig/lxdialog/util.o
  HOSTCC  scripts/kconfig/lxdialog/yesno.o
  HOSTCC  scripts/kconfig/mconf.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/lex.zconf.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/mconf
scripts/kconfig/mconf.o: In function `show_help':
mconf.c:(.text+0x744): undefined reference to `stdscr'
scripts/kconfig/mconf.o: In function `main':
mconf.c:(.text.startup+0x66): undefined reference to `initscr'
mconf.c:(.text.startup+0x6d): undefined reference to `stdscr'
scripts/kconfig/lxdialog/checklist.o: In function `print_arrows':
checklist.c:(.text+0x41): undefined reference to `wmove'
checklist.c:(.text+0x61): undefined reference to `acs_map'
checklist.c:(.text+0x69): undefined reference to `waddch'
checklist.c:(.text+0x7b): undefined reference to `waddnstr'
checklist.c:(.text+0x8c): undefined reference to `wmove'
checklist.c:(.text+0xb3): undefined reference to `acs_map'
checklist.c:(.text+0xbb): undefined reference to `waddch'
checklist.c:(.text+0x10b): undefined reference to `acs_map'
checklist.c:(.text+0x113): undefined reference to `waddch'
checklist.c:(.text+0x11a): undefined reference to `acs_map'
checklist.c:(.text+0x122): undefined reference to `waddch'
checklist.c:(.text+0x129): undefined reference to `acs_map'
checklist.c:(.text+0x131): undefined reference to `waddch'
checklist.c:(.text+0x138): undefined reference to `acs_map'
checklist.c:(.text+0x183): undefined reference to `acs_map'
checklist.c:(.text+0x18b): undefined reference to `waddch'
checklist.c:(.text+0x192): undefined reference to `acs_map'
checklist.c:(.text+0x19a): undefined reference to `waddch'
checklist.c:(.text+0x1a1): undefined reference to `acs_map'
checklist.c:(.text+0x1a9): undefined reference to `waddch'
checklist.c:(.text+0x1b0): undefined reference to `acs_map'
checklist.c:(.text+0x1b8): undefined reference to `waddch'
scripts/kconfig/lxdialog/checklist.o: In function `print_item':
checklist.c:(.text+0x240): undefined reference to `wmove'
checklist.c:(.text+0x265): undefined reference to `waddch'
checklist.c:(.text+0x27f): undefined reference to `wmove'
checklist.c:(.text+0x2d8): undefined reference to `wmove'
checklist.c:(.text+0x2ea): undefined reference to `waddch'
checklist.c:(.text+0x316): undefined reference to `waddnstr'
checklist.c:(.text+0x32f): undefined reference to `wmove'
checklist.c:(.text+0x337): undefined reference to `wrefresh'
checklist.c:(.text+0x370): undefined reference to `wprintw'
scripts/kconfig/lxdialog/checklist.o: In function `print_buttons':
checklist.c:(.text+0x419): undefined reference to `wmove'
scripts/kconfig/lxdialog/checklist.o: In function `dialog_checklist':
checklist.c:(.text+0x517): undefined reference to `stdscr'
checklist.c:(.text+0x569): undefined reference to `COLS'
checklist.c:(.text+0x57d): undefined reference to `stdscr'
checklist.c:(.text+0x58d): undefined reference to `LINES'
checklist.c:(.text+0x5bf): undefined reference to `newwin'
checklist.c:(.text+0x5cf): undefined reference to `keypad'
checklist.c:(.text+0x614): undefined reference to `wmove'
checklist.c:(.text+0x620): undefined reference to `acs_map'
checklist.c:(.text+0x628): undefined reference to `waddch'
checklist.c:(.text+0x653): undefined reference to `acs_map'
checklist.c:(.text+0x65e): undefined reference to `waddch'
checklist.c:(.text+0x690): undefined reference to `acs_map'
checklist.c:(.text+0x695): undefined reference to `waddch'
checklist.c:(.text+0x6f3): undefined reference to `subwin'
checklist.c:(.text+0x705): undefined reference to `keypad'
checklist.c:(.text+0x891): undefined reference to `wnoutrefresh'
checklist.c:(.text+0x89b): undefined reference to `wnoutrefresh'
checklist.c:(.text+0x8a0): undefined reference to `doupdate'
checklist.c:(.text+0x8b9): undefined reference to `wgetch'
checklist.c:(.text+0x9e9): undefined reference to `doupdate'
checklist.c:(.text+0xa01): undefined reference to `delwin'
checklist.c:(.text+0xa09): undefined reference to `delwin'
checklist.c:(.text+0xa69): undefined reference to `scrollok'
checklist.c:(.text+0xa78): undefined reference to `wscrl'
checklist.c:(.text+0xa84): undefined reference to `scrollok'
checklist.c:(.text+0xad8): undefined reference to `wnoutrefresh'
checklist.c:(.text+0xae2): undefined reference to `wrefresh'
checklist.c:(.text+0xb5d): undefined reference to `wnoutrefresh'
checklist.c:(.text+0xb67): undefined reference to `wrefresh'
checklist.c:(.text+0xbf2): undefined reference to `delwin'
ch
  • 1
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值