From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: pvops xen/master and xen/stable domU kernel compilation errors Date: Sun, 14 Mar 2010 11:04:53 +0200 Message-ID: <20100314090453.GA1878@reaktio.net> References: <29b32d341003120910l5340bc01tcada3ca2adbaf763@mail.gmail.com> <20100312175135.GK1878@reaktio.net> <29b32d341003121751s517ea28qbdb78e8cc69243ac@mail.gmail.com> <20100313111857.GS1878@reaktio.net> <29b32d341003130809u49d1edcas234fdca4c3d70ed@mail.gmail.com> <20100313164102.GZ1878@reaktio.net> <29b32d341003131743j6ae271d6of486a3c1a4858513@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <29b32d341003131743j6ae271d6of486a3c1a4858513@mail.gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ritu kaur Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Sat, Mar 13, 2010 at 05:43:23PM -0800, Ritu kaur wrote: > I followed the steps mentioned in wiki to pull xen code to compile = domU > kernel from >=20 > 1. xen/master, I get following compilation errors. I do see in xen-d= evel > forum someone else has reported similar issue but no solution yet(pa= tch > provided by Konrad has followup errors) >=20 Hmm.. the error below seems pretty easy to solve. Maybe Konrad already ha= s a patch for this. > CC [M] drivers/watchdog/machzwd.o > CC [M] drivers/watchdog/sbc_epx_c3.o > CC [M] drivers/watchdog/softdog.o > CC drivers/xen/grant-table.o > CC drivers/xen/features.o > CC drivers/xen/events.o > drivers/xen/events.c:605: error: redefinition of =E2**xen_destroy_ir= q=E2** > /root/kernel/linux.2-6.xen/arch/x86/include/asm/xen/pci.h:29: error: > previous definition of =E2**xen_destroy_irq=E2** was here > drivers/xen/events.c:637: error: redefinition of =E2**xen_create_msi= _irq=E2** > /root/kernel/linux.2-6.xen/arch/x86/include/asm/xen/pci.h:25: error: > previous definition of =E2**xen_create_msi_irq=E2** was here > make[2]: *** [drivers/xen/events.o] Error 1 > make[1]: *** [drivers/xen] Error 2 > make: *** [drivers] Error 2 >=20 > 2. xen/stable, I get following errors >=20 Ok so some extra patches needed here aswell. -- Pasi > CC drivers/pci/xen-pcifront.o > drivers/pci/xen-pcifront.c:373: error: variable =E2**pci_frontend_op= s=E2** has > initializut incomplete type > drivers/pci/xen-pcifront.c:374: error: unknown field =E2**enable_msi= =E2** > specified in ializer > drivers/pci/xen-pcifront.c:374: warning: excess elements in struct > initializer > drivers/pci/xen-pcifront.c:374: warning: (near initialization for > =E2**pci_frontend_op)=E2** > drivers/pci/xen-pcifront.c:375: error: unknown field =E2**disable_ms= i=E2** > specified in ializer > drivers/pci/xen-pcifront.c:375: warning: excess elements in struct > initializer > drivers/pci/xen-pcifront.c:375: warning: (near initialization for > =E2**pci_frontend_op)=E2** > drivers/pci/xen-pcifront.c:376: error: unknown field =E2**enable_msi= x=E2** > specified in ializer > drivers/pci/xen-pcifront.c:376: warning: excess elements in struct > initializer > drivers/pci/xen-pcifront.c:376: warning: (near initialization for > =E2**pci_frontend_op)=E2** > drivers/pci/xen-pcifront.c:377: error: unknown field =E2**disable_ms= ix=E2** > specified intializer > drivers/pci/xen-pcifront.c:377: warning: excess elements in struct > initializer > drivers/pci/xen-pcifront.c:377: warning: (near initialization for > =E2**pci_frontend_op)=E2** > drivers/pci/xen-pcifront.c: In function =E2**pci_frontend_registrar=E2= **: > drivers/pci/xen-pcifront.c:383: error: =E2**xen_pci_frontend=E2** un= declared > (first use his function) > drivers/pci/xen-pcifront.c:383: error: (Each undeclared identifier i= s > reported only once > drivers/pci/xen-pcifront.c:383: error: for each function it appears = in.) > make[2]: *** [drivers/pci/xen-pcifront.o] Error 1 > make[1]: *** [drivers/pci] Error 2 > make: *** [drivers] Error 2 >=20 > Kindly let me know how to proceed on this. >=20