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

[Xen-devel] Kernel build fail with MODVERSIONS=y

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Kernel build fail with MODVERSIONS=y
From: Cédric Schieli <cedric@xxxxxxxxxxxxxxxxxx>
Date: Wed, 17 Aug 2005 14:09:32 +0200
Delivery-date: Wed, 17 Aug 2005 12:07:44 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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.


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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Kernel build fail with MODVERSIONS=y, Cédric Schieli <=