CC [M] drivers/xen/platform-pci.o drivers/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 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
> > CC [M] drivers/xen/platform-pci.o > drivers/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... >Okay I can confirm that. I compiles fine as CONFIG_XEN_PLATFORM_PCI=y but not CONFIG_XEN_PLATFORM_PCI=m. James _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Thu, 20 May 2010, James Harper wrote:> CC [M] drivers/xen/platform-pci.o > drivers/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...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 Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel