Most recent kernel where this bug did not occur: 2.6.23.rc7 Distribution: Gentoo Hardware Environment:Acer Travelmate 4001Lmi, Intel Centrino 1.5 GHz Software Environment: Tuxonice 2.2.10.3 Problem Description: The kernel doesn't compile Steps to reproduce: try to compile the kernel When I try to compile the kernel 2.6.23-rc8, the compilation almost at the very end. I get the following error messages: LD .tmp_vmlinux1 drivers/built-in.o: In function `acpi_power_off_prepare': main.c:(.text+0x4825c): undefined reference to `acpi_sleep_prepare' drivers/built-in.o: In function `acpi_hibernation_prepare': main.c:(.text+0x4826b): undefined reference to `acpi_sleep_prepare' make: *** [.tmp_vmlinux1] Error 1 zsh: exit 2 LC_ALL=C make all I have try to compile with and without tuxonice but it doesn't change anything. Does anybody have an idea to solve the problem ? Thanks in advance for your help.
Created attachment 12941 [details] configuration file for kernel 2.6.23-rc8
Patch at http://lkml.org/lkml/2007/9/23/15 should fix it. We need to get that merged.
Indeed, the patch you suggested solves the problem. Thanks for your help.
shipped in 2.6.23-rc9. closed. commit 2f3f22269bdf702311342c5d106dfdd7347d1c3e Author: Alexey Starikovskiy <astarikovskiy@suse.de> Date: Mon Sep 24 14:33:21 2007 +0200 ACPI: suspend: build-fix for CONFIG_SUSPEND=n and CONFIG_HIBERNATION=y This fixes compilation with CONFIG_SUSPEND unset and CONFIG_HIBERNATION set (raf. http://marc.info/?l=linux-acpi&m=119055289723895&w=4). Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Signed-off-by: Len Brown <len.brown@intel.com>