[realtek] rtl8139.c not compiling

Julien Cubizolles Julien.Cubizolles@lkb.ens.fr
Thu, 26 Jul 2001 09:52:31 +0200 (CEST)


Hi,

When trying to compile rtl8139.c I get the following :

rtl8139.c: In function `rtl8129_open':
rtl8139.c:698: structure has no member named `tbusy'
rtl8139.c:699: structure has no member named `interrupt'
rtl8139.c:700: structure has no member named `start'
rtl8139.c: In function `rtl8129_timer':
rtl8139.c:790: structure has no member named `interrupt'
rtl8139.c:796: structure has no member named `tbusy'
rtl8139.c: In function `rtl8129_tx_timeout':
rtl8139.c:923: structure has no member named `tbusy'
rtl8139.c: In function `rtl8129_start_xmit':
rtl8139.c:954: structure has no member named `tbusy'
rtl8139.c:977: structure has no member named `tbusy'
rtl8139.c:981: structure has no member named `tbusy'
rtl8139.c: In function `rtl8129_interrupt':
rtl8139.c:1006: structure has no member named `interrupt'
rtl8139.c:1009: structure has no member named `interrupt'
rtl8139.c:1086: structure has no member named `tbusy'
rtl8139.c:1087: `NET_BH' undeclared (first use in this function)
rtl8139.c:1087: (Each undeclared identifier is reported only once
rtl8139.c:1087: for each function it appears in.)
rtl8139.c:1162: structure has no member named `interrupt'
rtl8139.c: In function `rtl8129_close':
rtl8139.c:1284: structure has no member named `start'
rtl8139.c:1285: structure has no member named `tbusy'
rtl8139.c: In function `rtl8129_get_stats':
rtl8139.c:1351: structure has no member named `start'
rtl8139.c: In function `rtl8139_detach':
rtl8139.c:1522: warning: `next' might be used uninitialized in this function

I'm running kernel 2.4.3 with kernel-pcmcia-cs-2.4.3, glibc-2.2.2
(Mandrake 8.0) on a Toshiba Satellite 2800-201 laptop.

Do I have a header file missing or what ??

I'm quite confused.

Julien Cubizolles.