[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(usagi-users 00422) offtopic - can not compile rtl8139.c
- To: usagi-users@xxxxxxxxxxxxxx
- Subject: (usagi-users 00422) offtopic - can not compile rtl8139.c
- From: Juan Francisco Rodriguez Hervella <jrh@xxxxxxxxxx>
- Date: Mon, 23 Apr 2001 18:51:49 +0200 (MET DST)
- Reply-to: usagi-users@xxxxxxxxxxxxxx
Hi:
I just have installed the last usagi patch for kernel 2.2, and
I wanted to upgrade the rtl8139.o module with the lastest driver
from http://www.scyld.com/network/rtl8139.html.
But when I compile the lastest driver, many errors
appear. I have asked to rtl8139@xxxxxxxxx, and
they have answered this:
Jeff Garzik wrote:
>
> Juan Fco Rodriguez Hervella wrote:
> >
> > 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.
>
> 2.2.19 most certainly has structure members 'start', 'busy', and
> 'interrupt'.
>
> The output you give is the classic example of trying to compile
> rtl8139.c under 2.4.x. Use the included CONFIG_8139TOO instead.
>
> --
> Jeff Garzik | The difference between America and England is that
> Building 1024 | the English think 100 miles is a long distance and
> MandrakeSoft | the Americans think 100 years is a long time.
> | (random fortune)
>
> _______________________________________________
> realtek mailing list
> realtek@xxxxxxxxx
> http://www.scyld.com/mailman/listinfo/realtek
But I am using 2.2.19 !!! *not 2.4 kernel*...
Any idea ???
--
*********************************
Juan F. Rodriguez Hervella
Universidad Carlos III de Madrid
********************************