Re: 2.5.69-bk7: multiple definition of `usb_gadget_get_string'

Greg KH (greg@kroah.com)
Tue, 13 May 2003 13:09:53 -0700


On Mon, May 12, 2003 at 05:06:29PM -0700, David Brownell wrote:
> Greg KH wrote:
> >On Mon, May 12, 2003 at 10:58:48PM +0200, Adrian Bunk wrote:
> >>`usb_gadget_get_string':
> >>: multiple definition of `usb_gadget_get_string'
> >>drivers/usb/gadget/g_zero.o(.text+0x0): first defined here
> >>make[2]: *** [drivers/usb/gadget/built-in.o] Error 1
> >
> >
> >I don't think that g_zero and g_ether are allowed to be built into the
> >kernel at the same time. David, want to send a patch to fix the Kconfig
> >file to prevent this?
>
> Yes, just one: there's only one upstream USB connector,
> it can only have one driver. Patch attached.
>
> Seems like the xconfig/menuconfig coredumps I previously
> saw with tristate choice/endchoice are now gone ... or at
> least they don't show up with this many choices!

Applied, thanks.

greg k-h
-
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/