Skip to contentSkip to conversation

Compilation error on xen-unstable.hg

DISCUSSION Gihan Munasinghe 2 participants 2 messages Jun 1, 2010

lore
Share & tools
lore
#0 lore raw

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 is
dma_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

#1 lore raw

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.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 is
dma_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

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel