Fedora缺少头文件curses.h的解决 cygwin 缺少头文件

Fedora12在配置BusyBox时make menuconfig时出现

HOSTCCscripts/kconfig/lxdialog/checklist.o
In file included fromscripts/kconfig/lxdialog/checklist.c:24:
scripts/kconfig/lxdialog/dialog.h:31:20: error: curses.h: No suchfile or directory
In file included fromscripts/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)
Fedora缺少头文件curses.h的解决 cygwin 缺少头文件
scripts/kconfig/lxdialog/checklist.c:117: error: (Each undeclaredidentifier is reported only once
scripts/kconfig/lxdialog/checklist.c:117: error: for each functionit 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-handoperand of comma expression has no effect
scripts/kconfig/lxdialog/checklist.c:121: warning: implicitdeclaration of function ‘endwin’
scripts/kconfig/lxdialog/checklist.c:122: warning: implicitdeclaration of function ‘fprintf’
scripts/kconfig/lxdialog/checklist.c:122: warning: incompatibleimplicit 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: implicitdeclaration 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: implicitdeclaration of function ‘newwin’
scripts/kconfig/lxdialog/checklist.c:146: warning: implicitdeclaration of function ‘keypad’
scripts/kconfig/lxdialog/checklist.c:146: error: ‘TRUE’ undeclared(first use in this function)
scripts/kconfig/lxdialog/checklist.c:148: warning: implicitdeclaration 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: implicitdeclaration of function ‘wattrset’
scripts/kconfig/lxdialog/checklist.c:150: warning: implicitdeclaration of function ‘mvwaddch’
scripts/kconfig/lxdialog/checklist.c:152: warning: implicitdeclaration of function ‘waddch’
scripts/kconfig/lxdialog/checklist.c:156: warning: implicitdeclaration of function ‘print_title’
scripts/kconfig/lxdialog/checklist.c:159: warning: implicitdeclaration of function ‘print_autowrap’
scripts/kconfig/lxdialog/checklist.c:166: warning: implicitdeclaration of function ‘subwin’
scripts/kconfig/lxdialog/checklist.c:190: warning: implicitdeclaration of function ‘print_item’
scripts/kconfig/lxdialog/checklist.c:194: warning: implicitdeclaration of function ‘print_arrows’
scripts/kconfig/lxdialog/checklist.c:197: warning: implicitdeclaration of function ‘print_buttons’
scripts/kconfig/lxdialog/checklist.c:199: warning: implicitdeclaration of function ‘wnoutrefresh’
scripts/kconfig/lxdialog/checklist.c:201: warning: implicitdeclaration of function ‘doupdate’
scripts/kconfig/lxdialog/checklist.c:204: warning: implicitdeclaration of function ‘wgetch’
scripts/kconfig/lxdialog/checklist.c:211: error: ‘KEY_UP’undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:211: error: ‘KEY_DOWN’undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:221: error: ‘FALSE’ undeclared(first use in this function)
scripts/kconfig/lxdialog/checklist.c:222: warning: implicitdeclaration of function ‘scrollok’
scripts/kconfig/lxdialog/checklist.c:223: warning: implicitdeclaration of function ‘wscrl’
scripts/kconfig/lxdialog/checklist.c:232: warning: implicitdeclaration of function ‘wrefresh’
scripts/kconfig/lxdialog/checklist.c:282: warning: incompatibleimplicit declaration of built-in function ‘fprintf’
scripts/kconfig/lxdialog/checklist.c:283: warning: implicitdeclaration of function ‘delwin’
scripts/kconfig/lxdialog/checklist.c:287: error: ‘KEY_LEFT’undeclared (first use in this function)
scripts/kconfig/lxdialog/checklist.c:288: error: ‘KEY_RIGHT’undeclared (first use in this function)

解决方法为
安装一个kernel-devel开发包

yum install kernel-devel

yum install ncurses-devel.i686

  

爱华网本文地址 » http://www.aihuau.com/a/25101014/202723.html

更多阅读

文件打开方式错误的解决办法 yy错误汇报 解决办法

文件打开方式错误的解决办法——简介读者朋友经常碰到打开方式错误导致文件无法正常使用,今天小编就教大家如何通过扩展名显示选择相应的文件打开方式文件打开方式错误的解决办法——工具/原料电脑文件打开方式错误的解决办法——方

Win7系统修改hosts文件不能保存的解决方法 精 苹果系统hosts文件

由于软件注册的原因,我需要更改hosts文件来防止服务器验证!那么在我们修改这个文件的时候,修改完成之后发现保存不了,这种情况我们该怎样解决呢,难道就不能修改了吗?下面我们一起看看解决的方法吧!Win7系统修改hosts文件不能保存的解决

Windows无法验证发行者的解决方法 ipa文件

Windows无法验证发行者的解决方法——简介【由于无法验证发布者,所以Windows已经阻止此软件】【Windows已经阻止此软件因为无法验证发行者】有时我们安装网页插件,需要下载安装时会提示Windows无法验证发行者而无法安装的情况,以下是

声明:《Fedora缺少头文件curses.h的解决 cygwin 缺少头文件》为网友绿妒轻裙分享!如侵犯到您的合法权益请联系我们删除