[BUG] 2.6.30-rc4: compile fail with CONFIG_DRM_I915=y

From: Lee
Date: Sat May 02 2009 - 09:50:22 EST


Hi list,

compiling 2.6.30-rc4 with following options will result in an compile error:

CONFIG_DRM_I915=y
CONFIG_ACPI_VIDEO=m


drivers/video/backlight/backlight.c: In function âbacklight_device_registerâ:
drivers/video/backlight/backlight.c:247: warning: format not a string literal and no format arguments
drivers/video/output.c: In function âvideo_output_registerâ:
drivers/video/output.c:99: warning: format not a string literal and no format arguments
drivers/usb/storage/libusual.c: In function âusu_probe_threadâ:
drivers/usb/storage/libusual.c:159: warning: format not a string literal and no format arguments
drivers/built-in.o: In function `intel_opregion_free':
(.text+0xaf051): undefined reference to `acpi_video_exit'
drivers/built-in.o: In function `intel_opregion_init':
(.text+0xaf411): undefined reference to `acpi_video_register'
make[1]: *** [.tmp_vmlinux1] Error 1
make[1]: Leaving directory `/home/randall/kernel-source'
make: *** [debian/stamp/build/kernel] Error 2

Compiling the kernel with both options as module or both options built-in results in a working kernel.

Kind regards,
Lee
--
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/