Thomas Goirand
2011-Apr-27 02:59 UTC
[Pkg-xen-devel] xen-qemu-dm does not build with backported xen-4.1
On 04/27/2011 04:23 AM, Niccol? Belli wrote:> Hi, I backported xen-4.1-2 to Squeeze, but when I try to build > xen-qemu-dm-4.0 against it, it doesn't build. > Can you please help me? I attached log file. > > Niccol?Hi, To me, this looks like an issue with libxen-dev. The file /usr/include/xenctrl.h is the one to blame in your build log... Please write to the pkg-xen list (or at least as Cc), so that Bastian can read too. We don't need a full log, just this was enough: CC block-vmdk.o In file included from xen-config-host.h:19, from config-host.h:31, from osdep.c:25: /usr/include/xenctrl.h:140: error: expected ')' before '*' token /usr/include/xenctrl.h:863: error: expected ')' before '*' token /usr/include/xenctrl.h:1275: error: expected ')' before '*' token In file included from ./xen-config-host.h:19, from ./config-host.h:31, from ./qemu-common.h:33, from qemu-nbd.c:20: /usr/include/xenctrl.h:140: error: expected ')' before '*' token /usr/include/xenctrl.h:863: error: expected ')' before '*' token /usr/include/xenctrl.h:1275: error: expected ')' before '*' token In file included from xen-config-host.h:19, from config-host.h:31, from qemu-common.h:33, from cutils.c:24: /usr/include/xenctrl.h:140: error: expected ')' before '*' token /usr/include/xenctrl.h:863: error: expected ')' before '*' token /usr/include/xenctrl.h:1275: error: expected ')' before '*' token In file included from xen-config-host.h:19, from config-host.h:31, from qemu-common.h:33, from qemu-tool.c:14: /usr/include/xenctrl.h:140: error: expected ')' before '*' tokenIn file included from xen-config-host.h:19, from config-host.h:31, from qemu-common.h:33, from block-cow.c:25: /usr/include/xenctrl.h:140: error: expected ')' before '*' token /usr/include/xenctrl.h:863: error: expected ')' before '*' token/usr/include/xenctrl.h:863: error: expected ')' before '*' token /usr/include/xenctrl.h:1275: error: expected ')' before '*' token /usr/include/xenctrl.h:1275: error: expected ')' before '*' token In file included from xen-config-host.h:19, from config-host.h:31, from qemu-common.h:33, from qemu-malloc.c:24: /usr/include/xenctrl.h:140: error: expected ')' before '*' token /usr/include/xenctrl.h:863: error: expected ')' before '*' token /usr/include/xenctrl.h:1275: error: expected ')' before '*' token In file included from xen-config-host.h:19, from config-host.h:31, from qemu-common.h:33, from block-qcow.c:24: /usr/include/xenctrl.h:140: error: expected ')' before '*' token /usr/include/xenctrl.h:863: error: expected ')' before '*' token /usr/include/xenctrl.h:1275: error: expected ')' before '*' token In file included from xen-config-host.h:19, from config-host.h:31, from qemu-common.h:33, from block-vmdk.c:26: /usr/include/xenctrl.h:140: error: expected ')' before '*' token /usr/include/xenctrl.h:863: error: expected ')' before '*' token /usr/include/xenctrl.h:1275: error: expected ')' before '*' token make[1]: *** [cutils.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [qemu-tool.o] Error 1 In file included from xen-config-host.h:19, from config-host.h:31, from qemu-common.h:33, from aes.c:30: /usr/include/xenctrl.h:140: error: expected ')' before '*' token make[1]: *** [qemu-malloc.o] Error 1 /usr/include/xenctrl.h:863: error: expected ')' before '*' token /usr/include/xenctrl.h:1275: error: expected ')' before '*' token make[1]: *** [block-cow.o] Error 1 make[1]: *** [qemu-nbd.o] Error 1 make[1]: *** [osdep.o] Error 1 make[1]: *** [block-vmdk.o] Error 1 make[1]: *** [block-qcow.o] Error 1 make[1]: *** [aes.o] Error 1 make[1]: Leaving directory `/tmp/buildd/xen-qemu-dm-4.0-4.0.1/debian/build' make: *** [debian/stamps/build] Error 2 Thomas
Ian Campbell
2011-Apr-27 09:52 UTC
[Pkg-xen-devel] xen-qemu-dm does not build with backported xen-4.1
On Wed, 2011-04-27 at 10:59 +0800, Thomas Goirand wrote:> On 04/27/2011 04:23 AM, Niccol? Belli wrote: > > Hi, I backported xen-4.1-2 to Squeeze, but when I try to build > > xen-qemu-dm-4.0 against it, it doesn't build.qemu and xen are a matched set. There is no expectation that qemu-xen-4.0 will build against the xen-4.1 headers. You need to use/create qemu-xen-4.1 from the appropriate Xen.org release for use with Xen 4.1. This will change when Xen switches to the upstream qemu branch.> > Can you please help me? I attached log file. > > > > Niccol? > > Hi, > > To me, this looks like an issue with libxen-dev. The file > /usr/include/xenctrl.h is the one to blame in your build log... Please > write to the pkg-xen list (or at least as Cc), so that Bastian can read > too. We don't need a full log, just this was enough: > > CC block-vmdk.o > In file included from xen-config-host.h:19, > from config-host.h:31, > from osdep.c:25: > /usr/include/xenctrl.h:140: error: expected ')' before '*' token > /usr/include/xenctrl.h:863: error: expected ')' before '*' token > /usr/include/xenctrl.h:1275: error: expected ')' before '*' token > In file included from ./xen-config-host.h:19, > from ./config-host.h:31, > from ./qemu-common.h:33, > from qemu-nbd.c:20: > /usr/include/xenctrl.h:140: error: expected ')' before '*' token > /usr/include/xenctrl.h:863: error: expected ')' before '*' token > /usr/include/xenctrl.h:1275: error: expected ')' before '*' token > In file included from xen-config-host.h:19, > from config-host.h:31, > from qemu-common.h:33, > from cutils.c:24: > /usr/include/xenctrl.h:140: error: expected ')' before '*' token > /usr/include/xenctrl.h:863: error: expected ')' before '*' token > /usr/include/xenctrl.h:1275: error: expected ')' before '*' token > In file included from xen-config-host.h:19, > from config-host.h:31, > from qemu-common.h:33, > from qemu-tool.c:14: > /usr/include/xenctrl.h:140: error: expected ')' before '*' tokenIn file > included from xen-config-host.h:19, > from config-host.h:31, > from qemu-common.h:33, > from block-cow.c:25: > /usr/include/xenctrl.h:140: error: expected ')' before '*' token > > /usr/include/xenctrl.h:863: error: expected ')' before '*' > token/usr/include/xenctrl.h:863: error: expected ')' before '*' token > > /usr/include/xenctrl.h:1275: error: expected ')' before '*' token > /usr/include/xenctrl.h:1275: error: expected ')' before '*' token > In file included from xen-config-host.h:19, > from config-host.h:31, > from qemu-common.h:33, > from qemu-malloc.c:24: > /usr/include/xenctrl.h:140: error: expected ')' before '*' token > /usr/include/xenctrl.h:863: error: expected ')' before '*' token > /usr/include/xenctrl.h:1275: error: expected ')' before '*' token > In file included from xen-config-host.h:19, > from config-host.h:31, > from qemu-common.h:33, > from block-qcow.c:24: > /usr/include/xenctrl.h:140: error: expected ')' before '*' token > /usr/include/xenctrl.h:863: error: expected ')' before '*' token > /usr/include/xenctrl.h:1275: error: expected ')' before '*' token > In file included from xen-config-host.h:19, > from config-host.h:31, > from qemu-common.h:33, > from block-vmdk.c:26: > /usr/include/xenctrl.h:140: error: expected ')' before '*' token > /usr/include/xenctrl.h:863: error: expected ')' before '*' token > /usr/include/xenctrl.h:1275: error: expected ')' before '*' token > make[1]: *** [cutils.o] Error 1 > make[1]: *** Waiting for unfinished jobs.... > make[1]: *** [qemu-tool.o] Error 1 > In file included from xen-config-host.h:19, > from config-host.h:31, > from qemu-common.h:33, > from aes.c:30: > /usr/include/xenctrl.h:140: error: expected ')' before '*' token > make[1]: *** [qemu-malloc.o] Error 1 > /usr/include/xenctrl.h:863: error: expected ')' before '*' token > /usr/include/xenctrl.h:1275: error: expected ')' before '*' token > make[1]: *** [block-cow.o] Error 1 > make[1]: *** [qemu-nbd.o] Error 1 > make[1]: *** [osdep.o] Error 1 > make[1]: *** [block-vmdk.o] Error 1 > make[1]: *** [block-qcow.o] Error 1 > make[1]: *** [aes.o] Error 1 > make[1]: Leaving directory `/tmp/buildd/xen-qemu-dm-4.0-4.0.1/debian/build' > make: *** [debian/stamps/build] Error 2 > > Thomas > > _______________________________________________ > Pkg-xen-devel mailing list > Pkg-xen-devel at lists.alioth.debian.org > http://lists.alioth.debian.org/mailman/listinfo/pkg-xen-devel >-- Ian Campbell [...] or some clown changed the chips on a board and not its name. (Don't laugh! Look at the SMC etherpower for that.) -- from /usr/src/linux/MAINTAINERS -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20110427/738becb2/attachment.pgp>