Re: drivers/built-in.o(.text+0x1411f): In function `neo_scan_monitor

From: Adrian Bunk
Date: Sat Oct 09 2004 - 18:42:43 EST


On Wed, Sep 29, 2004 at 06:30:28PM -0300, Michel Angelo da Silva Pereira wrote:

> I'm getting this error on compiling 2.6.9-rc2 with FrameBuffer
> support for my ThinkPad.
> 01:00.0 VGA compatible controller: Neomagic Corporation NM2200
> [MagicGraph 256AV] (rev 20)
>
> LD .tmp_vmlinux1
> drivers/built-in.o(.text+0x1411f): In function `neo_scan_monitor':
> : undefined reference to `vesa_modes'
> drivers/built-in.o(.text+0x141bf): In function `neo_scan_monitor':
> : undefined reference to `vesa_modes'
> drivers/built-in.o(.text+0x1420b): In function `neo_scan_monitor':
> : undefined reference to `vesa_modes'
> make: ** [.tmp_vmlinux1] Erro 1
> root@nerdbook:/usr/src/linux#


Thanks for this report!

This is a bug still present in both 2.6.9-rc3 and 2.6.9-rc3-mm3.

The following patch should fix it:


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.9-rc3-mm3/drivers/video/Kconfig.old 2004-10-10 01:31:52.000000000 +0200
+++ linux-2.6.9-rc3-mm3/drivers/video/Kconfig 2004-10-10 01:32:26.000000000 +0200
@@ -793,6 +793,7 @@
config FB_NEOMAGIC
tristate "NeoMagic display support"
depends on FB && PCI
+ select FB_MODE_HELPERS
help
This driver supports notebooks with NeoMagic PCI chips.
Say Y if you have such a graphics card.


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