[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] An Error happend when install PV drivers on HVM guest


  • To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: cheechuang <cheechuang@xxxxxxxxx>
  • Date: Sat, 2 Aug 2008 20:20:49 +0800
  • Delivery-date: Sat, 02 Aug 2008 05:21:12 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=dOKmOM+MTnwkzujRBpHRphmZJ0+BsbASdYK/RAZmmb9bS2jxzbQeU+VWSJg2Fz2MnQ E547Wip0hl/AuvXLd0KW3F/lRZqgG+LbQ5s7t3/SV/ajgaunorIihKsN2ThjzeDqQUgi 4puoRgW3sbLhrCrJUxyYJq4taW8pDrTFLiZvs=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi all:

I am trying to compile PV drivers for RHEL5.2 HVM guest(2.6.28-92.el5), but I came across the following errors while I compile it.

 

[root@xenserver linux-2.6]# make -C /lib/modules/`uname -r`/build M=`pwd` modules

make: Entering directory `/usr/src/kernels/2.6.18-92.el5-i686'

  CC [M]  /root/xen3.2/xen-3.2.0/unmodified_drivers/linux-2.6/balloon/balloon.o

In file included from include/xen/interface/xen.h:12,

                 from /root/xen3.2/xen-3.2.0/unmodified_drivers/linux-2.6/include/asm/hypervisor.h:40,

                 from /root/xen3.2/xen-3.2.0/unmodified_drivers/linux-2.6/balloon/balloon.c:48:

include/xen/interface/xen-compat.h:23:2: error: #error "These header files do not support the requested interface version."

In file included from /root/xen3.2/xen-3.2.0/unmodified_drivers/linux-2.6/balloon/balloon.c:63:

/root/xen3.2/xen-3.2.0/unmodified_drivers/linux-2.6/compat-include/xen/platform-compat.h:150: error: redefinition of typedef ‘irq_handler_t’

include/linux/interrupt.h:67: error: previous declaration of ‘irq_handler_t’ was here

make[2]: *** [/root/xen3.2/xen-3.2.0/unmodified_drivers/linux-2.6/balloon/balloon.o] Error 1

make[1]: *** [/root/xen3.2/xen-3.2.0/unmodified_drivers/linux-2.6/balloon] Error 2

make: *** [_module_/root/xen3.2/xen-3.2.0/unmodified_drivers/linux-2.6] Error 2

 

 

Can anybody give me some hints on how to solve this problem ?

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.