[realtek] rtl8139.c Compile Failure

Darryl Cousins darryl@ipage.pl
Tue Jan 28 16:06:01 2003


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