From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Olivier B." Subject: Re: Errors while compiling stable-2.6.32.x Date: Fri, 28 May 2010 01:24:23 +0200 Message-ID: <4BFEFF27.1000503@daevel.fr> References: <4BFEF534.7090600@daevel.fr> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0764515371==" Return-path: In-Reply-To: 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-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --===============0764515371== Content-Type: multipart/alternative; boundary="------------060702000107070200040507" This is a multi-part message in MIME format. --------------060702000107070200040507 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Well, I use the "make-kpkg" script for Debian, from the man page I can=20 read : "WARNING: Do NOT set the -j option in MAKEFLAGS directly, this shall=20 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=20 is "no, I don't use -j". Olivier Le 28/05/2010 01:15, Aravindh Puthiyaparambil a =E9crit : > > Are you using a -jN option while building? If you are, can you try=20 > building without it? > > Thanks, > > Aravindh > > *From:* xen-devel-bounces@lists.xensource.com=20 > [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=20 > 'acpi_processor_add_fs' follows non-static declaration > include/acpi/processor.h:242: note: previous declaration of=20 > 'acpi_processor_add_fs' was here > drivers/acpi/processor_core.c:415: error: static declaration of=20 > 'acpi_processor_remove_fs' follows non-static declaration > include/acpi/processor.h:243: note: previous declaration of=20 > '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:=20 > 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 > =20 --------------060702000107070200040507 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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

--------------060702000107070200040507-- --===============0764515371== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0764515371==--