[Pkg-xen-devel] xen-qemu-dm does not build with backported xen-4.1

Thomas Goirand zigo at debian.org
Wed Apr 27 02:59:34 UTC 2011


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



More information about the Pkg-xen-devel mailing list