Re: 2.4.20; unresolved symbols
Avin Sigurani <[email protected]> Thu, 11 Sep 2003 16:57:39 -0700 (PDT)
| Newsgroups | gmane.linux.drivers.realtek.devel |
|---|---|
| Message-ID | <[email protected]> |
--- Donald Becker <[email protected]> wrote: > On Sat, 6 Sep 2003, Avin Sigurani wrote: > > > > > Do your rtl8139 and pci-scan drivers work at > all > > > with > > > > kernel 2.4.20? > > > > > > Yes. > > > What problem are you seeing? > .. > > After compilation, the pci-scan module seems to > load > > just fine, but the rtl8139 module gives the > following > > errors when I attempt to load the module: > > > > > /lib/modules/2.4.20-lunar-grsec-xfs-int-rc3.1/kernel/drivers/net/rtl8139.o: > > unresolved symbol softnet_data_Rcc6ef497 > > > /lib/modules/2.4.20-lunar-grsec-xfs-int-rc3.1/kernel/drivers/net/rtl8139.o: > > unresolved symbol __netdev_watchdog_up_Rdf478590 > > You compiled against the wrong kernel, or the wrong > headers. > > Did you use the Makefile? > Have you recompiled your kernel? I have tried to compile the modules with 2.4.21, and a patched distribution that, as with many distributions, is recommended by the distro. I get unresolved symbols under all circumstances. I assume when you ask if I have recompiled my kernel, you mean to ask if the kernel in the current source tree matches the running kernel, in which case, the answer is yes. At first, I had not used the makefile, compiling the modules by hand, but now I have used the tarball that comes with the makefile, and it seems to make no difference. The kernel I attempted to compile against last time had patches for the xfs file system, the grsecurity patch, international cryptography, and a few minor patches made by the distribution team. However, a fresh, pure kernel source tree still gives: cb_shim.o: unresolved symbol unregister_hotswap_hook cb_shim.o: unresolved symbol register_hotswap_hook cb_shim.o: unresolved symbol unregister_driver cb_shim.o: unresolved symbol register_driver pci-skeleton.o: init_module: No such device I believe I need only pci-scan.o, cb_shim.o and rtl8139.o for the D-link DFE690TXD. Is this correct? I don't know much about the kernel code, writing drivers, etc., and so I don't really know where to begin here, but I am willing to do some work, look throught he code, etc. if it will help. Thank you for your time. -Avin Sigurani __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com