Re: 2.6.15-mm3, current -git: drivers/media/video/ compile errors

From: Mauro Carvalho Chehab
Date: Wed Jan 11 2006 - 17:47:58 EST


Adrian,

Sorry for that. It is already fixed on v4l-dvb.git tree (branch new).
I'm just testing make allyesconfig right now.

Cheers
Mauro

Em Qua, 2006-01-11 às 23:22 +0100, Adrian Bunk escreveu:
> On Wed, Jan 11, 2006 at 05:21:23PM +0100, Dominik Karall wrote:
> >
> > hi!
> > it doesn't compile here.
> >
> > CC drivers/media/video/tveeprom.o
> > LD drivers/media/video/built-in.o
> > drivers/media/video/tuner.o:(.bss+0x0): multiple definition of `debug'
> > drivers/media/video/msp3400.o:(.bss+0xc): first defined here
> > make[3]: *** [drivers/media/video/built-in.o] Fehler 1
> >...
>
> I'm getting even one more error:
>
> <-- snip -->
>
> ...
> drivers/media/video/tuner.o:(.bss+0x0): multiple definition of `debug'
> drivers/media/video/msp3400.o:(.bss+0xc): first defined here
> drivers/media/video/cx25840/built-in.o:(.bss+0x0): multiple definition of `debug'
> drivers/media/video/msp3400.o:(.bss+0xc): first defined here
> make[3]: *** [drivers/media/video/built-in.o] Error 1
>
> <-- snip -->
>
> There's sometime a need for variables being global being visible in
> all objects of a module.
>
> That's OK.
>
> But they should never have generic names like "debug" or "once" (the
> latter and some similar ones don't seem to cause compile errors since
> they are currently used only once, but they are equally wrong.
>
> > greets,
> > dominik
>
> cu
> Adrian
>
Cheers,
Mauro.

-
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/