Re: Compile error in 2.6.8-rc2-mm1 - rivafb related

From: Adrian Bunk
Date: Fri Jul 30 2004 - 09:17:36 EST


On Thu, Jul 29, 2004 at 02:52:25PM +0200, Grega Fajdiga wrote:

> Good day,

Hi Grega,

> Please CC me, since I'm not subscribed.
> I just tried to compile 2.6.8-rc2-mm1 and got this error:
> drivers/built-in.o(.text+0x7e369): In function `rivafb_probe'::
> undefined reference to `riva_create_i2c_busses'
> drivers/built-in.o(.text+0x7e4c1): In function `rivafb_probe'::
> undefined reference to `riva_delete_i2c_busses'
> drivers/built-in.o(.exit.text+0x1ca): In function `rivafb_remove'::
> undefined reference to `riva_delete_i2c_busses'
> make: *** [.tmp_vmlinux1] Error 1
>...

thanks for this report.

@Nicolas:
Your rivafb-i2c-fixes patch in -mm causes this with CONFIG_FB_RIVA_I2C=n
(it moves i2c code from inside an #ifdef CONFIG_FB_RIVA_I2C to a place
where it isn't guarded by such an #ifdef).

> Thanks,
> Grega

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/