depmod problem

SZABO Miklos Zsolt <[email protected]> Sun, 13 Mar 2005 20:01:10 +0100 (CET)
Newsgroups gmane.linux.drivers.at76c503a.user
Message-ID <[email protected]>
Hoi all

When I try to build the atmel driver on my 2.4.26 (custom kernel), "make"
goes fine and then "make install" fails with this:

depmod: *** Unresolved symbols in
/lib/modules/2.4.26/kernel/drivers/net/wireless/at76c503/at76c503.o
depmod:         iw_handler_set_thrspy
depmod:         iw_handler_get_thrspy
depmod:         wireless_send_event
depmod:         iw_handler_get_spy
depmod:         wireless_spy_update
depmod:         iw_handler_set_spy

... I said whew, this must've happened to people before, and i started
google and i downloaded the archives of this mailing list, but I found
nothing, except some ppl who had the same problem, but it was because
module was not compiled into kernel. but here it may be different.

anoftc:~/linux/atcvs/at76c503a# cat /usr/src/linux-2.4.26/.config | grep
-i wire
# Wireless LAN (non-hamradio)
CONFIG_NET_WIRELESS=y

and

anoftc:~/linux/atcvs/at76c503a# cat /usr/src/linux-2.4.26/.config | grep
-i radio
# Wireless LAN (non-hamradio)
CONFIG_NET_RADIO=y

and

anoftc:~/linux/atcvs/at76c503a# grep iw_handler_get_spy /proc/ksyms
c020d6d0 iw_handler_get_spy_R__ver_iw_handler_get_spy
anoftc:~/linux/atcvs/at76c503a# grep wireless_spy_update /proc/ksyms
c020d8e0 wireless_spy_update_R__ver_wireless_spy_update
anoftc:~/linux/atcvs/at76c503a# grep iw_handler_get_spy /proc/ksyms
c020d6d0 iw_handler_get_spy_R__ver_iw_handler_get_spy
anoftc:~/linux/atcvs/at76c503a# grep wireless_send_event /proc/ksyms
c020d3e0 wireless_send_event_R__ver_wireless_send_event
anoftc:~/linux/atcvs/at76c503a# grep iw_handler_set_thrspy /proc/ksyms
c020d790 iw_handler_set_thrspy_R__ver_iw_handler_set_thrspy
anoftc:~/linux/atcvs/at76c503a# grep iw_handler_get_thrspy /proc/ksyms
c020d7f0 iw_handler_get_thrspy_R__ver_iw_handler_get_thrspy

So it seems I've the necessary modules installed into my kernel, and yet
make install fails at depmod. question is: why?

please dont tell me I should use a newer kernel.

atmel driver (cvs ver) compiled perfectly under 2.6.10, but then i was
having video problems while playing. and I need the atmel driver for
school project. And rebooting each time when I want to work and when I
want to play will not be good :)

Thanx for help in avance :>
Zsolt Szabo