[realtek] Compile problems

Oliver Bienert obienert@gmx.de
Wed, 9 May 2001 21:56:46 +0200


Hi all,

I have a Siemens Mobile 510 AGP with an rtl8139 based EDIMAX Cardbus
Ethernet Adapter and run into some problems trying to get the card working
:-( I downloaded the following files from scyld.com:
Makefile
cb_shim.c
kern_compat.h
pci-scan.c
pci-scan.h
rtl8139.c
I copied all that stuff in a dir (/usr/src/modules/rtl8139) and typed 'make'
at the prompt. This is the result:

bash-2.04# make
gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -I/usr/src/linux/inc
lude -pipe -fno-strength-reduce -DMODVERSIONS   -c -o pci-scan.o pci-scan.c
pci-scan.c: In function `pci_drv_register':
pci-scan.c:158: structure has no member named `base_address'
pci-scan.c:132: warning: `pciaddr' might be used uninitialized in this
function
make: *** [pci-scan.o] Error 1

I remember something seen in the depths of the list's archives but didn't
found it anymore. I am using Suse Linux 7.1 with a 2.2.18 Kernel.
Can someone help me out?

Thanks Oliver