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] kernel compilation


On 25 Apr 2005, at 19:56, andrew mathes wrote:

I posted to xen-users I was having problems, but looking through list archives looks like xen-devel is a more appropriate place.

After patching my kernel, and running make menuconfig ARCH=xen, everything seems fine. When I run make ARCH=xen, it compiles fine till here:
  CC      arch/xen/kernel/skbuff.o
arch/xen/kernel/skbuff.c:28: error: redefinition of `__dev_alloc_skb'
include/linux/skbuff.h:940: error: `__dev_alloc_skb' previously defined here
arch/xen/kernel/skbuff.c: In function `__dev_alloc_skb':
arch/xen/kernel/skbuff.c:30: warning: implicit declaration of function `alloc_skb_from_cache' arch/xen/kernel/skbuff.c:30: warning: assignment makes pointer from integer without a cast

is there anything I should be doing different/workaround?

Take a look in your .config file. There should be a line near the start, at the end of the 'XEN' subsection, that says 'CONFIG_HAVE_ARCH_DEV_ALLOC_SKB=y'.

If you're missing that, and/or the entire xen subsection, then you've somehow configured for native i386 by mistake.

 -- Keir


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

<Prev in Thread] Current Thread [Next in Thread>