Re: nouveau driver fails to build

From: Helmut Jarausch
Date: Fri Nov 23 2012 - 12:13:13 EST


On 11/23/2012 04:31:19 PM, Paul Bolle wrote:
On Fri, 2012-11-23 at 15:42 +0100, Helmut Jarausch wrote:
> with 3.7_rc6 and
>
> CONFIG_ACPI_VIDEO=m
> CONFIG_DRM=y
> CONFIG_DRM_KMS_HELPER=y
> CONFIG_DRM_TTM=y
> CONFIG_DRM_NOUVEAU=y
> CONFIG_NOUVEAU_DEBUG=5
> CONFIG_NOUVEAU_DEBUG_DEFAULT=3
> CONFIG_DRM_NOUVEAU_BACKLIGHT=y
>
> with/ without
> CONFIG_DRM_LOAD_EDID_FIRMWARE=y
>
>
> The kernel fails to build with
> drivers/built-in.o: In function `nouveau_acpi_edid':
> (.text+0x12bf21): undefined reference to `acpi_video_get_edid'
>
>
> What am I missing?

I'd guess it should build (at least without this error) with
CONFIG_ACPI_VIDEO=y. Is that correct?

Yes, but this is very unnatural.

To get CONFIG_ACPI_VIDEO=y I need to have VIDEO_OUTPUT_CONTROL=y
for which I have to select the Intel GMA500 Stub Driver although I don't
have such a device and therefore don't need that driver.
Furthermore, I had to chase through quite some flags to find this.

If it's not a bug, it's surprising, at least.

Thanks,
Helmut.

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