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 ...
随机推荐
- 作业七:团队项目——Alpha版本冲刺阶段-02
昨天进展:框架设计以及菜单设计. 今天安排:完善界面设计以及象棋图片的绘制. 小组一共三人,陈芝航因家里有事,与我们进行了QQ视屏会议.
- MVC3不能正确识别JSON中的Enum枚举值
一.背景 在MVC3项目里,如果Action的参数中有Enum枚举作为对象属性的话,使用POST方法提交过来的JSON数据中的枚举值却无法正确被识别对应的枚举值. 二.Demo演示 为了说明问题,我使 ...
- 用dom操作替代正则表达式
在B/S结构客户端越来越“胖”的今天,作为一名全端程序员,您很可能会在前端操作html字符串,注意,是操作html字符串,不是操作当前页面的html. 举个例子,百度推出的在线HTML富文本编辑器Ue ...
- DDD基本概念
一条箴言是:如果值对象是可共享的,那么它们应该是不可变的.值对象应该保持很小.很简单 极力推荐将值对象实现为不可变的.它们由一个构造器创建,并且在它们的生命周期内永远不会被修改.当你想要得到这个对象的 ...
- 【原】在windows下使用VirtualEnv
VirtualEnv可以方便的解决不同项目中对类库的依赖问题.这通常是通过以下方式实现的:首先将常用的类库安装在系统环境中:然后为每个项目安装独立的类库环境.这样子可以保证每个项目都运行在独立的类库环 ...
- [Python爬虫] 在Windows下安装PIP+Phantomjs+Selenium
最近准备深入学习Python相关的爬虫知识了,如果说在使用Python爬取相对正规的网页使用"urllib2 + BeautifulSoup + 正则表达式"就能搞定的话:那么动态 ...
- paip.自动import的实现跟java.lang.SecurityException Prohibited package name java
paip.自动import的实现跟java.lang.SecurityException Prohibited package name java #-----自动import 因为java.lang ...
- paip.java c# .net php python调用c++ c dll so windows api 总结
paip.java c# .net php python调用c++ c dll so windows api 总结 作者Attilax 艾龙, EMAIL:1466519819@qq.com 来 ...
- php读取大文件的方法
1.使用file 函数直接读取 $starttime = microtime_float(); ini_set('memory_limit','-1'); $file = "testfile ...
- [IOS]IOS UI指南
[IOS]IOS UI指南 众所周知,IOS的界面设计,越来越流行,可以说都形成了一个标准,搜集了一些资料,供自己以后学习使用! iOS Human Interface Guidelines (中文翻 ...