PDA

View Full Version : Unresolved symbols when compiling 2.4.24 in Knoppix 3.4



paugq
05-09-2004, 07:54 PM
Hello,

I've installed Knoppix 3.4 to HD (Debian mode) and now I am trying to compile a customised 2.4.26 kernel.

I downloaded vanilla 2.4.26 kernel and made the following:
make menuconfig
Applied knoppix-kernel.patch
make dep
make bzImage
make modules
make modules_install

Everything goes fine, but in the end, make modules_install gives me this error:

make[1]: Leaving directory `/usr/src/linux-2.4.26/arch/i386/lib'
cd /lib/modules/2.4.26; \
mkdir -p pcmcia; \
find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.26; fi
depmod: *** Unresolved symbols in /lib/modules/2.4.26/net/ath_pci.o
depmod: tqueue_lock
depmod: *** Unresolved symbols in /lib/modules/2.4.26/net/hostap.o
depmod: iw_handler_set_thrspy
depmod: iw_handler_get_thrspy
depmod: wireless_send_event
depmod: wireless_spy_update
depmod: iw_handler_get_spy
depmod: iw_handler_set_spy
depmod: *** Unresolved symbols in /lib/modules/2.4.26/net/hostap_pci.o
depmod: wireless_send_event
depmod: *** Unresolved symbols in /lib/modules/2.4.26/net/hostap_plx.o
depmod: wireless_send_event
depmod: *** Unresolved symbols in /lib/modules/2.4.26/net/wlan.o
depmod: __write_lock_failed
depmod: __read_lock_failed
depmod: *** Unresolved symbols in /lib/modules/2.4.26/pcmcia/hostap_cs.o
depmod: register_pccard_driver
depmod: unregister_pccard_driver
depmod: wireless_send_event
depmod: CardServices
depmod: *** Unresolved symbols in /lib/modules/2.4.26/pcmcia/prism2_cs.o
depmod: __global_cli
depmod: register_pccard_driver
depmod: unregister_pccard_driver
depmod: __global_save_flags
depmod: __global_restore_flags
depmod: CardServices

It seems to be a wlan problem, but I am compiling without any wlan support.

Does anybody know what is happening or how can I find out what happens? :-?

Durand Hicks
05-10-2004, 05:09 AM
I just attempted this very thing when trying to compile my drm driver for the savage card. Turned out I had to hack and edit the various files that called the same function, but for a newbie, this is a major undertaking. You're better off filing a bug report to the kernel maintainers at kernel.org detailing what patches, if any, you applied and the unresolved symbols that resulted from the compilation. This report you posted here should do for starters.

P.S. on a side note, I read your post twice, and I have one question to ask, did you apply the patch after you created the config file? If you did, go back and do
fakeroot make-kpkg clean, then make menuconfig to check to see if any options have been added or subtracted as a result of your patch. Then do
fakeroot make-kpkg --revision=custom.1.0 kernel_image modules Part of the problem may be that the config file didn't pick up the changes that resulted from the patching.