The longest build error ever, ever, ever seen :) (Re: linux-next: Tree for November 26)
gregkh at suse.de
Sat Nov 27 18:27:23 UTC 2010
On Sat, Nov 27, 2010 at 01:12:27PM -0500, Valdis.Kletnieks at vt.edu wrote:
> On Sat, 27 Nov 2010 08:45:55 PST, Greg KH said:
> > On Sat, Nov 27, 2010 at 09:56:45AM +0100, Zimny Lech wrote:
> > > Ave!
> > >
> > > 2010/11/26 Stephen Rothwell <sfr at canb.auug.org.au>:
> > > > Hi all,
> > > >
> > >
> > > OMG, LOL, this one is awesome :) The longest build error ever, ever,
> > > ever seen! Fscking awesome, someone gets Guiness World Record :)
> > >
> > > LD drivers/staging/built-in.o
> > > drivers/staging/rtl8192e/built-in.o: In function `rtl8192_setBBreg':
> > > (.text+0xae00): multiple definition of `rtl8192_setBBreg'
> > > drivers/staging/rtl8192u/built-in.o:(.text+0xa1a0): first defined here
> > You built both of these drivers into the kernel, which causes the
> > problem. Try building them as modules, or just one as a module, and
> > that will solve the problem.
> We probably should create some Kconfig magic to prevent this situation?
> depends (othermodule != 'y') || (myself != 'y')
> or am I on the wrong track here?
Just make each module depend on 'm' so that they can not be built into
the kernel, and all should be fine.
More information about the devel