# Re: drivers/built-in.o(.text+0x1411f): In function \`neo\_scan\_monitor

- List: linux-fbdev
- 1 message, 1 author
- Page: https://ratatoskr.run/linux-fbdev/2004/10/675793/t

## Re: drivers/built-in.o(.text+0x1411f): In function \`neo\_scan\_monitor

- From: Adrian Bunk \<hidden\>
- Date: 2004-10-09 23:40:33 
- Message: https://ratatoskr.run/linux-fbdev/2004/10/675793.md

```text
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 <redacted>

--- 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. 
```
