From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Fitzhardinge Subject: Re: Errors while compiling stable-2.6.32.x Date: Fri, 28 May 2010 12:11:43 -0700 Message-ID: <4C00156F.1020108@goop.org> References: <4BFEF534.7090600@daevel.fr> <4BFF44B5.6040402@goop.org> <4BFF75DC.8030302@daevel.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <4BFF75DC.8030302@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: xen-users-bounces@lists.xensource.com Cc: "Olivier B." , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On 05/28/2010 12:50 AM, Olivier B. wrote: > Le 28/05/2010 06:21, Jeremy Fitzhardinge a =E9crit : >> On 05/27/2010 03:41 PM, Olivier B. wrote: >> =20 >>> 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 : >>> =20 >> You need ACPI in dom0; I think there should probably be a dependency o= n >> it if there isn't already. This problem can be resolved by enabling >> CONFIG_ACPI_PROCFS. >> >> J >> >> =20 > You're right, it was just a .config problem, thanks ! > But CONFIG_ACPI_PROCFS is marked as "deprecated", it is strange than > xen pv_ops - which is recent - depends of it, no ? It doesn't depend on it, but there's a small problem in the ACPI support code which fails to compile without it. J