[realtek] Problems installing the RTL8139 driver
Olli Salonen
otsalone@cc.hut.fi
Thu, 30 Nov 2000 11:00:36 +0200 (EET)
Hi,
I'm having the following problem, and being a complete Linux-newbie I
don't know where to start.
I run Mandrake 7.2, which came with the 1.07 version of the RTL8139
driver. Anyway, I downloaded the binary RPM package and installed it. I
copied the pci-scan.o and rtl8139.o files over my previous files at
/lib/modules/2.2.17-21mdk/net and booted. Didn't work though.
When I try to insmod the rtl8139.o I get the following errors (insmod
pci-scan.o works fine though):
rtl8139.o: unresolved symbol skb_over_panic_Rff4558c6
rtl8139.o: unresolved symbol eth_type_trans_R268fea4a
rtl8139.o: unresolved symbol pci_drv_unregister
rtl8139.o: unresolved symbol netif_rx_R507bc694
rtl8139.o: unresolved symbol dev_close_Rf2863777
rtl8139.o: unresolved symbol __kfree_skb_Rb199cc61
rtl8139.o: unresolved symbol alloc_skb_Rbb37a2d1
rtl8139.o: unresolved symbol eth_copy_and_sum_R8c7c58f8
rtl8139.o: unresolved symbol unregister_netdev_Ref7eb65d
rtl8139.o: unresolved symbol init_etherdev_Rf1ebeb5a
rtl8139.o: unresolved symbol pci_drv_register
I also tried download the source files, but when I try to compile I get
something like this:
gcc -DMODULE -Wall -Wstrict-prototypes -O6 -c rtl8139.c
In file included from /usr/include/linux/string.h:37,
from rtl8139.c:99:
/usr/include/asm/string.h:46: parse error before `size_t'
/usr/include/asm/string.h: In function `strncpy':
/usr/include/asm/string.h:47: number of arguments doesn't match prototype
/usr/include/linux/string.h:13: prototype declaration
....... this goes on for several screens ...
System works with the 1.07 driver ok, should I just use that?
Thank you in advance,
---
Olli Salonen olli@cabbala.net
Koivuviidantie 9B as. 2 http://www.cabbala.net/olli
02130 Espoo ... the less you know,
Finland the more you believe...