make menuconfig出错解决方法
分类: 系统运维
- 错误现象:
- make menuconfig
- In file included from scripts/kconfig/lxdialog/checklist.c:24:
- scripts/kconfig/lxdialog/dialog.h:31:20: error: curses.h: 没有那个文件或目录
- In file included from scripts/kconfig/lxdialog/checklist.c:24:
- scripts/kconfig/lxdialog/dialog.h:128: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘use_colors’
- scripts/kconfig/lxdialog/dialog.h:129: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘use_shadow’
- scripts/kconfig/lxdialog/dialog.h:131: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘attributes’
- scripts/kconfig/lxdialog/dialog.h:143: error: expected ‘)’ before ‘*’ token
- scripts/kconfig/lxdialog/dialog.h:146: error: expected ‘)’ before ‘*’ token
- scripts/kconfig/lxdialog/dialog.h:147: error: expected ‘)’ before ‘*’ token
- scripts/kconfig/lxdialog/dialog.h:148: error: expected ‘)’ before ‘*’ token
- scripts/kconfig/lxdialog/dialog.h:149: error: expected ‘)’ before ‘*’ token
- scripts/kconfig/lxdialog/dialog.h:151: error: expected ‘)’ before ‘*’ token
- scripts/kconfig/lxdialog/checklist.c:31: error: expected ‘)’ before ‘*’ token
- scripts/kconfig/lxdialog/checklist.c:59: error: expected ‘)’ before ‘*’ token
- scripts/kconfig/lxdialog/checklist.c:95: error: expected ‘)’ before ‘*’ token
- scripts/kconfig/lxdialog/checklist.c: In function ‘dialog_checklist’:
- scripts/kconfig/lxdialog/checklist.c:117: error: ‘WINDOW’ undeclared (first use in this function)
- scripts/kconfig/lxdialog/checklist.c:117: error: (Each undeclared identifier is reported only once
- scripts/kconfig/lxdialog/checklist.c:117: error: for each function it appears in.)
- scripts/kconfig/lxdialog/checklist.c:117: error: ‘dialog’ undeclared (first use in this function)
- scripts/kconfig/lxdialog/checklist.c:117: error: ‘list’ undeclared (first use in this function)
- scripts/kconfig/lxdialog/checklist.c:117: warning: left-hand operand of comma expression_r has no effect
- scripts/kconfig/lxdialog/checklist.c:121: warning: implicit declaration of function ‘endwin’
- scripts/kconfig/lxdialog/checklist.c:122: warning: implicit declaration of function ‘fprintf’
- scripts/kconfig/lxdialog/checklist.c:122: warning: incompatible implicit declaration of built-in function ‘fprintf’
- scripts/kconfig/lxdialog/checklist.c:122: error: ‘stderr’ undeclared (first use in this function)
- scripts/kconfig/lxdialog/checklist.c:140: error: ‘COLS’ undeclared (first use in this function)
- scripts/kconfig/lxdialog/checklist.c:141: error: ‘LINES’ undeclared (first use in this function)
- scripts/kconfig/lxdialog/checklist.c:143: warning: implicit declaration of function ‘draw_shadow’
- scripts/kconfig/lxdialog/checklist.c:143: error: ‘stdscr’ undeclared (first use in this function)
- scripts/kconfig/lxdialog/checklist.c:145: warning: implicit declaration of function ‘newwin’
- scripts/kconfig/lxdialog/checklist.c:146: warning: implicit declaration of function ‘keypad’
- scripts/kconfig/lxdialog/checklist.c:146: error: ‘TRUE’ undeclared (first use in this function)
- scripts/kconfig/lxdialog/checklist.c:148: warning: implicit declaration of function ‘draw_box’
- scripts/kconfig/lxdialog/checklist.c:148: error: ‘attributes’ undeclared (first use in this function)
- scripts/kconfig/lxdialog/checklist.c:149: warning: implicit declaration of function ‘wattrset’
- scripts/kconfig/lxdialog/checklist.c:150: warning: implicit declaration of function ‘mvwaddch’
- scripts/kconfig/lxdialog/checklist.c:152: warning: implicit declaration of function ‘waddch’
- scripts/kconfig/lxdialog/checklist.c:156: warning: implicit declaration of function ‘print_title’
- scripts/kconfig/lxdialog/checklist.c:159: warning: implicit declaration of function ‘print_autowrap’
- scripts/kconfig/lxdialog/checklist.c:166: warning: implicit declaration of function ‘subwin’
- scripts/kconfig/lxdialog/checklist.c:191: warning: implicit declaration of function ‘print_item’
- scripts/kconfig/lxdialog/checklist.c:197: warning: implicit declaration of function ‘print_arrows’
- scripts/kconfig/lxdialog/checklist.c:200: warning: implicit declaration of function ‘print_buttons’
- scripts/kconfig/lxdialog/checklist.c:202: warning: implicit declaration of function ‘wnoutrefresh’
- scripts/kconfig/lxdialog/checklist.c:204: warning: implicit declaration of function ‘doupdate’
- scripts/kconfig/lxdialog/checklist.c:207: warning: implicit declaration of function ‘wgetch’
- scripts/kconfig/lxdialog/checklist.c:214: error: ‘KEY_UP’ undeclared (first use in this function)
- scripts/kconfig/lxdialog/checklist.c:214: error: ‘KEY_DOWN’ undeclared (first use in this function)
- scripts/kconfig/lxdialog/checklist.c:224: error: ‘FALSE’ undeclared (first use in this function)
- scripts/kconfig/lxdialog/checklist.c:225: warning: implicit declaration of function ‘scrollok’
- scripts/kconfig/lxdialog/checklist.c:226: warning: implicit declaration of function ‘wscrl’
- scripts/kconfig/lxdialog/checklist.c:235: warning: implicit declaration of function ‘wrefresh’
- scripts/kconfig/lxdialog/checklist.c:285: warning: incompatible implicit declaration of built-in function ‘fprintf’
- scripts/kconfig/lxdialog/checklist.c:286: warning: implicit declaration of function ‘delwin’
- scripts/kconfig/lxdialog/checklist.c:290: error: ‘KEY_LEFT’ undeclared (first use in this function)
- scripts/kconfig/lxdialog/checklist.c:291: error: ‘KEY_RIGHT’ undeclared (first use in this function)
- make[2]: *** [scripts/kconfig/lxdialog/checklist.o] 错误 1
- make[1]: *** [menuconfig] 错误 2
- make: *** [menuconfig] 错误 2
- 解决方法:
- rhel系列安装ncurses-devel包
- ubuntu安装libncurses5-dev包
make menuconfig出错解决方法的更多相关文章
- vs连接mysql出错解决方法
vs连接mysql出错解决方法 先按以下的步骤配置一下: **- (1)打开VC6.0 工具栏Tools菜单下的Options选项.在Directories的标签页中右边的"Show dir ...
- $ sudo python -m pip install pylint 出错解决方法
问题:在unbuntu执行$ sudo python -m pip install pylint出错解决方法支行以下命令sudo pip install pylint==1.9.3这样roboware ...
- $ gulp watch 运行出错解决方法
$ gulp watch 运行出错解决方法 $ gulp watch 如果你出现了如下报错信息: gulp-notify: [Laravel Elixir] Browserify Fail ...
- make menuconfig error 解决方法记录
新建的一个虚拟机,发现make menuconfig 后会出错,查了一下是缺少一些库. 这个错误已经错了两次了,我不希望第三次出现了还想不起来,所以特此记录. # 错误信息: make[2]: *** ...
- Android 动画 setVisibility 后出错解决方法
===先说明下背景. 写的是个ListView 设置 adapter,并在列表末尾显示加载更多,点击 加载更多 时, 变成一个 圆环形的加载动画和 正在加载. 说明下,这个 加载动画是自己做得,一个圆 ...
- Windows Server 2012启用Windows功能NetFx3时出错解决方法
作者:冰点阳光 | 可以转载, 但必须以超链接形式标明文章原始出处和作者信息及版权声明网址:http://baohua.me/operating-system/windows-server-2012- ...
- Python3.7 Scrapy crawl 运行出错解决方法
安装的是Python3.7,装上依赖包和scrapy后运行爬虫命令出错 File "D:\Python37\lib\site-packages\scrapy\extensions\telne ...
- python 文字转语音包pyttsx安装出错解决方法
pyttsx的python的文字转语音的包,但是pyttsx的官方网站上资源只更新2012年,所以在py3中使用pip install pyttsx或者下载安装包进行安装时,虽然可以安装成功,但是im ...
- sql2008 附加数据库出错解决方法
当遇到 无法为此请求检索数据,(Microsoft.SqlServer.SmoEnum)其他信息执行Transact-Sql语句或批处理时发生了异常, Microsoft.SqlServer.Conn ...
随机推荐
- UML中关联(Association)、聚合(Aggregation)和合成(Composition)之间的区别
本文为 Dennis Gao 原创技术文章,发表于博客园博客,未经作者本人允许禁止任何形式的转载. 现在,我们需要设计一个项目管理系统,目前我们收集到了如下这些需求: REQ1:一个项目内有多名项目成 ...
- 使用media Queries实现一个响应式的菜单
Media queries是CSS3引入的一个特性,使用它可以方便的实现各种响应式效果.在这个示例中我们将会使用media queries实现一个响应式的菜单.这个菜单会根据当前浏览器屏幕的大小变化而 ...
- JS练习题1共7题
<p>1 一个新人入职,月工资为2000元的员工,每年涨工资5%,到退休时的月工资是多少?</p> <script> document.write(Math.rou ...
- PAIP.MYSQL SLEEP 连接太多解决
PAIP.MYSQL SLEEP 连接太多解决 作者Attilax 艾龙, EMAIL:1466519819@qq.com 来源:attilax的专栏 地址:http://blog.csdn.n ...
- atitit. orm mapping cfg 映射配置(3)-------hbnt one2maney cfg
atitit. orm mapping cfg 映射配置(3)-------hbnt one2maney cfg 1. 建立list 1 2. 配置xml 1 3. Hibernate中Set和L ...
- Which Clang Warning Is Generating This Message?
Which Clang Warning Is Generating This Message? 根据前面页面制作的pdf:clangwarninglist.pdf 百度网盘:http://pan.ba ...
- JQ属性和css部分测试
1.attr(name|properties|key,value|fn) 设置或返回被选元素的属性值. <div class="attr">设置或返回被选元素的属性值 ...
- 高可用性、负载均衡的mysql集群解决方案
高可用性.负载均衡的mysql集群解决方案 一.mysql的市场占有率 二.mysql为什么受到如此的欢迎 三.mysql数据库系统的优缺点 四.网络服务器的需求 五.什么是mysql的集群 六.什么 ...
- 如何编写一个PHP的C扩展
为什么要用C扩展 C是静态编译的,执行效率比PHP代码高很多.同样的运算代码,使用C来开发,性能会比PHP要提升数百倍.IO操作如CURL,因为耗时主要在IOWait上,C扩展没有明显优势. 另外C扩 ...
- Android基本功:手势
一.概念 手势:其实是指用户手指或触摸笔在屏幕上的连续触碰行为,Andoird对两种手势行为都提供了支持: Andorid提供了手势检测,并为手势检测提供了相应的监听器: Android允许开发者添加 ...