|
楼主 |
发表于 2002-9-4 02:57:21
|
显示全部楼层
编译tulip.c时出现问题!
#more tulip.c
......
* Local variables:
* compile-command: "gcc -DMODULE -Wall -Wstrict-prototypes -O6 -c tulip.c"
* cardbus-compile-command: "gcc -DCARDBUS -DMODULE -Wall -Wstrict-prototypes -O6 -c tulip.c -o tulip_cb.o -I
/usr/src/pcmcia/include/"
* c-indent-level: 4
* c-basic-offset: 4
* tab-width: 4
* End:
*/
[root@zhaohh h]# gcc -DMODULE -Wall -Wstrict-prototypes -O6 -c tulip.c
In file included from tulip.c:153:
/usr/include/linux/interrupt.h:44:25: asm/hardirq.h: No such file or directory
/usr/include/linux/interrupt.h:45:25: asm/softirq.h: No such file or directory
In file included from /usr/include/linux/timex.h:152,
from /usr/include/linux/sched.h:14,
from /usr/include/linux/skbuff.h:19,
from tulip.c:157:
/usr/include/asm/timex.h:10:21: asm/msr.h: No such file or directory
In file included from /usr/include/linux/highmem.h:5,
from /usr/include/linux/skbuff.h:26,
from tulip.c:157:
/usr/include/asm/pgalloc.h:6:24: asm/fixmap.h: No such file or directory
不能成功编译出tulip.o,从信息上来看应该是缺少一些文件
但是这些文件我下载的内核源码里没有
请问这个问题怎么解决呢?
谢谢大家 |
|