请问,rtl8139网卡在redhat8.0中如何安装
我用的是联合金彩虹网卡,rtl8139芯片的,按照说明文件里的"gcc -......"编译,总是出错一部分错误信息如下:
......
......
rtl8139.c: In function `set_rx_mode':
rtl8139.c:1530: `NETIF_MSG_RXFILTER' undeclared (first use in this function)
rtl8139.c: In function `rtl_pwr_event':
rtl8139.c:1572: `DRV_ATTACH' undeclared (first use in this function)
rtl8139.c:1575: `DRV_SUSPEND' undeclared (first use in this function)
rtl8139.c:1584: `DRV_RESUME' undeclared (first use in this function)
rtl8139.c:1588: `DRV_DETACH' undeclared (first use in this function)
rtl8139.c:1595: invalid use of undefined type `struct pci_id_info'rtl8139.c: At top level:
rtl8139.c:247: storage size of `rtl8139_drv_id' isn't known
在网上查了好多文章,有的说要在"gcc -..."后面加"-i usr/scr/版本/include"
也照着做了还是不行.
清高手指点一下,谢谢了. 有谁知道吗?
请指点一下吧,谢了. 另外,我的源码已经装进去了.还有,我用的编译命令是:
1.gcc -DMODULE -Wall -Wstrict -prototypes -O6 -c -rtl8139.c
2.gcc -D__KERNEL__ -DMODULE -Wstrict -prototypes -O6-c -rtl8139.c
3.gcc -Wall -O2 -DMODULE -D__KERNEL__ -DLINUX -o rtl8139.o rtl8139.c
4.gcc -DMODULE -Wall -Wstrict -I /usr/src/linux-2.4.18-14/include
-prototypes -O6 -c -rtl8139.c
等等都用过了,都不行,急呀!!! 内核是支持rtl8139芯片的……何必再另外找驱动呢…… sdsd:mrgreen:
//============
modporbe 8139too
ifconfig
//===========
or
kudzu
页:
[1]