|
我现在装的是RH 7.3网卡是mtd80 (将王的)前几天南北兄说可以不装驱动就用可是我怎么试都不行啊,具体问题如下:
[root@localhost root]# cd /tmp/card/mtd80
[root@localhost mtd80]# ls -a
. kern_compat.h Makefile~ pci-scan.c Readme.txt
.. Makefile mtd80x.c pci-scan.h
[root@localhost mtd80]# ./configure
bash: ./configure: No such file or directory
[root@localhost mtd80]# make
gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/include -O -Wall -Wstrict-prototypes -c -o pci-scan.o pci-scan.c
In file included from /usr/include/linux/timex.h:152,
from /usr/include/linux/sched.h:14,
from /usr/include/linux/mm.h:4,
from pci-scan.c:62:
/usr/include/asm/timex.h:10:21: asm/msr.h: No such file or directory
make: *** [pci-scan.o] Error 1
[root@localhost mtd80]# make install
gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/include -O -Wall -Wstrict-prototypes -c -o mtd80x.o mtd80x.c
In file included from mtd80x.c:101:
/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 mtd80x.c:105:
/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 mtd80x.c:105:
/usr/include/asm/pgalloc.h:6:24: asm/fixmap.h: No such file or directory
In file included from mtd80x.c:106:
/usr/include/linux/delay.h:13:23: asm/delay.h: No such file or directory
make: *** [mtd80x.o] Error 1
[root@localhost mtd80]# ls -a
. kern_compat.h Makefile~ pci-scan.c Readme.txt
.. Makefile mtd80x.c pci-scan.h
[root@localhost mtd80]# make clean
rm -f *.o
[root@localhost mtd80]# ls -a
. kern_compat.h Makefile~ pci-scan.c Readme.txt
.. Makefile mtd80x.c pci-scan.h |
|