Re: build error on x86_64 with x86.git#latest
From: Yinghai Lu
Date: Wed Apr 09 2008 - 13:42:45 EST
On Wed, Apr 9, 2008 at 10:36 AM, Yinghai Lu <yhlu.kernel@xxxxxxxxx> wrote:
> commit 0465ac59164eda30f4fe49006a67dd6d2c9fc3cf
> Author: Pavel Machek <pavel@xxxxxxx>
> Date: Wed Feb 20 01:48:39 2008 +0100
>
> suspend: wakeup code in c
>
> Suspend: Wakeup code in C
>
> cause
>
> In file included from arch/x86/kernel/acpi/sleep.c:14:
> arch/x86/kernel/acpi/sleep.h:12: error: conflicting types for 'initial_code'
> include/asm/smp.h:62: error: previous declaration of 'initial_code' was here
> make[2]: *** [arch/x86/kernel/acpi/sleep.o] Error 1
> make[1]: *** [arch/x86/kernel/acpi] Error 2
> make: *** [arch/x86/kernel] Error 2
>
after fixing that, got
arch/x86/kernel/smpboot.c:143: error: 'TRAMPOLINE_BASE' undeclared
here (not in a function)
arch/x86/kernel/smpboot.c: In function 'do_boot_cpu':
arch/x86/kernel/smpboot.c:908: warning: assignment makes pointer from
integer without a cast
make[1]: *** [arch/x86/kernel/smpboot.o] Error 1
make: *** [arch/x86/kernel] Error 2
YH
Attachment:
config.full
Description: Binary data