|
如何在MagicLinux下安装D-Link DFE-50TX (RevB)驱动,Linux在安装时检测到了一个错误的网卡,上网很慢,且不能进行域名解析。请教各位Linux高手,我这是初次用Linux系统。
我用网上提示的在redhat 下的安装方法进行失败后的提示信息。
[root@MagicLinux tmp]# make all
gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -I/usr/src/linux/include -c via-rhine.c
In file included from /usr/include/asm/thread_info.h:16,
from /usr/include/linux/thread_info.h:21,
from /usr/include/linux/spinlock.h:12,
from /usr/include/linux/capability.h:45,
from /usr/include/linux/sched.h:7,
from /usr/include/linux/module.h:10,
from via-rhine.h:20,
from via-rhine.c:26:
/usr/include/asm/processor.h:67: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/asm/processor.h:67: error: requested alignment is not a constant
In file included from /usr/include/linux/module.h:23,
from via-rhine.h:20,
from via-rhine.c:26:
/usr/include/asm/module.h:54:2: #error unknown processor family
In file included from /usr/include/linux/netdevice.h:151,
from via-rhine.h:29,
from via-rhine.c:26:
/usr/include/linux/skbuff.h:30:26: net/checksum.h: 没有那个文件或目录
In file included from /usr/include/linux/irq.h:20,
from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:12,
from /usr/include/linux/netdevice.h:512,
from via-rhine.h:29,
from via-rhine.c:26:
/usr/include/asm/irq.h:16:25: irq_vectors.h: 没有那个文件或目录
In file included from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:12,
from /usr/include/linux/netdevice.h:512,
from via-rhine.h:29,
from via-rhine.c:26:
/usr/include/linux/irq.h:68: error: requested alignment is not a constant
/usr/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function)
In file included from /usr/include/linux/irq.h:72,
from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:12,
from /usr/include/linux/netdevice.h:512,
from via-rhine.h:29,
from via-rhine.c:26:
/usr/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function)
In file included from /usr/include/linux/interrupt.h:12,
from /usr/include/linux/netdevice.h:512,
from via-rhine.h:29,
from via-rhine.c:26:
/usr/include/asm/hardirq.h:13: error: requested alignment is not a constant
In file included from via-rhine.c:26:
via-rhine.h:34:26: linux/malloc.h: 没有那个文件或目录
via-rhine.c: In function `pci_drv_register':
via-rhine.c:182: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /usr/include/linux/module.h:555)
via-rhine.c: In function `pci_drv_unregister':
via-rhine.c:310: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/include/linux/module.h:567)
via-rhine.c: In function `via_probe1':
via-rhine.c:446: warning: implicit declaration of function `init_etherdev'
via-rhine.c:446: warning: assignment makes pointer from integer without a cast
via-rhine.c: In function `netdev_open':
via-rhine.c:653: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /usr/include/linux/module.h:555)
via-rhine.c:655: warning: passing arg 2 of `request_irq' from incompatible pointer type
via-rhine.c:657: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/include/linux/module.h:567)
via-rhine.c: In function `set_rx_mode':
via-rhine.c:1291: warning: passing arg 2 of `set_bit' from incompatible pointer type
via-rhine.c: In function `netdev_close':
via-rhine.c:1408: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/include/linux/module.h:567)
make: *** [via-rhine.o] 错误 1
[root@MagicLinux tmp]# |
|