QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 925|回复: 0

编译内核2.6.0-test2时出现的问题,请帮我看看

[复制链接]
发表于 2003-11-6 20:54:56 | 显示全部楼层 |阅读模式
我按照http://www.linuxsir.com/bbs/showthread.php?s=32c1f7aeb635ff8bc9b3b2f56b11f667&threadid=57057&goto=nextoldest
这篇文档编译
进行到#make modules的时候提示下列错误
是不是我配置内核的时候什么地方选错了.
//错误信息
drivers/char/epca.c: In function `pc_close':
drivers/char/epca.c:504: warning: implicit declaration of function `save_flags'
drivers/char/epca.c:505: warning: implicit declaration of function `cli'
drivers/char/epca.c:509: warning: implicit declaration of function `restore_flags'
drivers/char/epca.c:494: warning: `flags' might be used uninitialized in this function
drivers/char/epca.c: In function `shutdown':
drivers/char/epca.c:590: warning: `flags' might be used uninitialized in this function
drivers/char/epca.c: In function `pc_hangup':
drivers/char/epca.c:653: warning: `flags' might be used uninitialized in this function
drivers/char/epca.c: In function `pc_write':
drivers/char/epca.c:689: warning: `flags' might be used uninitialized in this function
drivers/char/epca.c: In function `pc_write_room':
drivers/char/epca.c:983: warning: `flags' might be used uninitialized in this function
drivers/char/epca.c: In function `pc_chars_in_buffer':
drivers/char/epca.c:1034: warning: `flags' might be used uninitialized in this function
drivers/char/epca.c: In function `pc_flush_buffer':
drivers/char/epca.c:1102: warning: `flags' might be used uninitialized in this function
drivers/char/epca.c: In function `pc_flush_chars':
drivers/char/epca.c:1150: warning: `flags' might be used uninitialized in this function
drivers/char/epca.c: In function `block_til_ready':
drivers/char/epca.c:1176: warning: `flags' might be used uninitialized in this function
drivers/char/epca.c: In function `pc_open':
drivers/char/epca.c:1293: warning: `flags' might be used uninitialized in this function
drivers/char/epca.c: In function `epca_module_init':
drivers/char/epca.c:1435: warning: `flags' might be used uninitialized in this function
drivers/char/epca.c: In function `epca_module_exit':
drivers/char/epca.c:1463: warning: `flags' might be used uninitialized in this function
drivers/char/epca.c: In function `pc_init':
drivers/char/epca.c:1564: warning: `flags' might be used uninitialized in this function
drivers/char/epca.c: In function `epcapoll':
drivers/char/epca.c:2103: warning: `flags' might be used uninitialized in this function
drivers/char/epca.c: In function `pc_ioctl':
drivers/char/epca.c:2939: warning: `flags' might be used uninitialized in this function
drivers/char/epca.c: In function `pc_set_termios':
drivers/char/epca.c:3257: warning: `flags' might be used uninitialized in this function
drivers/char/epca.c: In function `do_softint':
drivers/char/epca.c:3315: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at include/linux/module.h:494)
drivers/char/epca.c: In function `pc_stop':
drivers/char/epca.c:3329: warning: `flags' might be used uninitialized in this function
drivers/char/epca.c: In function `pc_start':
drivers/char/epca.c:3377: warning: `flags' might be used uninitialized in this function
drivers/char/epca.c: In function `pc_throttle':
drivers/char/epca.c:3422: warning: `flags' might be used uninitialized in this function
drivers/char/epca.c: In function `pc_unthrottle':
drivers/char/epca.c:3456: warning: `flags' might be used uninitialized in this function
drivers/char/epca.c: In function `digi_send_break':
drivers/char/epca.c:3494: warning: `flags' might be used uninitialized in this function
drivers/char/epca.c: In function `setup_empty_event':
drivers/char/epca.c:3521: warning: `flags' might be used uninitialized in this function
  CC [M]  drivers/char/cyclades.o
drivers/char/cyclades.c: In function `cy_cleanup_module':
drivers/char/cyclades.c:5668: warning: unused variable `e2'
  CC [M]  drivers/char/stallion.o
drivers/char/stallion.c: In function `stl_init':
drivers/char/stallion.c:3176: warning: passing arg 3 of `devfs_mk_cdev' from incompatible pointer type
drivers/char/stallion.c: In function `stl_cd1400mdmisr':
drivers/char/stallion.c:4237: warning: implicit declaration of function `schedule_task'
  CC [M]  drivers/char/istallion.o
drivers/char/istallion.c: In function `istallion_module_exit':
drivers/char/istallion.c:851: warning: too few arguments for format
drivers/char/istallion.c: In function `stli_hostcmd':
drivers/char/istallion.c:2947: warning: implicit declaration of function `schedule_task'
  CC [M]  drivers/char/ip2.o
drivers/char/ip2.c: In function `init_module':
drivers/char/ip2.c:57: warning: `MOD_INC_USE_COUNT' is deprecated (declared at include/linux/module.h:482)
drivers/char/ip2.c:67: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at include/linux/module.h:494)
  CC [M]  drivers/char/ip2main.o
drivers/char/ip2/i2cmd.c:142: warning: `ct89' defined but not used
  CC [M]  drivers/char/riscom8.o
In file included from drivers/char/riscom8.c:51:
drivers/char/riscom8.h:84: field `tqueue' has incomplete type
drivers/char/riscom8.h:85: field `tqueue_hangup' has incomplete type
drivers/char/riscom8.c:84: warning: type defaults to `int' in declaration of `DECLARE_TASK_QUEUE'
drivers/char/riscom8.c:84: warning: parameter names (without types) in function declaration
drivers/char/riscom8.c:135: confused by earlier errors, bailing out
make[2]: *** [drivers/char/riscom8.o] Error 1
make[1]: *** [drivers/char] Error 2
make: *** [drivers] Error 2

//错误信息    end here


drivers/char/riscom8.o这个模块是用来干嘛的?
我不知道和make menuconfig中的那一项对应.


请明白的人讲讲吧
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-12-3 04:18 , Processed in 0.096708 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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