All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Alexey Starikovskiy <aystarik@gmail.com>
Cc: Frans Pop <elendil@planet.nl>,
	linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org
Subject: Re: [2.6.23-rc7] main.c: undefined reference to `acpi_sleep_prepare'
Date: Sun, 23 Sep 2007 15:35:09 +0200	[thread overview]
Message-ID: <200709231535.09759.rjw@sisk.pl> (raw)
In-Reply-To: <46F60AA2.1060500@gmail.com>

On Sunday, 23 September 2007 08:41, Alexey Starikovskiy wrote:
> Frans Pop wrote:
> > 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
> > 
> > 
> yep... acpi_sleep_prepare was put under CONFIG_SUSPEND spanning half of the file...
> this patch moves it out.

Acked-by: Rafael J. Wysocki <rjw@sisk.pl>

      parent reply	other threads:[~2007-09-23 13:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-22 23:52 [2.6.23-rc7] main.c: undefined reference to `acpi_sleep_prepare' Frans Pop
2007-09-23  6:41 ` Alexey Starikovskiy
2007-09-23 13:08   ` Frans Pop
2007-09-23 13:35   ` Rafael J. Wysocki [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200709231535.09759.rjw@sisk.pl \
    --to=rjw@sisk.pl \
    --cc=aystarik@gmail.com \
    --cc=elendil@planet.nl \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.