Compilation error on xen-unstable.hg
Guys
I just did a hg pull from
http://xenbits.xensource.com/xen-unstable.hg
also tried from
http://xenbits.xensource.com/staging/xen-unstable.hg
when I try to build the tools directory I am getting the following error
/xenunstable/xen-unstable.hg/tools/ioemu-dir/vl.c: In function ‘main’:
/xenunstable/xen-unstable.hg/tools/ioemu-dir/vl.c:5812: warning: implicit declaration of function ‘dma_helper_init’ /xenunstable/xen-unstable.hg/tools/ioemu-dir/vl.c:5814: error: too few arguments to function ‘xc_interface_open’ make[3]: *** [vl.o] Error 1
make[3]: Leaving directory `/root/xenunstable/xen-unstable.hg/tools/ioemu-remote/i386-dm' make[2]: *** [subdir-i386-dm] Error 2
make[2]: Leaving directory `/root/xenunstable/xen-unstable.hg/tools/ioemu-remote
Problematic code segment isdma_helper_init();xc_handle = xc_interface_open();
I have no idea on "dma_helper_init()" warning but, the according to xenctrl.h the prototype for "xc_interface_open()" is defined as
xc_interface *xc_interface_open(xentoollog_logger *logger, xentoollog_logger *dombuild_logger,
unsigned open_flags);
Is this due to some partially updated code been in the repository or am I doing something wrong..
Thanks
Gihan
In your qemu tree, do 'git pull -a'. You have an old checkout of qemu.
-- Keir
Quoted 46 lines · Gihan Munasinghe
Guys
I just did a hg pull from
http://xenbits.xensource.com/xen-unstable.hgalso tried from
http://xenbits.xensource.com/staging/xen-unstable.hg
when I try to build the tools directory I am getting the following error
/xenunstable/xen-unstable.hg/tools/ioemu-dir/vl.c: In function Œmain¹:
/xenunstable/xen-unstable.hg/tools/ioemu-dir/vl.c:5812: warning:
implicit declaration of function Œdma_helper_init¹ /xenunstable/xen-unstable.hg/tools/ioemu-dir/vl.c:5814: error: too few arguments to function Œxc_interface_open¹
make[3]: *** [vl.o] Error 1
make[3]: Leaving directory `/root/xenunstable/xen-unstable.hg/tools/ioemu-remote/i386-dm' make[2]: *** [subdir-i386-dm] Error 2
make[2]: Leaving directory `/root/xenunstable/xen-unstable.hg/tools/ioemu-remoteProblematic code segment is
dma_helper_init();xc_handle=xc_interface_open();I have no idea on "
dma_helper_init()" warning but, the according toxenctrl.hthe prototype for "xc_interface_open()" is defined as
xc_interface*xc_interface_open(xentoollog_logger *logger,xentoollog_logger*dombuild_logger,
unsignedopen_flags);Is this due to some partially updated code been in the repository or am I doing something wrong..
Thanks
Gihan_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel