Re: 2.6.21-rc2-mm1: drivers/net/wireless/ compile error

From: Michael Buesch
Date: Mon Mar 05 2007 - 05:44:42 EST


On Monday 05 March 2007 02:47, Adrian Bunk wrote:
> On Fri, Mar 02, 2007 at 03:00:26AM -0800, Andrew Morton wrote:
> >...
> > Changes since 2.6.20-mm2:
> >...
> > git-wireless.patch
> >...
> > git trees
> >...
>
> Multiple copies of the same drivers are a problem:
>
> <-- snip -->
>
> ...
> LD drivers/net/wireless/built-in.o
> drivers/net/wireless/mac80211/built-in.o: In function `zd_chip_switch_radio_on':
> (.text+0x303b8): multiple definition of `zd_chip_switch_radio_on'
> drivers/net/wireless/zd1211rw/built-in.o:(.text+0x1fc): first defined here
> drivers/net/wireless/mac80211/built-in.o: In function `bcm43xx_dma_tx_suspend':
> (.text+0x128b6): multiple definition of `bcm43xx_dma_tx_suspend'
> drivers/net/wireless/bcm43xx/built-in.o:(.text+0x17d94): first defined here
> ...
> make[4]: *** [drivers/net/wireless/built-in.o] Error 1

Sure. You can't compile bcm43xx and bcm43xx-d80211 into the kernel.
This is going to be fixed by ripping out bcm43xx when bcm43xx-d80211 is merged.

--
Greetings Michael.
-
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/