[realtek] Compile problems
Oliver Bienert
obienert@gmx.de
Thu, 10 May 2001 13:49:47 +0200
I had the sources for 2.4 kernel installed...
Now everything works fine, however it doesn't seem to produce any *_cb.o
files and no cb_shim.o. The sources of the pcmcia packages reside in
/usr/src/kernel-modules/pcmcia so I changed the path in the Makefile to:
PCMCIA=/usr/src/kernel-modules/pcmcia/include
But still I can't get any *_cb.o and cb_shim file.
By the way, I looked into /lib/modules/pcmcia after installing pcmcia
(3.1.22) and there is already a realtek_cb.o and a cb_shim.o as well as a
pci-scan and cb_enabler.o file. But when I start my box it says:
/lib/modules/2.2.18/pcmcia/realtek_cb.o: init_module: Device or resource
busy
Strange enough, yesterday, when I first tried to get the card working it
said:
socket 1: unsupported card Realtek .....
PCI id: 0x000, 0x024c
Now, after updating pcmcia, it says:
PCI id: 0x10ec, 0x8138
But only I when change the config line to:
card "RealTek Rtl8139" manfid 0x0000, 0x024c bind "realtek_cb"
it tries to load the module.
Oliver
----- Original Message -----
From: "Donald Becker" <becker@scyld.com>
To: "Oliver Bienert" <obienert@gmx.de>
Cc: <realtek@scyld.com>
Sent: Wednesday, May 09, 2001 11:47 PM
Subject: Re: [realtek] Compile problems
> 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
>