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] qemu-xen-unstable build error

To: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Subject: [Xen-devel] qemu-xen-unstable build error
From: Zhigang Wang <zhigang.x.wang@xxxxxxxxxx>
Date: Fri, 28 May 2010 15:23:52 +0800
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 28 May 2010 00:26:36 -0700
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100301 Fedora/3.0.3-1.fc12 Thunderbird/3.0.3
Hi Ian,

I hit an error when compiling latest xen-unstable + qemu-xen-unstable:

$ DESTDIR=/share/tmp/pkg/xen-unstable/dist/install make install-tools

...

qemu successfuly configured for Xen qemu-dm build
make -C ioemu-dir install
=== PCI passthrough capability has been enabled ===
make[3]: Entering directory `/share/tmp/pkg/qemu-xen-unstable'
  CC    qemu-nbd.o
In file included from ./config-host.h:20,
                 from ./qemu-common.h:33,
                 from qemu-nbd.c:20:
./xen-config-host.h:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘*’ token
make[3]: *** [qemu-nbd.o] Error 1
make[3]: Leaving directory `/share/tmp/pkg/qemu-xen-unstable'
make[2]: *** [subdir-install-ioemu-dir] Error 2
make[2]: Leaving directory `/share/tmp/pkg/xen-unstable/tools'
make[1]: *** [subdirs-install] Error 2
make[1]: Leaving directory `/share/tmp/pkg/xen-unstable/tools'
make: *** [install-tools] Error 2

Seems this commit is incomplete:

commit ffb0cf2ad55e952dae55e6166c4fcea79be6cd30
Author: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Date:   Thu Apr 15 17:01:15 2010 +0100

    Change callers of libxc to use new libxc API.

    Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>

I cannot find the definition of xc_interface.

Checkout to commit 805ed3b20492d2f4bb465bfda65cedd286e23209 can finish the 
build.

Thanks,

Zhigang

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