Re: [build bug] drivers/ssb build failure, latest -git

From: Ingo Molnar
Date: Mon Oct 15 2007 - 13:39:24 EST



* Ingo Molnar <mingo@xxxxxxx> wrote:

> > > there's a new build failure with latest -git:
> > >
> > > drivers/built-in.o: In function `ssb_ohci_probe':
> > > ohci-hcd.c:(.text+0xbff39): undefined reference to `ssb_device_enable'
> > > ohci-hcd.c:(.text+0xbff6f): undefined reference to `ssb_admatch_base'
> > > ohci-hcd.c:(.text+0xbff8b): undefined reference to `ssb_admatch_size'
> > > ohci-hcd.c:(.text+0xbffe5): undefined reference to `ssb_device_disable'
> > > [...]
> > >
> > > config attached.

> > I'm not sure why this happens. SSB is Y and ohci-hcd is also Y. So
> > why doesn't it find the syms?
>
> hm, it builds fine now. Weird - i'll double-check i got the right
> config.

find attached another config that reproduces the build failure above.

i think the reason is this:

CONFIG_SSB=m
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_OHCI_HCD_SSB=y

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