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 ...
随机推荐
- input text 的事件及方法
事件 描述onactivate 当对象设置为活动元素时触发.onafterupdate 当成功更新数据源对象中的关联对象后在数据绑定对象上触发.onbeforeactivate 对象要被设置为当前元素 ...
- [J2ME] 基本框架框架
import javax.microedition.lcdui.Command; import javax.microedition.lcdui.CommandListener; import jav ...
- https封装类,支持get/post请求
所需jar:commons-logging-1.1.3.jar.httpclient-4.3.1.jar.httpcore-4.3.jar package com.onlyou.microfinanc ...
- ubuntu下firefox无法看bilibili解决方案
突然发现,在ubuntu中使用firefox打开bilibili网站无法加载视频与弹幕,在网上搜到的可能的问题为:linux下的firefox使用的flash player是老版本,bilibili不 ...
- .net中对象序列化技术浅谈
.net中对象序列化技术浅谈 2009-03-11 阅读2756评论2 序列化是将对象状态转换为可保持或传输的格式的过程.与序列化相对的是反序列化,它将流转换为对象.这两个过程结合起来,可以轻松地存储 ...
- Atitit.java eval功能的实现 Compiler API
Atitit.java eval功能的实现 Compiler API 输出echo2 输出目录配置2 针对编译器,JDK 设计了两个接口,分别是 JavaCompiler 和JavaCompiler ...
- Atitit. 构造ast 语法树的总结attilax v2 q0f
Atitit. 构造ast 语法树的总结attilax v2 q0f 1. Ast结构树形1 2. ast view (自是个160k的jar )2 2.1. 多条语句ast结构2 2.2. 变量定义 ...
- atitit.客户端连接oracle数据库的方式总结
客户端连接oracle数据库的方式总结 目录 Java程序连接一般使用jar驱动连接..... 桌面GUI一般采取c语言驱动oci.dll 直接连接... 间接连接(需要配置tns及其envi var ...
- .NET Framework各版本汇总以及之间的关系
目录(?)[-] 原文链接:http://blog.csdn.net/kingmax54212008/article/details/25886345 NET Framework 版本关系 获取NET ...
- Java 泛型总结
1. 泛型类 class Gen<T> { private T t; public T get(){ return t; } public void set(T argt){ t = ar ...