From: Jeremy Fitzhardinge Subject: Re: Errors while compiling stable-2.6.32.x Date: Thu, 27 May 2010 21:21:09 -0700 Message-ID: <4BFF44B5.6040402@goop.org> References: <4BFEF534.7090600@daevel.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <4BFEF534.7090600@daevel.fr> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Olivier B." Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 05/27/2010 03:41 PM, Olivier B. wrote: > Hi, > > I'm trying to compile dom0 pv_ops kernel, the s table-2.6.32.x branch. > > I first obtained that error : > > drivers/acpi/processor_core.c:411: error: static declaration of > =91acpi_processor_add_fs=92 follows non-static declaration > include/acpi/processor.h:242: note: previous declaration of > =91acpi_processor_add_fs=92 was here > drivers/acpi/processor_core.c:415: error: static declaration of > =91acpi_processor_remove_fs=92 follows non-static declaration > include/acpi/processor.h:243: note: previous declaration of > =91acpi_processor_remove_fs=92 was here > make[3]: *** [drivers/acpi/processor_core.o] Erreur 1 > make[2]: *** [drivers/acpi] Erreur 2 > make[1]: *** [drivers] Erreur 2 > > > > So I disabled ACPI, then I obtain this error : You need ACPI in dom0; I think there should probably be a dependency on it if there isn't already. This problem can be resolved by enabling CONFIG_ACPI_PROCFS. J