From: cheechuang Subject: An Error happend when install PV drivers on HVM guest Date: Sat, 2 Aug 2008 20:20:49 +0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0356891019==" 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 List-Id: xen-devel@lists.xenproject.org --===============0356891019== Content-Type: multipart/alternative; boundary="----=_Part_24661_5942393.1217679649503" ------=_Part_24661_5942393.1217679649503 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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=3D`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/plat= form-compat.h:150: error: redefinition of typedef =E2=80=98irq_handler_t=E2=80=99 include/linux/interrupt.h:67: error: previous declaration of =E2=80=98irq_handler_t=E2=80=99 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 ? ------=_Part_24661_5942393.1217679649503 Content-Type: text/html; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline

Hi all:

<= font size=3D"3">I am trying to compile PV drivers fo= r RHEL5.2 HVM guest(2.6.28-92.el5), but I came across the following errors = while I compile it.

<= font face=3D"Calibri" size=3D"3"> 

<= font size=3D"3">[root@xenserver linux-2.6]# make -C = /lib/modules/`uname -r`/build M=3D`pwd` modules

<= font size=3D"3">make: Entering directory `/usr/src/k= ernels/2.6.18-92.el5-i686'

<= font size=3D"3">&n= bsp; CC [M]  /root/xen= 3.2/xen-3.2.0/unmodified_drivers/linux-2.6/balloon/balloon.o<= /span>

<= font size=3D"3">In file included from include/xen/in= terface/xen.h:12,

<= font size=3D"3">&n= bsp;            = ;    from /root/xen3.2/xen-3.2.0/unmodified_drivers/l= inux-2.6/include/asm/hypervisor.h:40,

<= font size=3D"3">&n= bsp;            = ;    from /root/xen3.2/xen-3.2.0/unmodified_drivers/l= inux-2.6/balloon/balloon.c:48:

<= font size=3D"3">include/xen/interface/xen-compat.h:2= 3:2: error: #error "These header files do not support the requested in= terface version."

<= font size=3D"3">In file included from /root/xen3.2/x= en-3.2.0/unmodified_drivers/linux-2.6/balloon/balloon.c:63:

<= font size=3D"3">/root/xen3.2/xen-3.2.0/unmodified_dr= ivers/linux-2.6/compat-include/xen/platform-compat.h:150: error: redefiniti= on of typedef =E2=80=98irq_handler_t=E2=80=99

<= font size=3D"3">include/linux/interrupt.h:67: error:= previous declaration of =E2=80=98irq_handler_t=E2=80=99 was here

<= font size=3D"3">make[2]: *** [/root/xen3.2/xen-3.2.0= /unmodified_drivers/linux-2.6/balloon/balloon.o] Error 1

<= font size=3D"3">make[1]: *** [/root/xen3.2/xen-3.2.0= /unmodified_drivers/linux-2.6/balloon] Error 2

<= font size=3D"3">make: *** [_module_/root/xen3.2/xen-= 3.2.0/unmodified_drivers/linux-2.6] Error 2

<= font face=3D"Calibri" size=3D"3"> 

<= font face=3D"Calibri" size=3D"3"> 

<= font size=3D"3">Can anybody give me some hints on ho= w to solve this problem ?

------=_Part_24661_5942393.1217679649503-- --===============0356891019== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0356891019==--