modversions symbol problems

Pavel Roskin proski
Sun Jan 25 23:06:08 PST 2004

On Mon, 26 Jan 2004, Michael B Allen wrote:

> I have modversions symbol problems:
> cp -f driver/modules/hostap_pci.o /lib/modules/2.4.20-28.7/net
> /sbin/depmod -ae
> depmod: *** Unresolved symbols in /lib/modules/2.4.20-28.7/net/hostap.o
> depmod:         __netdev_watchdog_up_Rf423e28d
> depmod:         proc_net_R4a474312
> depmod:         __kfree_skb_R11a69bdc
> I'm using the latest 2.4.20 rpm from RH and I'm compling against their
> .src.rpm. I had to build a kernel to generate include/linux/modversions.h
> (actually I killed it halfway after it generated this file) and the
> hostap_pci built ok. But when I depmod -a it's missing symbols. What do I
> need to do?

If looks like you have Linux headers mismatching the kernel.
__netdev_watchdog_up() is used in netif_carrier_on(), which is defined as
inline function (I'm looking at Linux 2.4.25-pre7).  You should have
"__netdev_watchdog_up" in  See if it's exported by
net/netsyms.c in the Linux source tree.  Also see
include/linux/modules/netsyms.ver in the same tree.  It should define

I've just checked that CVS HostAP works with versioned Linux 2.4.25-pre7.

Pavel Roskin

More information about the Hostap mailing list