Subject: Re: linux-next: usb tree build failure

From: Greg KH <[email-masked]>
Date: Wed, 29 Apr 2009 10:44:48 -0700

On Wed, Apr 29, 2009 at 08:44:47AM -0700, Randy Dunlap wrote:
> Greg KH wrote:
> > On Wed, Apr 29, 2009 at 08:18:20AM -0700, Randy Dunlap wrote:
> >> Stephen Rothwell wrote:
> >>> Hi Greg,
> >>>
> >>> Today's linux-next build (powerpc allyesconfig) failed like this:
> >>>
> >>> drivers/usb/built-in.o: In function `.handle_event':
> >>> (.text+0x67dd0): multiple definition of `.handle_event'
> >>> drivers/pcmcia/built-in.o:(.text+0xcfcc): first defined here
> >>> drivers/usb/built-in.o: In function `handle_event':
> >>> (.opd+0x5bc8): multiple definition of `handle_event'
> >>> drivers/pcmcia/built-in.o:(.opd+0xed0): first defined here
> >>
> >> There's also this one:
> >>
> >> drivers/usb/host/xhci-mem.c:46: error: implicit declaration of function 'dma_pool_alloc'
> >> drivers/usb/host/xhci-mem.c:69: error: implicit declaration of function 'dma_pool_free'
> >> drivers/usb/host/xhci-mem.c:578: error: implicit declaration of function 'dma_pool_destroy'
> >> drivers/usb/host/xhci-mem.c:657: error: implicit declaration of function 'dma_pool_create'
> >>
> >> That file needs to
> >> #include <linux/dmapool.h>
> > 
> > What arch had this problem?
> 
> i386

I can't duplicate this here, care to attach a .config?

thanks,

greg k-h