[vortex] building netdrivers on Linux/X86
Donald Becker
becker@scyld.com
Thu Sep 19 17:25:01 2002
On Thu, 19 Sep 2002, George Luft wrote:
> > > depmod: *** Unresolved symbols in
> > /lib/modules/2.4.18/kernel/net/pci-scan.o
> >
> > Hmmm, now this is a real symbol problem.
> >
> > What does 'insmod pci-scan' report?
>
> # insmod -v ./pci-scan.o
> Using ./pci-scan.o
> Symbol version prefix 'smp_'
...
> # lsmod
> Module Size Used by Not tainted
> pci-scan 3988 0 (unused)
>
> I guess that's OK, right?
Yup, that looks OK.
Hopefully the only symbol problem is in cb_shim.o, which can be removed.
For anyone that has a suggestion of how to fix this in the Makefile, the
problem is
We need to build cb_shim.o when we have the external PCMCIA package,
which is "always" with 2.2 and earlier, and "sometimes" with 2.4.
The 2.4 kernel on many distributions has <pcmcia/driver_ops.h>, which
includes the declarations of register_driver()/unregister_driver(),
but does not implement them. As best I can tell, the
<pcmcia/driver_ops.h> header file is there only because it was added
once and no one has looked to see if it still means anything.
--
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