WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] pvops xen/master and xen/stable domU kernel compilation

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
> 
>    1. xen/master, I get following compilation errors. I do see in xen-devel
>    forum someone else has reported similar issue but no solution yet(patch
>    provided by Konrad has followup errors)
> 

Hmm.. the error below seems pretty easy to solve. Maybe Konrad already has
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 â**xen_destroy_irqâ**
>    /root/kernel/linux.2-6.xen/arch/x86/include/asm/xen/pci.h:29: error:
>    previous definition of â**xen_destroy_irqâ** was here
>    drivers/xen/events.c:637: error: redefinition of â**xen_create_msi_irqâ**
>    /root/kernel/linux.2-6.xen/arch/x86/include/asm/xen/pci.h:25: error:
>    previous definition of â**xen_create_msi_irqâ** was here
>    make[2]: *** [drivers/xen/events.o] Error 1
>    make[1]: *** [drivers/xen] Error 2
>    make: *** [drivers] Error 2
> 
>    2. xen/stable, I get following errors
> 

Ok so some extra patches needed here aswell.

-- Pasi

>     CC      drivers/pci/xen-pcifront.o
>    drivers/pci/xen-pcifront.c:373: error: variable â**pci_frontend_opsâ** has
>    initializut incomplete type
>    drivers/pci/xen-pcifront.c:374: error: unknown field â**enable_msiâ**
>    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
>    â**pci_frontend_op)â**
>    drivers/pci/xen-pcifront.c:375: error: unknown field â**disable_msiâ**
>    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
>    â**pci_frontend_op)â**
>    drivers/pci/xen-pcifront.c:376: error: unknown field â**enable_msixâ**
>    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
>    â**pci_frontend_op)â**
>    drivers/pci/xen-pcifront.c:377: error: unknown field â**disable_msixâ**
>    specified intializer
>    drivers/pci/xen-pcifront.c:377: warning: excess elements in struct
>    initializer
>    drivers/pci/xen-pcifront.c:377: warning: (near initialization for
>    â**pci_frontend_op)â**
>    drivers/pci/xen-pcifront.c: In function â**pci_frontend_registrarâ**:
>    drivers/pci/xen-pcifront.c:383: error: â**xen_pci_frontendâ** undeclared
>    (first use his function)
>    drivers/pci/xen-pcifront.c:383: error: (Each undeclared identifier is
>    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
> 
>    Kindly let me know how to proceed on this.
> 


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel