Re: [BUILD_FAILURE] 2.6.25-rc2-mm1 - Build Failure at acpi_os

From: Len Brown
Date: Thu Feb 21 2008 - 02:09:23 EST


On Saturday 16 February 2008 14:47, Kamalesh Babulal wrote:
> Hi Andrew,
>
> The 2.6.25-rc2-mm1 kernel with randconfig build option, fails
> to build on x86_64 machine
>
> CC drivers/acpi/osl.o
> drivers/acpi/osl.c:60:38: error: empty filename in #include
> drivers/acpi/osl.c: In function âacpi_os_table_overrideâ:
> drivers/acpi/osl.c:399: error: âAmlCodeâ undeclared (first use in this function)
> drivers/acpi/osl.c:399: error: (Each undeclared identifier is reported only once
> drivers/acpi/osl.c:399: error: for each function it appears in.)
> make[2]: *** [drivers/acpi/osl.o] Error 1
> make[1]: *** [drivers/acpi] Error 2
> make: *** [drivers] Error 2
>
> #
> # Automatically generated make config: don't edit
> # Linux kernel version: 2.6.25-rc2-mm1
> # Sun Feb 17 08:07:17 2008
> #

> CONFIG_ACPI_CUSTOM_DSDT=y
> CONFIG_ACPI_CUSTOM_DSDT_FILE=""

garbage in, garbage out.

If you don't give this build option a file name where AmlCode lives,
then the build will be unable to find AmlCode[].

http://www.lesswatts.org/projects/acpi/overridingDSDT.php

cheers,
-Len
--
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/