can someone please tell me about unresolved deps, please?

Pavel Roskin proski
Thu Jun 5 15:41:31 PDT 2003


On Thu, 5 Jun 2003, Pavel Roskin wrote:

> On Thu, 5 Jun 2003, David Cougle wrote:
>
> > I'm sorry, but I asked this question several times with no reply, i have
> > latest cvs, and i get this....
> > /sbin/depmod -ae
> > depmod: *** Unresolved symbols in /lib/modules/2.4.21-rc2/net/hostap.o
> > depmod:         wireless_send_event
>
> Do you have CONFIG_NET_WIRELESS defined in .config?

I could reproduce your problem by undefining CONFIG_NET_WIRELESS.  You
should define CONFIG_NET_RADIO (Wireless LAN) in the kernel's .config -
that would enable CONFIG_NET_WIRELESS.

Better protection against this case should be implemented.  For example,
by this patch:

=====================================
--- Makefile
+++ Makefile
@@ -39,6 +39,10 @@
 endif
 endif

+ifndef CONFIG_NET_WIRELESS
+$(error Wireless LAN is not enabled in the kernel)
+endif
+
 VERFILE := $(KERNEL_PATH)/include/linux/version.h
 KERNELRELEASE := $(shell if [ -r $(VERFILE) ]; \
 	then (cat $(VERFILE); echo UTS_RELEASE) | $(CC) $(INCLUDES) $(CFLAGS) -E - | tail -1 | xargs echo; \
=====================================

-- 
Regards,
Pavel Roskin




More information about the Hostap mailing list