2.6.3-rc3: twice defined symbols with new radeonfb

From: Adrian Bunk
Date: Sun Feb 15 2004 - 02:43:34 EST


On Sat, Feb 14, 2004 at 07:33:45PM -0800, Linus Torvalds wrote:
>...
> Summary of changes from v2.6.3-rc2 to v2.6.3-rc3
> ============================================
>...
> Benjamin Herrenschmidt:
>...
> o New radeonfb
>...

I'm getting the following compile error (no module support in the
kernel):

<-- snip -->

...
LD drivers/video/built-in.o
drivers/video/aty/built-in.o(.init.text+0x1560): In function
`radeonfb_setup':
: multiple definition of `radeonfb_setup'
drivers/video/radeonfb.o(.init.text+0x20): first defined here
ld: Warning: size of symbol `radeonfb_setup' changed from 352 in
drivers/video/radeonfb.o to 512 in drivers/video/aty/built-in.o
drivers/video/aty/built-in.o(.data+0xbc0): multiple definition of
`common_regs_m6'
drivers/video/radeonfb.o(.data+0x4d4): first defined here
drivers/video/aty/built-in.o(.data+0xb78): multiple definition of
`common_regs'
drivers/video/radeonfb.o(.data+0x48c): first defined here
drivers/video/aty/built-in.o(.exit.text+0x10): In function
`radeonfb_exit':
: multiple definition of `radeonfb_exit'
drivers/video/radeonfb.o(.exit.text+0x0): first defined here
drivers/video/aty/built-in.o(.init.text+0x1530): In function
`radeonfb_init':
: multiple definition of `radeonfb_init'
drivers/video/radeonfb.o(.init.text+0x0): first defined here
ld: Warning: size of symbol `radeonfb_init' changed from 24 in
drivers/video/radeonfb.o to 34 in drivers/video/aty/built-in.o
make[2]: *** [drivers/video/built-in.o] Error 1
make[1]: *** [drivers/video] Error 2
make: *** [drivers] Error 2

<-- snip -->

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

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