Skip to contentSkip to conversation

2.6.30-rc3 still fails to build

PATCH New Soeren Sonnenburg 1 participant 2 messages Apr 24, 2009 – Apr 26, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

still the same thing...

MODPOST vmlinux.o
WARNING: modpost: Found 1 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'

  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1

drivers/built-in.o: In function `intel_opregion_init':
(.text+0xcf239): undefined reference to `acpi_video_register'
make: *** [.tmp_vmlinux1] Error 1

Signature · 2 lines
For the one fact about the future of which we can be certain is that it
will be utterly fantastic. -- Arthur C. Clarke, 1962
#1 lore raw

PATCH 1/1 resolving Re: 2.6.30-rc3 still fails to build in intel_opregion_init

Quoted 12 lines · Soeren Sonnenburg

still the same thing...

MODPOST vmlinux.o
WARNING: modpost: Found 1 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'

  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
Quoted 3 lines

drivers/built-in.o: In function `intel_opregion_init':
(.text+0xcf239): undefined reference to `acpi_video_register'
make: *** [.tmp_vmlinux1] Error 1

Argh, looks like one could select ACPI_VIDEO to be build as module though DRM_I915 requires it to be compiled inside, so I guess this patch should fix things:

drivers/gpu/drm/Kconfig +1 -0
index 3a22eb9..71ebf04 100644
@@ -71,6 +71,7 @@ config DRM_I915
 	select FB_CFB_COPYAREA
 	select FB_CFB_IMAGEBLIT
 	select FB
+	select ACPI_VIDEO
 	tristate "i915 driver"
 	help
 	  Choose this option if you have a system that has Intel 830M, 845G,
Signature · 2 lines
For the one fact about the future of which we can be certain is that it
will be utterly fantastic. -- Arthur C. Clarke, 1962