[realtek] Compile problems

Donald Becker becker@scyld.com
Wed, 9 May 2001 17:47:13 -0400 (EDT)


On Wed, 9 May 2001, Oliver Bienert wrote:

> 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?

Is the kernel source at /usr/src/linux/ correct for your system?
There are Makefile options if you have the correct kernel source in
e.g. /usr/src/linux-2.2.18/

Donald Becker				becker@scyld.com
Scyld Computing Corporation		http://www.scyld.com
410 Severn Ave. Suite 210		Second Generation Beowulf Clusters
Annapolis MD 21403			410-990-9993