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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Eric Piel wrote:
(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").

Oups, I took it from the wrong dir.

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

I ran make oldconfig on my config for 2.6.25-rc5, and I answered n to the question

  Custom DSDT Table file to include (ACPI_CUSTOM_DSDT_FILE) [] (NEW)

Somehow not putting anything didn't seem right at the time. I see my error now.
Thanks for the quick answer and sorry for the noise.
Tobias Oed


--
*Tobias Oed* - Octant Informatique <http://www.octant-fr.com>
contact | tobias.oed@xxxxxxxxxxxxx <mailto:tobias.oed@xxxxxxxxxxxxx> -
04 76 50 82 38
image
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux