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 ...
随机推荐
- 深入理解java虚拟机【内存溢出实例】
通过简单的小例子程序,演示java虚拟机各部分内存溢出情况: (1).java堆溢出: Java堆用于存储实例对象,只要不断创建对象,并且保证GC Roots到对象之间有引用的可达,避免垃圾收集器回收 ...
- VR介绍
VR(Virtual Reality,即虚拟现实,简称VR),是由美国VPL公司创建人拉尼尔在20世纪80年代初提出的.其具体内涵是:综合利用计算机图形系统和各种现实及控制等接口设备,在计算机上生成的 ...
- C++ 类
<C++ Primer 4th>读书笔记 在 C++ 中,用类来定义自己的抽象数据类型(abstract data types).通过定义类型来对应所要解决的问题中的各种概念.最简单地说, ...
- js语法
需要<script language="javascript">标签: ||或者:二选一,满足为true.,否则为false &&与:同时满足,即为tr ...
- java集合类总结二
上篇已经总结了常用集合类的一些基本特征以及他们之间的区别,下面,再对集合类部分进行总结 一.集合类的常用方法 1.remove方法:移除元素操作,下面以ArrayList为例. import java ...
- git 日志格式化
alias.lg=log --graph --pretty=format:'%Cred%H%Creset @%C(yellow)%d%Creset %n Author: %cn <%ce> ...
- 17数据表&E-R模型&概念数据模型上-选学天轰穿大话数据库视频教程
大纲:解剖“数据表”,戏说E-R模型,概念数据模型(E-R 到 CDM),使用PowerDesigner创建概念模型,生成逻辑数据模型 土豆超清地址: 腾讯超清地址: 百度云盘下载地址:上传ing,稍 ...
- 我用了13行代碼開發出来的PHP框架
我只用13行代碼開發的PHP框架,如果您對框架不理解,不知道框架究竟幫您做了什麽事,可以下載此框架看一下, 另外如果您想開發自己的框架也可以由這個框架的思路進行擴展. 源碼下載地址:http://do ...
- lpxelinux启动linux
搭建环境: boot file 指定 lpxelinux.0 拷贝 lpxelinux.0 和 ldlinux.c32 到 tftp目录下. 新建pxelinux.cfg 文件夹, 里面放 ...
- A Xamarin.Forms Infinite Scrolling ListView
from:http://www.codenutz.com/lac09-xamarin-forms-infinite-scrolling-listview/ The last few months ha ...