Phil Winterfield (winterfi)
2009-Aug-04 18:56 UTC
[Xen-devel] Trying to build c/s 19597 for xen-3.4.0-rc4-pre
I have been trying to build an installation for changeset 19597 / xen-3.4.0-rc4-pre by doing the following (which used to work) and now get build errors. Can someone tell me the correct procedure? Thanks, Phil hg clone http://xenbits.xensource.com/xen-unstable.hg cd xen-unstable.hg rm -rf * hg co -C 19597 make world . . /xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mini-os.o -o /root/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mini-os /root/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mini-os.o: In function `xenstore_dom_chmod'': /root/xen-unstable.hg/stubdom/ioemu/xenstore.c:1531: undefined reference to `xs_strings_to_perms'' /root/xen-unstable.hg/stubdom/ioemu/xenstore.c:1532: undefined reference to `xs_set_permissions'' /root/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mini-os.o: In function `qemu_chr_open_pty'': /root/xen-unstable.hg/stubdom/ioemu/qemu-char.c:1130: undefined reference to `posix_openpt'' make[3]: *** [/root/xen-unstable.hg/stubdom/mini-os-x86_64-ioemu/mini-os] Error 1 make[3]: Leaving directory `/root/xen-unstable.hg/extras/mini-os'' make[2]: *** [ioemu-stubdom] Error 2 make[2]: Leaving directory `/root/xen-unstable.hg/stubdom'' make[1]: *** [install-stubdom] Error 2 make[1]: Leaving directory `/root/xen-unstable.hg'' make: *** [world] Error 2 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Stefano Stabellini
2009-Aug-05 11:01 UTC
Re: [Xen-devel] Trying to build c/s 19597 for xen-3.4.0-rc4-pre
On Tue, 4 Aug 2009, Phil Winterfield (winterfi) wrote:> > I have been trying to build an installation for changeset 19597 / xen-3.4.0-rc4-pre by doing the following (which used to > work) and now get build errors. Can someone tell me the correct procedure? > > > > Thanks, > > Phil > > > > hg clone http://xenbits.xensource.com/xen-unstable.hg > > cd xen-unstable.hg > > rm -rf * > > hg co -C 19597 > > make world >I think your version of qemu-xen is too recent: now we have a QEMU_TAG in Config.mk that specifies what CS in the qemu-xen git repo has to be used with the xen repo. Unfortunately CS 19597 is too old to support QEMU_TAG so it just clones the latest qemu-xen that coincidentally at the moment has few problems and prevents stubdoms to build correctly. I think you have to manually checkout CS 840184a106bc24e745beda5c77e392f6cecd2bc9 in the qemu repository: cd tools/ioemu-dir git checkout -b compatible_with_19597 840184a106bc24e745beda5c77e392f6cecd2bc9 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel