安装红旗6.0SP1系统,安装中检测不到网卡(windows下的设备描述:
Intel EtherExpress PRO/100+ Adapter (PHY: Intel 82558 Internal) PCI )
,安装完后,我从 intel网站上下了网卡驱动包(e100-3.5.17.tar.gz),按说明操作到 make install 时出错:
make -C /lib/modules/2.6.23.1-4/build SUBDIRS=/root/e100/e100-3.5.17/src modules
make[1]: Entering directory `/usr/src/kernels/2.6.23.1-4-i686'
CC [M] /root/e100/e100-3.5.17/src/e100.o
/root/e100/e100-3.5.17/src/e100.c:141:26: error: linux/config.h: 没有那个文件或 目录
/root/e100/e100-3.5.17/src/e100.c: In function ‘e100_up’:
/root/e100/e100-3.5.17/src/e100.c:2087: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
/root/e100/e100-3.5.17/src/e100.c: At top level:
/root/e100/e100-3.5.17/src/e100.c:2529: error: unknown field ‘get_perm_addr’ specified in initializer
/root/e100/e100-3.5.17/src/e100.c:2529: error: ‘ethtool_op_get_perm_addr’ undeclared here (not in a function)
/root/e100/e100-3.5.17/src/e100.c:2676:49: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/root/e100/e100-3.5.17/src/e100.c: In function ‘e100_probe’:
/root/e100/e100-3.5.17/src/e100.c:2675: error: ‘INIT_WORK’ undeclared (first use in this function)
/root/e100/e100-3.5.17/src/e100.c:2675: error: (Each undeclared identifier is reported only once
/root/e100/e100-3.5.17/src/e100.c:2675: error: for each function it appears in.)
make[2]: *** [/root/e100/e100-3.5.17/src/e100.o] 错误 1
make[1]: *** [_module_/root/e100/e100-3.5.17/src] 错误 2
make[1]: Leaving directory `/usr/src/kernels/2.6.23.1-4-i686'
make: *** [default] 错误 2
网卡装不上,请各位热心人指点一下。