[2.6.23-rc7] main.c: undefined reference to `acpi_sleep_prepare'

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-kernel@...>
Cc: <linux-acpi@...>
Date: Saturday, September 22, 2007 - 7:52 pm

I wanted to test 5a50fe709d527f31 and thus created a config with ACPI and 
CONFIG_HIBERNATION, but without CONFIG_SUSPEND, which resulted in (git 
checkout updated to 1f0cff6e4d579ab0):

  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
drivers/built-in.o: In function `acpi_power_off_prepare':
main.c:(.text+0x32282): undefined reference to `acpi_sleep_prepare'
drivers/built-in.o: In function `acpi_hibernation_prepare':
main.c:(.text+0x3228c): undefined reference to `acpi_sleep_prepare'
make[1]: *** [.tmp_vmlinux1] Error 1
make[1]: Leaving directory `/home/fjp/projects/kernel/linux-2.6'
make: *** [debian/stamp-build-kernel] Error 2
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[2.6.23-rc7] main.c: undefined reference to `acpi_sleep_prep..., Frans Pop, (Sat Sep 22, 7:52 pm)
Re: [2.6.23-rc7] main.c: undefined reference to `acpi_sleep_..., Alexey Starikovskiy, (Sun Sep 23, 2:41 am)
Re: [2.6.23-rc7] main.c: undefined reference to `acpi_sleep_..., Rafael J. Wysocki, (Sun Sep 23, 9:35 am)