Re: 2.6.12.3 compile error

From: Alexey Dobriyan
Date: Sun Jul 17 2005 - 17:14:26 EST


On Sun, Jul 17, 2005 at 09:43:01PM +0200, speedy wrote:
> I've got an error while compiling stock kernel 2.6.12.3
> downloaded from kernel.org.

> Of course, disabling all of the ATY FB driver entries fixed the
> bug.

> LD .tmp_vmlinux1
> drivers/built-in.o(.text+0x29259): In function `atyfb_xl_init':
> drivers/video/aty/xlinit.c:256: undefined reference to `aty_st_lcd'
> make: *** [.tmp_vmlinux1] Error 1

Is this correct? Or should another defined() be added to
drivers/video/aty/atyfb_base.c:124 ?

Fix build with CONFIG_FB_ATY_XL_INIT=y, CONFIG_FB_ATY_GENERIC_LCD=n

--- linux-vanilla/drivers/video/Kconfig
+++ linux-test/drivers/video/Kconfig
@@ -1029,6 +1029,7 @@ config FB_ATY_GENERIC_LCD
config FB_ATY_XL_INIT
bool "Rage XL No-BIOS Init support"
depends on FB_ATY_CT
+ select FB_ATY_GENERIC_LCD
help
Say Y here to support booting a Rage XL without BIOS support.


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