[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] compiling an old XEN version
hi all, I want to use Xenlinux and an old version of Xen hypervisor xen 3.2.0. For compilation I followed following instruction given by Jeremie Le Hen % mkdir build % wget http://bits.xensource.com/oss-xen/release/3.2.0/xen-3.2.0.tar.gz % tar xzf xen-3.2.0.tar.gz % # Download the xenifid kernel tree manually, but NOT in xen-3.2.0/ % # because the buildconfig/select-repository script would skip it. % # ! xen-3.2.0/ and linux-2.6.18-xen.hg/ must be at the same level ! % hg clone http://xenbits.xensource.com/linux-2.6.18-xen.hg % cd xen-3.2.0 % make prep-kernels % cp /boot/config-2.6.18-my build-linux-2.6.18-xen_x86_32/.config % make dist everything was going good until I gave commang 'make dist' I encountered with following errorsIn file included from grant_table.c:1520:0: compat/grant_table.c: At top level: compat/grant_table.c:9:214: error: variably modified â__checkFstruct_grant_entry__flagsâ at file scope [-Werror] compat/grant_table.c:9:350: error: variably modified â__checkFstruct_grant_entry__domidâ at file scope [-Werror] compat/grant_table.c:9:486:
error: variably modified â__checkFstruct_grant_entry__frameâ at file scope [-Werror] In file included from grant_table.c:1520:0: compat/grant_table.c:13:267: error: variably modified â__checkFstruct_gnttab_map_grant_ref__host_addrâ at file scope [-Werror] compat/grant_table.c:13:434: error: variably modified â__checkFstruct_gnttab_map_grant_ref__flagsâ at file scope [-Werror] compat/grant_table.c:13:593: error: variably modified â__checkFstruct_gnttab_map_grant_ref__refâ at file scope [-Werror] compat/grant_table.c:13:750: error: variably modified â__checkFstruct_gnttab_map_grant_ref__domâ
at file scope [-Werror] compat/grant_table.c:13:913: error: variably modified â__checkFstruct_gnttab_map_grant_ref__statusâ at file scope [-Werror] compat/grant_table.c:13:1079: error: variably modified â__checkFstruct_gnttab_map_grant_ref__handleâ at file scope [-Werror] compat/grant_table.c:13:1257: error: variably modified â__checkFstruct_gnttab_map_grant_ref__dev_bus_addrâ at file scope [-Werror] In file included from grant_table.c:1520:0: compat/grant_table.c:17:277: error: variably modified â__checkFstruct_gnttab_unmap_grant_ref__host_addrâ at file scope [-Werror] compat/grant_table.c:17:464: error: variably modified â__checkFstruct_gnttab_unmap_grant_ref__dev_bus_addrâ at file scope [-Werror] compat/grant_table.c:17:642: error: variably modified â__checkFstruct_gnttab_unmap_grant_ref__handleâ at file scope [-Werror] compat/grant_table.c:17:814: error: variably modified â__checkFstruct_gnttab_unmap_grant_ref__statusâ at file scope [-Werror] In file included from grant_table.c:1520:0: compat/grant_table.c:21:287: error: variably modified â__checkFstruct_gnttab_unmap_and_replace__host_addrâ at file scope [-Werror] compat/grant_table.c:21:472: error: variably modified â__checkFstruct_gnttab_unmap_and_replace__new_addrâ at file scope [-Werror] compat/grant_table.c:21:652: error: variably modified â__checkFstruct_gnttab_unmap_and_replace__handleâ at file scope [-Werror] compat/grant_table.c:21:830: error: variably modified â__checkFstruct_gnttab_unmap_and_replace__statusâ at file scope [-Werror] In file included from grant_table.c:1520:0: compat/grant_table.c:29:240: error: variably modified â__checkFstruct_gnttab_dump_table__domâ at file scope [-Werror] compat/grant_table.c:29:394: error: variably
modified â__checkFstruct_gnttab_dump_table__statusâ at file scope [-Werror] cc1: all warnings being treated as errors make[4]: *** [grant_table.o] Error 1 make[4]: Leaving directory `/home/khansa/xen-3.2.0/xen/common' make[3]: *** [/home/khansa/xen-3.2.0/xen/common/built_in.o] Error 2 make[3]: Leaving directory `/home/khansa/xen-3.2.0/xen/arch/x86' make[2]: *** [/home/khansa/xen-3.2.0/xen/xen] Error 2 make[2]: Leaving directory
`/home/khansa/xen-3.2.0/xen' make[1]: *** [install] Error 2 make[1]: Leaving directory `/home/khansa/xen-3.2.0/xen' make: *** [install-xen] Error 2 Any idea why am I getting this error? My operating system is fedora 17 with gcc version 4.7.0 Thanks _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |