我用的是联合金彩虹网卡,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