QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 874|回复: 2

编译缺少什么文件呢?

[复制链接]
发表于 2006-4-7 16:13:25 | 显示全部楼层 |阅读模式
上面省略无数行


In file included from /root/Desktop/old_orinoco_package_from_cvs/orinoco_package_success/orinoco_pci.c:118:
/root/Desktop/old_orinoco_package_from_cvs/orinoco_package_success/hermes.h: In function `hermes_present':
/root/Desktop/old_orinoco_package_from_cvs/orinoco_package_success/hermes.h:453: warning: passing arg 1 of `readw' makes pointer from integer without a cast
/root/Desktop/old_orinoco_package_from_cvs/orinoco_package_success/hermes.h: In function `hermes_set_irqmask':
/root/Desktop/old_orinoco_package_from_cvs/orinoco_package_success/hermes.h:459: warning: passing arg 2 of `writew' makes pointer from integer without a cast
/root/Desktop/old_orinoco_package_from_cvs/orinoco_package_success/hermes.h: In function `hermes_read_words':
/root/Desktop/old_orinoco_package_from_cvs/orinoco_package_success/hermes.h:500: warning: passing arg 1 of `readw' makes pointer from integer without a cast
/root/Desktop/old_orinoco_package_from_cvs/orinoco_package_success/hermes.h: In function `hermes_write_words':
/root/Desktop/old_orinoco_package_from_cvs/orinoco_package_success/hermes.h:520: warning: passing arg 2 of `writew' makes pointer from integer without a cast
/root/Desktop/old_orinoco_package_from_cvs/orinoco_package_success/hermes.h: In function `hermes_clear_words':
/root/Desktop/old_orinoco_package_from_cvs/orinoco_package_success/hermes.h:536: warning: passing arg 2 of `writew' makes pointer from integer without a cast
/root/Desktop/old_orinoco_package_from_cvs/orinoco_package_success/orinoco_pci.c: In function `orinoco_pci_cor_reset':
/root/Desktop/old_orinoco_package_from_cvs/orinoco_package_success/orinoco_pci.c:159: warning: passing arg 2 of `writew' makes pointer from integer without a cast
/root/Desktop/old_orinoco_package_from_cvs/orinoco_package_success/orinoco_pci.c:165: warning: passing arg 2 of `writew' makes pointer from integer without a cast
/root/Desktop/old_orinoco_package_from_cvs/orinoco_package_success/orinoco_pci.c:172: warning: passing arg 1 of `readw' makes pointer from integer without a cast
/root/Desktop/old_orinoco_package_from_cvs/orinoco_package_success/orinoco_pci.c:175: warning: passing arg 1 of `readw' makes pointer from integer without a cast
/root/Desktop/old_orinoco_package_from_cvs/orinoco_package_success/orinoco_pci.c: In function `orinoco_pci_suspend':
/root/Desktop/old_orinoco_package_from_cvs/orinoco_package_success/orinoco_pci.c:332: error: too many arguments to function `pci_save_state'
/root/Desktop/old_orinoco_package_from_cvs/orinoco_package_success/orinoco_pci.c: In function `orinoco_pci_resume':

/root/Desktop/old_orinoco_package_from_cvs/orinoco_package_success/orinoco_pci.c:347: error: too many arguments to function `pci_restore_state'
/root/Desktop/old_orinoco_package_from_cvs/orinoco_package_success/orinoco_pci.c: At top level:
/root/Desktop/old_orinoco_package_from_cvs/orinoco_package_success/orinoco_pci.c:392: warning: initialization from incompatible pointer type
make[2]: *** [/root/Desktop/old_orinoco_package_from_cvs/orinoco_package_success/orinoco_pci.o] 错误 1
make[1]: *** [_module_/root/Desktop/old_orinoco_package_from_cvs/orinoco_package_success] 错误 2
make[1]: Leaving directory `/lib/modules/2.6.15.3/build'
make: *** [modules] 错误 2
[root@MagicLinux orinoco_package_success]#
发表于 2006-4-7 16:16:35 | 显示全部楼层
去kernel.org下一个最新的编译吧,说笑的。
不过这个问题好奇怪,没遇到过,按道理kernel不需要其他的库吧。
前面作了正确的配置吗?还是修改过代码?
回复

使用道具 举报

发表于 2006-4-7 18:32:50 | 显示全部楼层
这应该不是kernel的code?

CVS的东西,不一定可以编译。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-25 02:37 , Processed in 0.085730 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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