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

Valdis.Kletnieks
2003-07-25T14:57:11Z

[-- Attachment #1: Type: text/plain, Size: 758 bytes --]

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. ;)

[-- Attachment #2: Type: application/pgp-signature, Size: 226 bytes --]