Re: 2.6.25-rc6 compile error in drivers/acpi/osl.c

From: Eric Piel
Date: Sat Mar 22 2008 - 10:32:23 EST


(added Randy as CC just in case it ends up being a problem with 7ce9573e093891f5807e6e50f3bd2012f1e5d0fe)
Tobias Oed wrote:
Hello,
compiling 2.6.25-rc6 on my up to date fedora 8 system ends with

CC drivers/acpi/osl.o
drivers/acpi/osl.c:60:38: error: n: No such file or directory
drivers/acpi/osl.c: In function âacpi_os_table_overrideâ:
drivers/acpi/osl.c:334: error: âAmlCodeâ undeclared (first use in this function)
drivers/acpi/osl.c:334: error: (Each undeclared identifier is reported only once
drivers/acpi/osl.c:334: 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

Config attached
Hi Tobias,
First, you haven't sent the correct .config file (this one is dated "Fri Mar 14 21:06:35 2008").

To fix your problem you just need to "make menuconfig" and change ACPI_CUSTOM_DSDT_FILE from "n" to "".

Now the question is: how did you end up with this error? Is it just you who mistook while answering the questions of "make oldconfig" or did this "n" appeared automatically because was not ACPI_CUSTOM_DSDT is set. In which case this is a bug in the kernel.

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