Re: 2.6.36-rc8 -- drivers/built-in.o: In function `nouveau_acpi_edid': (.text+0xf7c04): undefined reference to `acpi_video_get_edid'

From: Sven Joachim
Date: Sun Oct 17 2010 - 03:19:14 EST


On 2010-10-16 22:58 +0200, Roland Dreier wrote:

> > drivers/built-in.o: In function `nouveau_acpi_edid':
> > (.text+0xf7c04): undefined reference to `acpi_video_get_edid'
> > make: *** [.tmp_vmlinux1] Error 1
>
> The problem is:
>
> > CONFIG_ACPI=y
> > CONFIG_ACPI_VIDEO=m
>
> but
>
> > CONFIG_DRM_NOUVEAU=y
>
> So the built-in nouveau code tries to reference the modular acpi video
> code.

The nouveau tree has a fix for this already, in commit
4587d1cfa8b54ba3dd3095c3e6f12d02390494c6:

--8<---------------cut here---------------start------------->8---
diff --git a/drivers/gpu/drm/nouveau/Kconfig b/drivers/gpu/drm/nouveau/Kconfig
index d2d2804..72730e9 100644
--- a/drivers/gpu/drm/nouveau/Kconfig
+++ b/drivers/gpu/drm/nouveau/Kconfig
@@ -10,6 +10,7 @@ config DRM_NOUVEAU
select FB
select FRAMEBUFFER_CONSOLE if !EMBEDDED
select FB_BACKLIGHT if DRM_NOUVEAU_BACKLIGHT
+ select ACPI_VIDEO if ACPI
help
Choose this option for open-source nVidia support.

--8<---------------cut here---------------end--------------->8---

Maybe this should be cherry-picked for 2.6.36.

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