2.1.129: Problem with RTL 8139

Geir A. Bjune (geir@mail.wsu.edu)
Sun, 22 Nov 1998 02:30:33 -0800 (PST)


System is running 2.0.34, Debian 2.0 kernel, Debian 2.0 (hamm) setup
rtl8139 is set to be included in kernel (not module)

Since I do not know enough about the kernel source code I have not
attempted to look at the problem, I just see something is wrong (a bit of
a newbie in kernel-terms...)

While trying to compile kernel (2.1.129, unpatched) I got the following
error:

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2
-malign-jumps=2 -malign-functions=2 -DCPU=586 -c -o rtl8139.o rtl8139.c
In file included from rtl8139.c:103:
/usr/src/linux/include/linux/bios32.h:11: warning: #warning This driver
uses the old PCI interface, please fix it (see Documentation/pci.txt)
rtl8139.c:1040: macro `dev_kfree_skb' used with too many (2) args
rtl8139.c:1270: macro `dev_kfree_skb' used with too many (2) args
rtl8139.c:271: field `stats' has incomplete type
rtl8139.c: In function `rtl8129_probe1':
rtl8139.c:512: warning: assignment from incompatible pointer type
rtl8139.c: In function `rtl8129_start_xmit':
rtl8139.c:917: void value not ignored as it ought to be
rtl8139.c: In function `rtl8129_interrupt':
rtl8139.c:963: void value not ignored as it ought to be
rtl8139.c: In function `rtl8129_get_stats':
rtl8139.c:1320: warning: control reaches end of non-void function
make[3]: *** [rtl8139.o] Error 1
make[3]: Leaving directory `/usr/src/linux/drivers/net'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux/drivers/net'
make[1]: *** [_subdir_net] Error 2
make[1]: Leaving directory `/usr/src/linux/drivers'
make: *** [_dir_drivers] Error 2

Geir

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/