当前位置: 首页 > news >正文

make menuconfig出错解决方法

  make menuconfig出错解决方法 2011-06-11 22:22:49

分类: 系统运维

 


  1. 错误现象:
  2. make menuconfig
  3. In file included from scripts/kconfig/lxdialog/checklist.c:24:
  4. scripts/kconfig/lxdialog/dialog.h:31:20: error: curses.h: 没有那个文件或目录
  5. In file included from scripts/kconfig/lxdialog/checklist.c:24:
  6. scripts/kconfig/lxdialog/dialog.h:128: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘use_colors’
  7. scripts/kconfig/lxdialog/dialog.h:129: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘use_shadow’
  8. scripts/kconfig/lxdialog/dialog.h:131: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘attributes’
  9. scripts/kconfig/lxdialog/dialog.h:143: error: expected ‘)’ before ‘*’ token
  10. scripts/kconfig/lxdialog/dialog.h:146: error: expected ‘)’ before ‘*’ token
  11. scripts/kconfig/lxdialog/dialog.h:147: error: expected ‘)’ before ‘*’ token
  12. scripts/kconfig/lxdialog/dialog.h:148: error: expected ‘)’ before ‘*’ token
  13. scripts/kconfig/lxdialog/dialog.h:149: error: expected ‘)’ before ‘*’ token
  14. scripts/kconfig/lxdialog/dialog.h:151: error: expected ‘)’ before ‘*’ token
  15. scripts/kconfig/lxdialog/checklist.c:31: error: expected ‘)’ before ‘*’ token
  16. scripts/kconfig/lxdialog/checklist.c:59: error: expected ‘)’ before ‘*’ token
  17. scripts/kconfig/lxdialog/checklist.c:95: error: expected ‘)’ before ‘*’ token
  18. scripts/kconfig/lxdialog/checklist.c: In function ‘dialog_checklist’:
  19. scripts/kconfig/lxdialog/checklist.c:117: error: ‘WINDOW’ undeclared (first use in this function)
  20. scripts/kconfig/lxdialog/checklist.c:117: error: (Each undeclared identifier is reported only once
  21. scripts/kconfig/lxdialog/checklist.c:117: error: for each function it appears in.)
  22. scripts/kconfig/lxdialog/checklist.c:117: error: ‘dialog’ undeclared (first use in this function)
  23. scripts/kconfig/lxdialog/checklist.c:117: error: ‘list’ undeclared (first use in this function)
  24. scripts/kconfig/lxdialog/checklist.c:117: warning: left-hand operand of comma expression_r has no effect
  25. scripts/kconfig/lxdialog/checklist.c:121: warning: implicit declaration of function ‘endwin’
  26. scripts/kconfig/lxdialog/checklist.c:122: warning: implicit declaration of function ‘fprintf’
  27. scripts/kconfig/lxdialog/checklist.c:122: warning: incompatible implicit declaration of built-in function ‘fprintf’
  28. scripts/kconfig/lxdialog/checklist.c:122: error: ‘stderr’ undeclared (first use in this function)
  29. scripts/kconfig/lxdialog/checklist.c:140: error: ‘COLS’ undeclared (first use in this function)
  30. scripts/kconfig/lxdialog/checklist.c:141: error: ‘LINES’ undeclared (first use in this function)
  31. scripts/kconfig/lxdialog/checklist.c:143: warning: implicit declaration of function ‘draw_shadow’
  32. scripts/kconfig/lxdialog/checklist.c:143: error: ‘stdscr’ undeclared (first use in this function)
  33. scripts/kconfig/lxdialog/checklist.c:145: warning: implicit declaration of function ‘newwin’
  34. scripts/kconfig/lxdialog/checklist.c:146: warning: implicit declaration of function ‘keypad’
  35. scripts/kconfig/lxdialog/checklist.c:146: error: ‘TRUE’ undeclared (first use in this function)
  36. scripts/kconfig/lxdialog/checklist.c:148: warning: implicit declaration of function ‘draw_box’
  37. scripts/kconfig/lxdialog/checklist.c:148: error: ‘attributes’ undeclared (first use in this function)
  38. scripts/kconfig/lxdialog/checklist.c:149: warning: implicit declaration of function ‘wattrset’
  39. scripts/kconfig/lxdialog/checklist.c:150: warning: implicit declaration of function ‘mvwaddch’
  40. scripts/kconfig/lxdialog/checklist.c:152: warning: implicit declaration of function ‘waddch’
  41. scripts/kconfig/lxdialog/checklist.c:156: warning: implicit declaration of function ‘print_title’
  42. scripts/kconfig/lxdialog/checklist.c:159: warning: implicit declaration of function ‘print_autowrap’
  43. scripts/kconfig/lxdialog/checklist.c:166: warning: implicit declaration of function ‘subwin’
  44. scripts/kconfig/lxdialog/checklist.c:191: warning: implicit declaration of function ‘print_item’
  45. scripts/kconfig/lxdialog/checklist.c:197: warning: implicit declaration of function ‘print_arrows’
  46. scripts/kconfig/lxdialog/checklist.c:200: warning: implicit declaration of function ‘print_buttons’
  47. scripts/kconfig/lxdialog/checklist.c:202: warning: implicit declaration of function ‘wnoutrefresh’
  48. scripts/kconfig/lxdialog/checklist.c:204: warning: implicit declaration of function ‘doupdate’
  49. scripts/kconfig/lxdialog/checklist.c:207: warning: implicit declaration of function ‘wgetch’
  50. scripts/kconfig/lxdialog/checklist.c:214: error: ‘KEY_UP’ undeclared (first use in this function)
  51. scripts/kconfig/lxdialog/checklist.c:214: error: ‘KEY_DOWN’ undeclared (first use in this function)
  52. scripts/kconfig/lxdialog/checklist.c:224: error: ‘FALSE’ undeclared (first use in this function)
  53. scripts/kconfig/lxdialog/checklist.c:225: warning: implicit declaration of function ‘scrollok’
  54. scripts/kconfig/lxdialog/checklist.c:226: warning: implicit declaration of function ‘wscrl’
  55. scripts/kconfig/lxdialog/checklist.c:235: warning: implicit declaration of function ‘wrefresh’
  56. scripts/kconfig/lxdialog/checklist.c:285: warning: incompatible implicit declaration of built-in function ‘fprintf’
  57. scripts/kconfig/lxdialog/checklist.c:286: warning: implicit declaration of function ‘delwin’
  58. scripts/kconfig/lxdialog/checklist.c:290: error: ‘KEY_LEFT’ undeclared (first use in this function)
  59. scripts/kconfig/lxdialog/checklist.c:291: error: ‘KEY_RIGHT’ undeclared (first use in this function)
  60. make[2]: *** [scripts/kconfig/lxdialog/checklist.o] 错误 1
  61. make[1]: *** [menuconfig] 错误 2
  62. make: *** [menuconfig] 错误 2
  63. 解决方法:
  64. rhel系列安装ncurses-devel包
  65. ubuntu安装libncurses5-dev包

