[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] compiling an old XEN version


  • To: "xen-users@xxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxx>
  • From: maheen butt <maheen_butt26@xxxxxxxxx>
  • Date: Wed, 8 Aug 2012 22:49:41 -0700 (PDT)
  • Delivery-date: Thu, 09 Aug 2012 05:51:26 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=b5DJJCN3sdZsoG8CNlwGfk9aWWE4bI7X/L2KnKGQ6BgdsoapwTQxQYrsnPfPksRzPYt5wpioyDIB/1u/jGGJr1R1TCNQ+8cGrQFbkWBVheRGiopEgej5l7h4uQScAKgTzTYQ63koY1NobdI0E6LiJGlZD+iPDpK2RYh6j3Hbb6c=;
  • List-id: Xen user discussion <xen-users.lists.xen.org>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.