[realtek] rtl8139.c Compile Failure

cfowler cfowler@outpostsentinel.com
Tue Jan 28 16:27:01 2003


To me, that is a compiler warning and not an error.  So you should still
have a rtl8139.o file sitting in that directory.  You can ignore the
warning or tweak the code.  I would just ignore it.

Another way to fix it is to remove the -Wall from the GCC command line. 
That should take care of that quickly :)




On Tue, 2003-01-28 at 16:14, Darryl Cousins wrote:
> 
> Hi,
> 
> I'm trying to compile realtek_cd.o for use on a laptop with a rtl8139 compatible 
> network card.
> 
> Kernel 2.4.20
> Build LFS
> gcc-3.2
> pcmcia-cs-3.2.3
> 
> # gcc -DCARDBUS -DMODULE -Wall -Wstrict-prototypes -O6 -c rtl8139.c -o realtek_cb.o \
>  -I/usr/src/pcmcia/include/ -I/usr/src/linux-2.4.20/include \ 
>  -include /usr/src/linux-2.4.20/include/linux/modversions.h
> 
> rtl8139.c: In function `rtl8139_detach':
> rtl8139.c:1651: warning: `next' might be used uninitialized in this function
> #
> 
> rtl8139.c was downloaded tonight from scyld.com
> 
> I tried against kernel 2.4.19 with the same result.
> 
> Believe me this is a lot further than I've managed in the last 10 hours
> trying to get this card to work. Maybe I'm close maybe not. I hope you
> may be help a step or two further.
> 
> Regards, Darryl
> 
> _______________________________________________
> realtek mailing list
> realtek@scyld.com
> http://www.scyld.com/mailman/listinfo/realtek