相关文章:

  • 二级菜单制作
  • iOS长按控件
  • ftp备份服务器数据完整性检查并实现短信告警功能的shell
  • 二叉树遍历算法之二:中序遍历
  • The network connection was lost.
  • 网络编程使用代理方法 , 简化请求和响应
  • jsp的标签和EL表达式
  • DEBUG命令详细说明
  • 网页中多个图标在一张图片上,使用css将各图标显示
  • C++容易忽略的细节
  • vim+ctags+cscope 常用技巧和命令
  • IT公司100题-13-求链表中倒数第k个结点
  • Log aggregation has not completed or is not enabled.
  • linux安装scikit-learn
  • JavaMail:搜索、过滤接收邮件,删除邮件
  • [原]深入对比数据科学工具箱:Python和R 非结构化数据的结构化
  • 2017-09-12 前端日报
  • 5、React组件事件详解
  • 8年软件测试工程师感悟——写给还在迷茫中的朋友
  • Codepen 每日精选(2018-3-25)
  • CSS魔法堂:Absolute Positioning就这个样
  • electron原来这么简单----打包你的react、VUE桌面应用程序
  • JS创建对象模式及其对象原型链探究(一):Object模式
  • laravel with 查询列表限制条数
  • PAT A1092
  • Python中eval与exec的使用及区别
  • springMvc学习笔记(2)
  • vue2.0开发聊天程序(四) 完整体验一次Vue开发(下)
  • Vue--数据传输
  • 半理解系列--Promise的进化史
  • 纯 javascript 半自动式下滑一定高度,导航栏固定
  • 解析带emoji和链接的聊天系统消息
  • 我从编程教室毕业
  • Prometheus VS InfluxDB
  • # 数据结构
  • ( )的作用是将计算机中的信息传送给用户,计算机应用基础 吉大15春学期《计算机应用基础》在线作业二及答案...
  • (1)(1.8) MSP(MultiWii 串行协议)(4.1 版)
  • (1)bark-ml
  • (poj1.2.1)1970(筛选法模拟)
  • (Python) SOAP Web Service (HTTP POST)
  • (动手学习深度学习)第13章 计算机视觉---图像增广与微调
  • (附源码)spring boot基于小程序酒店疫情系统 毕业设计 091931
  • (附源码)springboot 智能停车场系统 毕业设计065415
  • (附源码)ssm码农论坛 毕业设计 231126
  • (每日持续更新)jdk api之StringBufferInputStream基础、应用、实战
  • (四)【Jmeter】 JMeter的界面布局与组件概述
  • (四)Linux Shell编程——输入输出重定向
  • (转)Windows2003安全设置/维护
  • ***linux下安装xampp,XAMPP目录结构(阿里云安装xampp)
  • .net CHARTING图表控件下载地址
  • .NET Standard 的管理策略
  • .NET 实现 NTFS 文件系统的硬链接 mklink /J(Junction)
  • .NET 中各种混淆(Obfuscation)的含义、原理、实际效果和不同级别的差异(使用 SmartAssembly)
  • /etc/X11/xorg.conf 文件被误改后进不了图形化界面
  • :=