2009-04-14 18:31:53

by Subrata Modak

[permalink] [raw]
Subject: [BUILD FAILURE 04/12] Next April 14 : PPC64 randconfig [drivers/staging/built-in.o]

Observed the following build error:
---
LD drivers/built-in.o
drivers/staging/built-in.o: In function `ieee80211_xmit':
drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c:528: multiple
definition of `ieee80211_xmit'
drivers/net/built-in.o:drivers/net/wireless/ipw2x00/libipw_tx.c:256:
first defined here
make[1]: *** [drivers/built-in.o] Error 1
make: *** [drivers] Error 2
---

Regards--
Subrata


Attachments:
randconfig4-next20090414-ppc64 (41.20 kB)

2009-04-14 18:54:19

by Reinette Chatre

[permalink] [raw]
Subject: Re: [Ipw2100-admin] [BUILD FAILURE 04/12] Next April 14 : PPC64 randconfig [drivers/staging/built-in.o]

Hi Subrata,

On Tue, 2009-04-14 at 11:28 -0700, Subrata Modak wrote:
> Observed the following build error:
> ---
> LD drivers/built-in.o
> drivers/staging/built-in.o: In function `ieee80211_xmit':
> drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c:528: multiple
> definition of `ieee80211_xmit'
> drivers/net/built-in.o:drivers/net/wireless/ipw2x00/libipw_tx.c:256:
> first defined here
> make[1]: *** [drivers/built-in.o] Error 1
> make: *** [drivers] Error 2

Looks like the rtl8187se driver started with a copy of ipw2x00's
library. Errors like this can thus be expected and should be addressed
by rtl8187se as they are the ones who made the copy.

Reinette

2009-04-15 01:18:21

by Greg KH

[permalink] [raw]
Subject: Re: [Ipw2100-admin] [BUILD FAILURE 04/12] Next April 14 : PPC64 randconfig [drivers/staging/built-in.o]

On Tue, Apr 14, 2009 at 11:59:55AM -0700, reinette chatre wrote:
> Hi Subrata,
>
> On Tue, 2009-04-14 at 11:28 -0700, Subrata Modak wrote:
> > Observed the following build error:
> > ---
> > LD drivers/built-in.o
> > drivers/staging/built-in.o: In function `ieee80211_xmit':
> > drivers/staging/rtl8187se/ieee80211/ieee80211_tx.c:528: multiple
> > definition of `ieee80211_xmit'
> > drivers/net/built-in.o:drivers/net/wireless/ipw2x00/libipw_tx.c:256:
> > first defined here
> > make[1]: *** [drivers/built-in.o] Error 1
> > make: *** [drivers] Error 2
>
> Looks like the rtl8187se driver started with a copy of ipw2x00's
> library. Errors like this can thus be expected and should be addressed
> by rtl8187se as they are the ones who made the copy.

Yes, at this point in time, don't build the staging drivers into the
kernel, it's not advised at all.

thanks,

greg k-h