Hi All,
I am adding the patch mentioned here http://lists.xen.org/archives/html/xen-changelog/2013-02/msg00235.html I am getting errors on compiling Xen tools.
My /tools/include/xen-foreign/mkheader.py looks different from the one that is mentioned in the above link, which I feel is due to version difference. I am using Xen 4.3.3 version. My understanding is that due to this version difference I am not able to compile xen tools. I have produced the output below. Also I have attached my mkheader.py file for reference.
...
make dist-tools CROSS_COMPILE=arm-linux-gnueabihf- XEN_TARGET_ARCH=arm32
make -C tools install
make[1]: Entering directory `/Virt/xen1/xen-unstable.git-xen-arm-4.3-3-e2cb352/tools'
make[2]: Entering directory `/Virt/xen1/xen-unstable.git-xen-arm-4.3-3-e2cb352/tools'
make -C include install
make[3]: Entering directory `/Virt/xen1/xen-unstable.git-xen-arm-4.3-3-e2cb352/tools/include'
make -C xen-foreign
make[4]: Entering directory `/Virt/xen1/xen-unstable.git-xen-arm-4.3-3-e2cb352/tools/include/xen-foreign'
gcc -Wall -Werror -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -Wdeclaration-after-statement -o checker checker.c
In file included from checker.c:13:0:
x86_32.h:151:34: error: field 'time' has incomplete type
In file included from checker.c:14:0:
x86_64.h:168:34: error: field 'time' has incomplete type
make[4]: *** [checker] Error 1
make[4]: Leaving directory `/Virt/xen1/xen-unstable.git-xen-arm-4.3-3-e2cb352/tools/include/xen-foreign'
make[3]: *** [xen-foreign] Error 2
make[3]: Leaving directory `/Virt/xen1/xen-unstable.git-xen-arm-4.3-3-e2cb352/tools/include'
make[2]: *** [subdir-install-include] Error 2
make[2]: Leaving directory `/Virt/xen1/xen-unstable.git-xen-arm-4.3-3-e2cb352/tools'
make[1]: *** [subdirs-install] Error 2
make[1]: Leaving directory `/Virt/xen1/xen-unstable.git-xen-arm-4.3-3-e2cb352/tools'
make: *** [install-tools] Error 2
...
Regards
Shubham Khandelwal
I am adding the patch mentioned here http://lists.xen.org/archives/html/xen-changelog/2013-02/msg00235.html I am getting errors on compiling Xen tools.
My /tools/include/xen-foreign/mkheader.py looks different from the one that is mentioned in the above link, which I feel is due to version difference. I am using Xen 4.3.3 version. My understanding is that due to this version difference I am not able to compile xen tools. I have produced the output below. Also I have attached my mkheader.py file for reference.
...
make dist-tools CROSS_COMPILE=arm-linux-gnueabihf- XEN_TARGET_ARCH=arm32
make -C tools install
make[1]: Entering directory `/Virt/xen1/xen-unstable.git-xen-arm-4.3-3-e2cb352/tools'
make[2]: Entering directory `/Virt/xen1/xen-unstable.git-xen-arm-4.3-3-e2cb352/tools'
make -C include install
make[3]: Entering directory `/Virt/xen1/xen-unstable.git-xen-arm-4.3-3-e2cb352/tools/include'
make -C xen-foreign
make[4]: Entering directory `/Virt/xen1/xen-unstable.git-xen-arm-4.3-3-e2cb352/tools/include/xen-foreign'
gcc -Wall -Werror -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -Wdeclaration-after-statement -o checker checker.c
In file included from checker.c:13:0:
x86_32.h:151:34: error: field 'time' has incomplete type
In file included from checker.c:14:0:
x86_64.h:168:34: error: field 'time' has incomplete type
make[4]: *** [checker] Error 1
make[4]: Leaving directory `/Virt/xen1/xen-unstable.git-xen-arm-4.3-3-e2cb352/tools/include/xen-foreign'
make[3]: *** [xen-foreign] Error 2
make[3]: Leaving directory `/Virt/xen1/xen-unstable.git-xen-arm-4.3-3-e2cb352/tools/include'
make[2]: *** [subdir-install-include] Error 2
make[2]: Leaving directory `/Virt/xen1/xen-unstable.git-xen-arm-4.3-3-e2cb352/tools'
make[1]: *** [subdirs-install] Error 2
make[1]: Leaving directory `/Virt/xen1/xen-unstable.git-xen-arm-4.3-3-e2cb352/tools'
make: *** [install-tools] Error 2
...
Regards
Shubham Khandelwal