compile error xen/stable-2.6.32.x
CC [M] drivers/xen/platform-pci.odrivers/xen/platform-pci.c:50: error: redefinition of âalloc_xen_mmioâ include/xen/platform_pci.h:39: error: previous definition of âalloc_xen_mmioâ was here drivers/xen/platform-pci.c:94: error: redefinition of âplatform_pci_disable_irqâ include/xen/platform_pci.h:43: error: previous definition of âplatform_pci_disable_irqâ was here drivers/xen/platform-pci.c:100: error: redefinition of âplatform_pci_enable_irqâ include/xen/platform_pci.h:44: error: previous definition of âplatform_pci_enable_irqâ was here drivers/xen/platform-pci.c:106: error: redefinition of âplatform_pci_resumeâ include/xen/platform_pci.h:42: error: previous definition of âplatform_pci_resumeâ was here make[2]: *** [drivers/xen/platform-pci.o] Error 1
make[1]: *** [drivers/xen] Error 2
I think maybe platform-pci doesn't work when compiled as a module? I'll build it in and see what happens...
James
Quoted 19 lines
CC [M]
drivers/xen/platform-pci.odrivers/xen/platform-pci.c:50: error: redefinition of âalloc_xen_mmioâinclude/xen/platform_pci.h:39: error: previous definition of âalloc_xen_mmioâ was heredrivers/xen/platform-pci.c:94: error: redefinition of âplatform_pci_disable_irqâinclude/xen/platform_pci.h:43: error: previous definition of âplatform_pci_disable_irqâ was heredrivers/xen/platform-pci.c:100: error: redefinition of âplatform_pci_enable_irqâinclude/xen/platform_pci.h:44: error: previous definition of âplatform_pci_enable_irqâ was heredrivers/xen/platform-pci.c:106: error: redefinition of âplatform_pci_resumeâinclude/xen/platform_pci.h:42: error: previous definition of âplatform_pci_resumeâ was here
make[2]: *** [drivers/xen/platform-pci.o] Error 1
make[1]: *** [drivers/xen] Error 2
Quoted 3 lines
I think maybe platform-pci doesn't work when compiled as a module? I'll build it in and see what happens...
Okay I can confirm that. I compiles fine as CONFIG_XEN_PLATFORM_PCI=y but not CONFIG_XEN_PLATFORM_PCI=m.
James
Quoted 12 lines · James Harper
CC [M]
drivers/xen/platform-pci.odrivers/xen/platform-pci.c:50: error: redefinition of âalloc_xen_mmioâinclude/xen/platform_pci.h:39: error: previous definition of âalloc_xen_mmioâ was heredrivers/xen/platform-pci.c:94: error: redefinition of âplatform_pci_disable_irqâinclude/xen/platform_pci.h:43: error: previous definition of âplatform_pci_disable_irqâ was heredrivers/xen/platform-pci.c:100: error: redefinition of âplatform_pci_enable_irqâinclude/xen/platform_pci.h:44: error: previous definition of âplatform_pci_enable_irqâ was heredrivers/xen/platform-pci.c:106: error: redefinition of âplatform_pci_resumeâinclude/xen/platform_pci.h:42: error: previous definition of âplatform_pci_resumeâ was here make[2]: *** [drivers/xen/platform-pci.o] Error 1
make[1]: *** [drivers/xen] Error 2
Quoted 1 line
I think maybe platform-pci doesn't work when compiled as a module? I'll build it in and see what happens...
There was a patch for this posted to the list a couple of weeks ago at
http://lists.xensource.com/archives/html/xen-devel/2010-05/msg00315.html
though I haven't tried it yet.
Michael Young
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel