LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 536|回复: 0

编译内核2.6.11.10时出现checklist.o错误,提示缺少了course.h文件,请问这个文件是什么

[复制链接]
发表于 2005-5-30 23:48:13 | 显示全部楼层 |阅读模式
编译内核2.6.11.10时出现checklist.o错误,提示缺少了course.h文件,请问这个文件是什么包的。

出错的详细内容:
make[2]: *** [scripts/lxdialog/checklist.o] Error 1make[1]: *** [menuconfig] Error 2 (2005-02-26 10:48:51)
HOSTCC scripts/lxdialog/checklist.o
In file included from scripts/lxdialog/checklist.c:24:
scripts/lxdialog/dialog.h:32:20: curses.h: ûÓÐÄǸöÎļþ»òĿ¼
In file included from scripts/lxdialog/checklist.c:24:
scripts/lxdialog/dialog.h:130: error: parse error before "use_colors"
scripts/lxdialog/dialog.h:130: warning: type defaults to `int' in declaration of
`use_colors'
scripts/lxdialog/dialog.h:130: warning: data definition has no type or storage c
lass
scripts/lxdialog/dialog.h:131: error: parse error before "use_shadow"
scripts/lxdialog/dialog.h:131: warning: type defaults to `int' in declaration of
`use_shadow'
scripts/lxdialog/dialog.h:131: warning: data definition has no type or storage c
lass
scripts/lxdialog/dialog.h:133: error: parse error before "attributes"
scripts/lxdialog/dialog.h:133: warning: type defaults to `int' in declaration of
`attributes'
scripts/lxdialog/dialog.h:133: warning: data definition has no type or storage c
lass
scripts/lxdialog/dialog.h:146: error: parse error before '*' token
scripts/lxdialog/dialog.h:146: warning: function declaration isn't a prototype
scripts/lxdialog/dialog.h:149: error: parse error before '*' token
scripts/lxdialog/dialog.h:149: warning: function declaration isn't a prototype
scripts/lxdialog/dialog.h:150: error: parse error before '*' token
scripts/lxdialog/dialog.h:150: warning: function declaration isn't a prototype
scripts/lxdialog/dialog.h:151: error: parse error before '*' token
scripts/lxdialog/dialog.h:152: warning: function declaration isn't a prototype
scripts/lxdialog/dialog.h:153: error: parse error before '*' token
scripts/lxdialog/dialog.h:153: warning: function declaration isn't a prototype
scripts/lxdialog/checklist.c:32: error: parse error before '*' token
scripts/lxdialog/checklist.c:34: warning: function declaration isn't a prototype
scripts/lxdialog/checklist.c: In function `print_item':
scripts/lxdialog/checklist.c:38: warning: implicit declaration of function `watt
rset'
scripts/lxdialog/checklist.c:38: error: `win' undeclared (first use in this func
tion)
scripts/lxdialog/checklist.c:38: error: (Each undeclared identifier is reported
only once
scripts/lxdialog/checklist.c:38: error: for each function it appears in.)
scripts/lxdialog/checklist.c:39: warning: implicit declaration of function `wmov
e'
scripts/lxdialog/checklist.c:39: error: `choice' undeclared (first use in this f
unction)
scripts/lxdialog/checklist.c:41: warning: implicit declaration of function `wadd
ch'
scripts/lxdialog/checklist.c:44: error: `selected' undeclared (first use in this
function)
scripts/lxdialog/checklist.c:46: warning: implicit declaration of function `wpri
ntw'
scripts/lxdialog/checklist.c:46: error: `status' undeclared (first use in this f
unction)
scripts/lxdialog/checklist.c:51: warning: implicit declaration of function `mvwa
ddch'
scripts/lxdialog/checklist.c:51: error: `item' undeclared (first use in this fun
ction)
scripts/lxdialog/checklist.c:53: warning: implicit declaration of function `wadd
str'
scripts/lxdialog/checklist.c:56: warning: implicit declaration of function `wref
resh'
scripts/lxdialog/checklist.c: At top level:
scripts/lxdialog/checklist.c:64: error: parse error before '*' token
scripts/lxdialog/checklist.c:66: warning: function declaration isn't a prototype
scripts/lxdialog/checklist.c: In function `print_arrows':
scripts/lxdialog/checklist.c:67: error: `win' undeclared (first use in this func
tion)
scripts/lxdialog/checklist.c:67: error: `y' undeclared (first use in this functi
on)
scripts/lxdialog/checklist.c:67: error: `x' undeclared (first use in this functi
on)
scripts/lxdialog/checklist.c:69: error: `scroll' undeclared (first use in this f
unction)
scripts/lxdialog/checklist.c:82: error: `height' undeclared (first use in this f
unction)
scripts/lxdialog/checklist.c:85: error: `item_no' undeclared (first use in this
function)
scripts/lxdialog/checklist.c:85: error: `choice' undeclared (first use in this f
unction)
scripts/lxdialog/checklist.c: At top level:
scripts/lxdialog/checklist.c:103: error: parse error before '*' token
scripts/lxdialog/checklist.c:104: warning: function declaration isn't a prototyp
e
scripts/lxdialog/checklist.c: In function `print_buttons':
scripts/lxdialog/checklist.c:105: error: `width' undeclared (first use in this f
unction)
scripts/lxdialog/checklist.c:106: error: `height' undeclared (first use in this
function)
scripts/lxdialog/checklist.c:108: error: `dialog' undeclared (first use in this
function)
scripts/lxdialog/checklist.c:108: error: `selected' undeclared (first use in thi
s function)
scripts/lxdialog/checklist.c: In function `dialog_checklist':
scripts/lxdialog/checklist.c:126: error: `WINDOW' undeclared (first use in this
function)
scripts/lxdialog/checklist.c:126: error: `dialog' undeclared (first use in this
function)
scripts/lxdialog/checklist.c:126: error: `list' undeclared (first use in this fu
nction)
scripts/lxdialog/checklist.c:126: warning: left-hand operand of comma expression
has no effect
scripts/lxdialog/checklist.c:132: warning: implicit declaration of function `end
win'
scripts/lxdialog/checklist.c:133: warning: implicit declaration of function `fpr
intf'
scripts/lxdialog/checklist.c:133: error: `stderr' undeclared (first use in this
function)
scripts/lxdialog/checklist.c:150: error: `COLS' undeclared (first use in this fu
nction)
scripts/lxdialog/checklist.c:151: error: `LINES' undeclared (first use in this f
unction)
scripts/lxdialog/checklist.c:153: error: `stdscr' undeclared (first use in this
function)
scripts/lxdialog/checklist.c:155: warning: implicit declaration of function `new
win'
scripts/lxdialog/checklist.c:156: warning: implicit declaration of function `key
pad'
scripts/lxdialog/checklist.c:156: error: `TRUE' undeclared (first use in this fu
nction)
scripts/lxdialog/checklist.c:189: warning: implicit declaration of function `sub
win'
scripts/lxdialog/checklist.c:221: warning: implicit declaration of function `wno
utrefresh'
scripts/lxdialog/checklist.c:223: warning: implicit declaration of function `dou
pdate'
scripts/lxdialog/checklist.c:226: warning: implicit declaration of function `wge
tch'
scripts/lxdialog/checklist.c:233: error: `KEY_UP' undeclared (first use in this
function)
scripts/lxdialog/checklist.c:233: error: `KEY_DOWN' undeclared (first use in thi
s function)
scripts/lxdialog/checklist.c:243: error: `FALSE' undeclared (first use in this f
unction)
scripts/lxdialog/checklist.c:244: warning: implicit declaration of function `scr
ollok'
scripts/lxdialog/checklist.c:245: warning: implicit declaration of function `wsc
rl'
scripts/lxdialog/checklist.c:272: error: called object is not a function
scripts/lxdialog/checklist.c:308: warning: implicit declaration of function `del
win'
scripts/lxdialog/checklist.c:312: error: `KEY_LEFT' undeclared (first use in thi
s function)
scripts/lxdialog/checklist.c:313: error: `KEY_RIGHT' undeclared (first use in th
is function)
scripts/lxdialog/checklist.c:126: warning: statement with no effect
scripts/lxdialog/checklist.c: At top level:
scripts/lxdialog/dialog.h:133: warning: array 'attributes' assumed to have one e
lement
make[2]: *** [scripts/lxdialog/checklist.o] Error 1
make[1]: *** [menuconfig] Error 2
make: *** [menuconfig] Error 2

系统环境RedHat Enterprise Linux AS 4基本安装。
01:glibc-kernheaders-2.4-9.1.87.i386.rpm
02:glibc-headers-2.3.4-2.i386.rpm
03:glibc-devel-2.3.4-2.i386.rpm
04:cpp-3.4.3-9.EL4.i386.rpm
05:gcc-3.4.3-9.EL4.i386.rpm
06:dialog-1.0.20040731-3.i386.rpm
安装了以上的这些包
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表