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 ''acpi_processor_add_fs'' follows non-static declaration include/acpi/processor.h:242: note: previous declaration of ''acpi_processor_add_fs'' was here drivers/acpi/processor_core.c:415: error: static declaration of ''acpi_processor_remove_fs'' follows non-static declaration include/acpi/processor.h:243: note: previous declaration of ''acpi_processor_remove_fs'' 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 : drivers/xen/events.c:648: error: redefinition of ''xen_create_msi_irq'' /home/daevel/linux/linux-xen-stable-2.6.32/arch/x86/include/asm/xen/pci.h:52: note: previous definition of ''xen_create_msi_irq'' was here make[3]: *** [drivers/xen/events.o] Erreur 1 make[2]: *** [drivers/xen] Erreur 2 make[1]: *** [drivers] Erreur 2 I joined my .config file (with ACPI enabled), for testing purpose. Thanks in advance, Olivier Bonvalet _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Aravindh Puthiyaparambil
2010-May-27 23:15 UTC
RE: [Xen-devel] Errors while compiling stable-2.6.32.x
Are you using a -jN option while building? If you are, can you try building without it? Thanks, Aravindh From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of Olivier B. Sent: Thursday, May 27, 2010 3:42 PM To: xen-devel@lists.xensource.com Subject: [Xen-devel] Errors while compiling stable-2.6.32.x 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 ''acpi_processor_add_fs'' follows non-static declaration include/acpi/processor.h:242: note: previous declaration of ''acpi_processor_add_fs'' was here drivers/acpi/processor_core.c:415: error: static declaration of ''acpi_processor_remove_fs'' follows non-static declaration include/acpi/processor.h:243: note: previous declaration of ''acpi_processor_remove_fs'' 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 : drivers/xen/events.c:648: error: redefinition of ''xen_create_msi_irq'' /home/daevel/linux/linux-xen-stable-2.6.32/arch/x86/include/asm/xen/pci.h:52: note: previous definition of ''xen_create_msi_irq'' was here make[3]: *** [drivers/xen/events.o] Erreur 1 make[2]: *** [drivers/xen] Erreur 2 make[1]: *** [drivers] Erreur 2 I joined my .config file (with ACPI enabled), for testing purpose. Thanks in advance, Olivier Bonvalet _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Well, I use the "make-kpkg" script for Debian, from the man page I can read : "WARNING: Do NOT set the -j option in MAKEFLAGS directly, this shall cause the build to fail. Use CONCURRENCY_LEVEL as specified below." And this CONCURRENCY_LEVEL env var is not set, so I suppose the answer is "no, I don''t use -j". Olivier Le 28/05/2010 01:15, Aravindh Puthiyaparambil a écrit :> > Are you using a -jN option while building? If you are, can you try > building without it? > > Thanks, > > Aravindh > > *From:* xen-devel-bounces@lists.xensource.com > [mailto:xen-devel-bounces@lists.xensource.com] *On Behalf Of *Olivier B. > *Sent:* Thursday, May 27, 2010 3:42 PM > *To:* xen-devel@lists.xensource.com > *Subject:* [Xen-devel] Errors while compiling stable-2.6.32.x > > 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 > ''acpi_processor_add_fs'' follows non-static declaration > include/acpi/processor.h:242: note: previous declaration of > ''acpi_processor_add_fs'' was here > drivers/acpi/processor_core.c:415: error: static declaration of > ''acpi_processor_remove_fs'' follows non-static declaration > include/acpi/processor.h:243: note: previous declaration of > ''acpi_processor_remove_fs'' 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 : > > drivers/xen/events.c:648: error: redefinition of ''xen_create_msi_irq'' > /home/daevel/linux/linux-xen-stable-2.6.32/arch/x86/include/asm/xen/pci.h:52: > note: previous definition of ''xen_create_msi_irq'' was here > make[3]: *** [drivers/xen/events.o] Erreur 1 > make[2]: *** [drivers/xen] Erreur 2 > make[1]: *** [drivers] Erreur 2 > > > > I joined my .config file (with ACPI enabled), for testing purpose. > > Thanks in advance, > Olivier Bonvalet > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Jeremy Fitzhardinge
2010-May-28 04:21 UTC
Re: [Xen-devel] Errors while compiling stable-2.6.32.x
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 > ‘acpi_processor_add_fs’ follows non-static declaration > include/acpi/processor.h:242: note: previous declaration of > ‘acpi_processor_add_fs’ was here > drivers/acpi/processor_core.c:415: error: static declaration of > ‘acpi_processor_remove_fs’ follows non-static declaration > include/acpi/processor.h:243: note: previous declaration of > ‘acpi_processor_remove_fs’ 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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Le 28/05/2010 06:21, Jeremy Fitzhardinge a écrit :> 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 >> ‘acpi_processor_add_fs’ follows non-static declaration >> include/acpi/processor.h:242: note: previous declaration of >> ‘acpi_processor_add_fs’ was here >> drivers/acpi/processor_core.c:415: error: static declaration of >> ‘acpi_processor_remove_fs’ follows non-static declaration >> include/acpi/processor.h:243: note: previous declaration of >> ‘acpi_processor_remove_fs’ 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 > >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 ? Thanks again, Olivier _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Pasi Kärkkäinen
2010-May-28 08:52 UTC
Re: [Xen-devel] Errors while compiling stable-2.6.32.x
On Thu, May 27, 2010 at 09:21:09PM -0700, Jeremy Fitzhardinge wrote:> 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 > > ?acpi_processor_add_fs? follows non-static declaration > > include/acpi/processor.h:242: note: previous declaration of > > ?acpi_processor_add_fs? was here > > drivers/acpi/processor_core.c:415: error: static declaration of > > ?acpi_processor_remove_fs? follows non-static declaration > > include/acpi/processor.h:243: note: previous declaration of > > ?acpi_processor_remove_fs? 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. >I added this option to XenParavirtOps wiki page. -- Pasi _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Jeremy Fitzhardinge
2010-May-28 19:11 UTC
Re: [Xen-devel] Errors while compiling stable-2.6.32.x
On 05/28/2010 12:50 AM, Olivier B. wrote:> Le 28/05/2010 06:21, Jeremy Fitzhardinge a écrit : >> 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 >>> ‘acpi_processor_add_fs’ follows non-static declaration >>> include/acpi/processor.h:242: note: previous declaration of >>> ‘acpi_processor_add_fs’ was here >>> drivers/acpi/processor_core.c:415: error: static declaration of >>> ‘acpi_processor_remove_fs’ follows non-static declaration >>> include/acpi/processor.h:243: note: previous declaration of >>> ‘acpi_processor_remove_fs’ 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 >> >> > 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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel