Re: [2.4.22-pre7] speedtouch.o unresolved symbols

From: Valdis.Kletnieks@vt.edu
Date: Fri Jul 25 2003 - 10:12:13 EST


On Fri, 25 Jul 2003 16:43:31 +0200, Duncan Sands said:

> From drivers/usb/Config.in
>
> if [ "$CONFIG_ATM" = "y" -o "$CONFIG_ATM" = "m" ]; then
> dep_tristate ' Alcatel Speedtouch USB support' CONFIG_USB_SPEEDTOUCH $CONFIG_ATM $CONFIG_USB
> fi
>
> Now the question is: why is this not enough?

Hmm.. I don't have a 22-pre7 tree handy, what's the relevant reference in
drivers/usb/Makefile look like? I'm guessing a missing 'ifeq' or
obj-$(CONFIG_mumble) in there, so speedtch.o gets build even if the
required flags aren't set?

Other possibility is a missing EXPORT_SYMBOL() that's horquing things up
if you have CONFIG_ATM=m rather than y? (Yes, I know it's a 'bool' in net/Config.in,
doesn't mean you can't get an 'm' in there anyhow. ;)



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:26 EST