Received: from eggs.gnu.org ([2001:4830:134:3::10]:34260) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJwa0-0000rK-10 for qemu-devel@nongnu.org; Fri, 15 Jan 2016 00:05:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aJwZy-0000hA-Ku for qemu-devel@nongnu.org; Fri, 15 Jan 2016 00:05:43 -0500 Received: from indium.canonical.com ([91.189.90.7]:33071) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJwZy-0000gR-DN for qemu-devel@nongnu.org; Fri, 15 Jan 2016 00:05:42 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1aJwZy-00022q-1E for ; Fri, 15 Jan 2016 05:05:42 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 01A2F2E805B for ; Fri, 15 Jan 2016 05:05:42 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Fri, 15 Jan 2016 04:57:51 -0000 From: pranith <1531632@bugs.launchpad.net> Sender: bounces@canonical.com References: <20160106220339.12044.75644.malonedeb@wampee.canonical.com> Message-Id: <20160115045751.14736.75297.malone@wampee.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1531632] Re: Can't compile qemu because of errors in the Xen code Reply-To: Bug 1531632 <1531632@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org OK. I am closing this then. :) ** Changed in: qemu Status: New =3D> Invalid -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1531632 Title: Can't compile qemu because of errors in the Xen code Status in QEMU: Invalid Bug description: I'm using Arch Linux, with all needed libs packages installed via ABS (co= mpiled from source). I tried to clone the master repository, the v2.5.0 and the stable-2.4.0, = all I had the same problems: First I have to disable -Werror, because it claims about some uninitialized variables. Trying to compile the code, it stops when compiling the xen code (hw/block/xendisk.o), complaining that ioservid_t is declared twice, first as 16bit and then as 32bit. Output of make: CC hw/block/xen_disk.o In file included from /home/leo/qemu/include/hw/xen/xen_backend.h:4:0, from /home/leo/qemu/hw/block/xen_disk.c:39: /home/leo/qemu/include/hw/xen/xen_common.h:198:18: error: conflicting typ= es for =E2=80=98ioservid_t=E2=80=99 typedef uint16_t ioservid_t; ^ In file included from /usr/include/xenctrl.h:37:0, from /home/leo/qemu/include/hw/xen/xen_common.h:9, from /home/leo/qemu/include/hw/xen/xen_backend.h:4, from /home/leo/qemu/hw/block/xen_disk.c:39: /usr/include/xen/xen.h:353:18: note: previous declaration of =E2=80=98ios= ervid_t=E2=80=99 was here typedef uint32_t ioservid_t; ^ In file included from /home/leo/qemu/include/hw/xen/xen_backend.h:4:0, from /home/leo/qemu/hw/block/xen_disk.c:39: /home/leo/qemu/include/hw/xen/xen_common.h: In function =E2=80=98xen_get_= ioreq_server_info=E2=80=99: /home/leo/qemu/include/hw/xen/xen_common.h:256:36: error: =E2=80=98HVM_PA= RAM_IOREQ_PFN=E2=80=99 undeclared (first use in this function) rc =3D xc_get_hvm_param(xc, dom, HVM_PARAM_IOREQ_PFN, ¶m); ^ /home/leo/qemu/include/hw/xen/xen_common.h:256:36: note: each undeclared = identifier is reported only once for each function it appears in In file included from /home/leo/qemu/include/hw/xen/xen_backend.h:4:0, from /home/leo/qemu/hw/block/xen_disk.c:39: /home/leo/qemu/include/hw/xen/xen_common.h:264:36: error: =E2=80=98HVM_PA= RAM_BUFIOREQ_PFN=E2=80=99 undeclared (first use in this function) rc =3D xc_get_hvm_param(xc, dom, HVM_PARAM_BUFIOREQ_PFN, ¶m); ^ /home/leo/qemu/rules.mak:57: recipe for target 'hw/block/xen_disk.o' fail= ed make: *** [hw/block/xen_disk.o] Error 1 [leo@AlphaArch build]$ make CC hw/block/xen_disk.o In file included from /home/leo/qemu/include/hw/xen/xen_backend.h:4:0, from /home/leo/qemu/hw/block/xen_disk.c:39: /home/leo/qemu/include/hw/xen/xen_common.h:198:18: error: conflicting typ= es for =E2=80=98ioservid_t=E2=80=99 typedef uint16_t ioservid_t; ^ In file included from /usr/include/xenctrl.h:37:0, from /home/leo/qemu/include/hw/xen/xen_common.h:9, from /home/leo/qemu/include/hw/xen/xen_backend.h:4, from /home/leo/qemu/hw/block/xen_disk.c:39: /usr/include/xen/xen.h:353:18: note: previous declaration of =E2=80=98ios= ervid_t=E2=80=99 was here typedef uint32_t ioservid_t; ^ In file included from /home/leo/qemu/include/hw/xen/xen_backend.h:4:0, from /home/leo/qemu/hw/block/xen_disk.c:39: /home/leo/qemu/include/hw/xen/xen_common.h: In function =E2=80=98xen_get_= ioreq_server_info=E2=80=99: /home/leo/qemu/include/hw/xen/xen_common.h:256:36: error: =E2=80=98HVM_PA= RAM_IOREQ_PFN=E2=80=99 undeclared (first use in this function) rc =3D xc_get_hvm_param(xc, dom, HVM_PARAM_IOREQ_PFN, ¶m); ^ /home/leo/qemu/include/hw/xen/xen_common.h:256:36: note: each undeclared = identifier is reported only once for each function it appears in In file included from /home/leo/qemu/include/hw/xen/xen_backend.h:4:0, from /home/leo/qemu/hw/block/xen_disk.c:39: /home/leo/qemu/include/hw/xen/xen_common.h:264:36: error: =E2=80=98HVM_PA= RAM_BUFIOREQ_PFN=E2=80=99 undeclared (first use in this function) rc =3D xc_get_hvm_param(xc, dom, HVM_PARAM_BUFIOREQ_PFN, ¶m); ^ /home/leo/qemu/rules.mak:57: recipe for target 'hw/block/xen_disk.o' fail= ed make: *** [hw/block/xen_disk.o] Error 1 [leo@AlphaArch build]$ make CC hw/block/xen_disk.o In file included from /home/leo/qemu/include/hw/xen/xen_backend.h:4:0, from /home/leo/qemu/hw/block/xen_disk.c:39: /home/leo/qemu/include/hw/xen/xen_common.h:198:18: error: conflicting typ= es for =E2=80=98ioservid_t=E2=80=99 typedef uint16_t ioservid_t; ^ In file included from /usr/include/xenctrl.h:37:0, from /home/leo/qemu/include/hw/xen/xen_common.h:9, from /home/leo/qemu/include/hw/xen/xen_backend.h:4, from /home/leo/qemu/hw/block/xen_disk.c:39: /usr/include/xen/xen.h:353:18: note: previous declaration of =E2=80=98ios= ervid_t=E2=80=99 was here typedef uint32_t ioservid_t; ^ In file included from /home/leo/qemu/include/hw/xen/xen_backend.h:4:0, from /home/leo/qemu/hw/block/xen_disk.c:39: /home/leo/qemu/include/hw/xen/xen_common.h: In function =E2=80=98xen_get_= ioreq_server_info=E2=80=99: /home/leo/qemu/include/hw/xen/xen_common.h:256:36: error: =E2=80=98HVM_PA= RAM_IOREQ_PFN=E2=80=99 undeclared (first use in this function) rc =3D xc_get_hvm_param(xc, dom, HVM_PARAM_IOREQ_PFN, ¶m); ^ /home/leo/qemu/include/hw/xen/xen_common.h:256:36: note: each undeclared = identifier is reported only once for each function it appears in In file included from /home/leo/qemu/include/hw/xen/xen_backend.h:4:0, from /home/leo/qemu/hw/block/xen_disk.c:39: /home/leo/qemu/include/hw/xen/xen_common.h:264:36: error: =E2=80=98HVM_PA= RAM_BUFIOREQ_PFN=E2=80=99 undeclared (first use in this function) rc =3D xc_get_hvm_param(xc, dom, HVM_PARAM_BUFIOREQ_PFN, ¶m); ^ /home/leo/qemu/rules.mak:57: recipe for target 'hw/block/xen_disk.o' fail= ed make: *** [hw/block/xen_disk.o] Error 1 To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1531632/+subscriptions