编译缺少什么文件呢?
上面省略无数行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: *** 错误 1
make: *** 错误 2
make: Leaving directory `/lib/modules/2.6.15.3/build'
make: *** 错误 2
# 去kernel.org下一个最新的编译吧,说笑的。
不过这个问题好奇怪,没遇到过,按道理kernel不需要其他的库吧。
前面作了正确的配置吗?还是修改过代码? 这应该不是kernel的code?
CVS的东西,不一定可以编译。
页:
[1]