compile error in xen-unstable
Hi,
the current build of xen-unstable seems to be broken. After a "make world" I get the following:
CC i386-dm/helper2.ohelper2.c: In function ‘cpu_x86_init’:
helper2.c:142: error: ‘shared_iopage_t’ has no member named ‘vcpu_iodata’ helper2.c: In function ‘sp_info’:
helper2.c:219: error: ‘shared_iopage_t’ has no member named ‘vcpu_iodata’ helper2.c:224: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 6 has type ‘uint32_t’
helper2.c:224: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 7 has type ‘uint32_t’
helper2.c:226: error: ‘ioreq_t’ has no member named ‘io_count’ helper2.c: In function ‘__cpu_get_ioreq’:
helper2.c:235: error: ‘shared_iopage_t’ has no member named ‘vcpu_iodata’ helper2.c:242: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 7 has type ‘uint32_t’
helper2.c:242: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 8 has type ‘uint32_t’helper2.c: In function ‘cpu_handle_ioreq’:
helper2.c:517: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 7 has type ‘uint32_t’
helper2.c:517: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 8 has type ‘uint32_t’
make[5]: *** [helper2.o] Error 1
make[5]: Leaving directory `/home/gross/xen-unstable.hg/tools/ioemu-remote/i386-dm' make[4]: *** [subdir-i386-dm] Error 2
make[4]: Leaving directory `/home/gross/xen-unstable.hg/tools/ioemu-remote' make[3]: *** [subdir-install-ioemu-dir] Error 2
make[3]: Leaving directory `/home/gross/xen-unstable.hg/tools' make[2]: *** [subdirs-install] Error 2
make[2]: Leaving directory `/home/gross/xen-unstable.hg/tools' make[1]: *** [install-tools] Error 2
make[1]: Leaving directory `/home/gross/xen-unstable.hg'
make: *** [world] Error 2
Juergen
Signature · 5 lines
Juergen Gross Principal Developer Operating Systems TSP ES&S SWE OS6 Telephone: +49 (0) 89 636 47950 Fujitsu Technolgy Solutions e-mail: [email protected] Otto-Hahn-Ring 6 Internet: ts.fujitsu.com D-81739 Muenchen Company details: ts.fujitsu.com/imprint.html
Strange, now it is working.
Either someone has changed something, or deleting the whole build tree and trying again helped. In the latter case there is something wrong with the "make world", which should not depend on old data IMO.
Juergen
Quoted 43 lines · Juergen Gross
Hi,
the current build of xen-unstable seems to be broken. After a "make world" I get the following:
CC
i386-dm/helper2.ohelper2.c: In function ‘cpu_x86_init’:
helper2.c:142: error: ‘shared_iopage_t’ has no member named ‘vcpu_iodata’helper2.c: In function ‘sp_info’:
helper2.c:219: error: ‘shared_iopage_t’ has no member named ‘vcpu_iodata’ helper2.c:224: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 6 has type ‘uint32_t’
helper2.c:224: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 7 has type ‘uint32_t’
helper2.c:226: error: ‘ioreq_t’ has no member named ‘io_count’helper2.c: In function ‘__cpu_get_ioreq’:
helper2.c:235: error: ‘shared_iopage_t’ has no member named ‘vcpu_iodata’ helper2.c:242: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 7 has type ‘uint32_t’
helper2.c:242: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 8 has type ‘uint32_t’helper2.c: In function ‘cpu_handle_ioreq’:
helper2.c:517: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 7 has type ‘uint32_t’
helper2.c:517: warning: format ‘%lx’ expects type ‘long unsigned int’, but argument 8 has type ‘uint32_t’
make[5]: *** [helper2.o] Error 1
make[5]: Leaving directory `/home/gross/xen-unstable.hg/tools/ioemu-remote/i386-dm' make[4]: *** [subdir-i386-dm] Error 2
make[4]: Leaving directory `/home/gross/xen-unstable.hg/tools/ioemu-remote' make[3]: *** [subdir-install-ioemu-dir] Error 2
make[3]: Leaving directory `/home/gross/xen-unstable.hg/tools' make[2]: *** [subdirs-install] Error 2
make[2]: Leaving directory `/home/gross/xen-unstable.hg/tools' make[1]: *** [install-tools] Error 2
make[1]: Leaving directory `/home/gross/xen-unstable.hg'
make: *** [world] Error 2Juergen
Signature · 5 lines
Juergen Gross Principal Developer Operating Systems TSP ES&S SWE OS6 Telephone: +49 (0) 89 636 47950 Fujitsu Technolgy Solutions e-mail: [email protected] Otto-Hahn-Ring 6 Internet: ts.fujitsu.com D-81739 Muenchen Company details: ts.fujitsu.com/imprint.html
Quoted 4 lines · Juergen Gross
Strange, now it is working.
Either someone has changed something, or deleting the whole build tree and trying again helped. In the latter case there is something wrong with the "make world", which should not depend on old data IMO.
I saw the same thing. I think that the problem occurs when the xen tree is updated but the qemu-xen (aka. tools/ioemu-remote) tree is not.