lkml.org 
[lkml]   [2010]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: 2.6.36-rc8 -- drivers/built-in.o: In function `nouveau_acpi_edid': (.text+0xf7c04): undefined reference to `acpi_video_get_edid'
Date
 > 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. I'm not sure what the correct fix is... does the following make
things work?

drivers/gpu/drm/nouveau/Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/Makefile b/drivers/gpu/drm/nouveau/Makefile
index e9b06e4..4e295b5 100644
--- a/drivers/gpu/drm/nouveau/Makefile
+++ b/drivers/gpu/drm/nouveau/Makefile
@@ -28,6 +28,6 @@ nouveau-y := nouveau_drv.o nouveau_state.o nouveau_channel.o nouveau_mem.o \
nouveau-$(CONFIG_DRM_NOUVEAU_DEBUG) += nouveau_debugfs.o
nouveau-$(CONFIG_COMPAT) += nouveau_ioc32.o
nouveau-$(CONFIG_DRM_NOUVEAU_BACKLIGHT) += nouveau_backlight.o
-nouveau-$(CONFIG_ACPI) += nouveau_acpi.o
+nouveau-$(CONFIG_ACPI_VIDEO) += nouveau_acpi.o

obj-$(CONFIG_DRM_NOUVEAU)+= nouveau.o

\
 
 \ /
  Last update: 2010-10-16 23:01    [from the cache]
©2003-2011 Jasper Spaans