2.6.23-rc1-mm1 compilation is broken (while 2.6.23-rc1 is not)
The following error occurs:
drivers/built-in.o(.text+0xb2f9): In function `acpi_pci_choose_state':pci-acpi.c: undefined reference to acpi_pm_device_sleep_state' drivers/built-in.o(.text+0x3269d): In function pnpacpi_suspend':core.c: undefined reference to `acpi_pm_device_sleep_state'
The problem is in git-acpi.patch from -mm1 broken-out tree, which adds the pnpacpi_suspend() function and the acpi_pci_choose_state()'s body to the according mainline kernel.
The acpi_pm_device_sleep_state() one is available under CONFIG_ACPI_SLEEP only, which depends on !SMP (in my config SMP=y).
Is there any other info from me that can help to solve the problem (if it is not solved yet, of course)?
Thanks,
Pavel
Quoted 11 lines · On Thu, 26 Jul 2007 13:05:02 +0400 Pavel Emelyanov <[email protected]> wrote:
The following error occurs:
drivers/built-in.o(.text+0xb2f9): In function `acpi_pci_choose_state':
pci-acpi.c: undefined reference toacpi_pm_device_sleep_state' drivers/built-in.o(.text+0x3269d): In functionpnpacpi_suspend':core.c: undefined reference to `acpi_pm_device_sleep_state'The problem is in git-acpi.patch from -mm1 broken-out tree, which adds the
pnpacpi_suspend()function and the acpi_pci_choose_state()'s body to the according mainline kernel.
Quoted 6 lines
The
acpi_pm_device_sleep_state()one is available underCONFIG_ACPI_SLEEPonly, which depends on !SMP (in my config SMP=y).Is there any other info from me that can help to solve the problem (if it is not solved yet, of course)?
There's a fix in ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.23-rc1/2.6.23-rc1-mm1/hot-fixes/ for this.