From: =?ISO-8859-1?Q?C=E9dric?= Schieli Subject: Kernel build fail with MODVERSIONS=y Date: Wed, 17 Aug 2005 14:09:32 +0200 Message-ID: <1124280572.5547.9.camel@tron.priv.newel.net> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: 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 Kernel build fail for me since changeset 6192 if I enable MODVERSIONS in my kernel (2.6) config with this error : ... LD arch/xen/i386/kernel/built-in.o arch/xen/i386/kernel/i386_ksyms.o(*ABS*+0x2602faa9): In function `__crc_dma_alloc_coherent': i386_ksyms.c: multiple definition of `__crc_dma_alloc_coherent' arch/xen/i386/kernel/i386_ksyms.o(*ABS*+0xb210325d): In function `__crc_dma_free_coherent': i386_ksyms.c: multiple definition of `__crc_dma_free_coherent' make[1]: *** [arch/xen/i386/kernel/built-in.o] Error 1 make: *** [arch/xen/i386/kernel] Error 2 EXPORT_SYMBOL(dma_alloc_coherent) and EXPORT_SYMBOL(dma_free_coherent) appear in both i386_ksyms.c and pci-dma.c Removing those in i386_ksyms.c solved the problem for me.