[realtek] Can not compile rtl8139.c

Juan Fco Rodriguez Hervella jrh@it.uc3m.es
Mon, 23 Apr 2001 18:00:13 +0200


Hi:

I am trying to compile the latest "rtl8139.c" file, like a module.
When I run "gcc -DMODULE -D__KERNEL__ -O6 -c rtl8139.c", the following
errors appear:

root@tarantula:~/realtek-8139# gcc -DMODULE -D__KERNEL__ -O6 -c
rtl8139.c
rtl8139.c: In function `rtl8129_open':
rtl8139.c:675: structure has no member named `tbusy'
rtl8139.c:676: structure has no member named `interrupt'
rtl8139.c:677: structure has no member named `start'
rtl8139.c: In function `rtl8129_timer':
rtl8139.c:777: structure has no member named `interrupt'
rtl8139.c:783: structure has no member named `tbusy'
rtl8139.c: In function `rtl8129_tx_timeout':
rtl8139.c:910: structure has no member named `tbusy'
rtl8139.c: In function `rtl8129_start_xmit':
rtl8139.c:940: structure has no member named `tbusy'
rtl8139.c:963: structure has no member named `tbusy'
rtl8139.c:967: structure has no member named `tbusy'
rtl8139.c: In function `rtl8129_interrupt':
rtl8139.c:992: structure has no member named `interrupt'
rtl8139.c:995: structure has no member named `interrupt'
rtl8139.c:1072: structure has no member named `tbusy'
rtl8139.c:1073: `NET_BH' undeclared (first use in this function)
rtl8139.c:1073: (Each undeclared identifier is reported only once
rtl8139.c:1073: for each function it appears in.)
rtl8139.c:1152: structure has no member named `interrupt'
rtl8139.c: In function `rtl8129_close':
rtl8139.c:1275: structure has no member named `start'
rtl8139.c:1276: structure has no member named `tbusy'
rtl8139.c: In function `rtl8129_get_stats':
rtl8139.c:1354: structure has no member named `start'

root@tarantula:~/realtek-8139#                                  

My kernel is 2.2.19, with USAGI patches for IPv6, and I have
the rtl8139 compiled as a module.

Any suggestions will be very appreciated. If you need more
information, please ask me.

Thanks in advance.


-- 
*********************************
Juan F. Rodriguez Hervella
Universidad Carlos III de Madrid
********************************