WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

Re: [Xen-API] Unable to compile xapi from git on debian squeeze]

To: "eneal@xxxxxxxxxxxxxxxxx" <eneal@xxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-API] Unable to compile xapi from git on debian squeeze]
From: Mike McClurg <mike.mcclurg@xxxxxxxxxx>
Date: Tue, 16 Aug 2011 11:32:44 +0100
Cc: xen-api <xen-api@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 16 Aug 2011 03:33:04 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1313428797716994500@xxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <1313428797716994500@xxxxxxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux i686; rv:5.0) Gecko/20110628 Thunderbird/5.0
On 15/08/11 18:19, Errol Neal wrote:
> Thanks for that suggestion Jon. I got a bit further, but it's hitting a 
> different error now:
>
> root@squeeze:~/tmp/xen-api/ocaml/xiu# gcc -v -g -O2 -DCOMPILE_NATIVE 
> -I/usr/lib/ocaml -fno-omit-frame-pointer -fno-optimize-sibling-calls 
> -fno-strict-aliasing -std=gnu99 -mno-tls-direct-seg-refs -Wall 
> -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -Werror 
> -Wmissing-prototypes -D__XEN_TOOLS__ -D_LARGEFILE_SOURCE 
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE 
> -D_GNU_SOURCE -I. -c -o xenctrl_xiu.o xenctrl_xiu.c
<snip>
> xenctrl_xiu.c:454:9: error: unknown field âarch_ioctlâ specified in 
> initializer
> xenctrl_xiu.c:454:9: error: excess elements in struct initializer [-Werror]
> xenctrl_xiu.c:454:9: error: (near initialization for 
> âxiu_privcmd_ops.u.privcmdâ) [-Werror]
> xenctrl_xiu.c:455:9: error: unknown field ârestrict_toâ specified in 
> initializer
> xenctrl_xiu.c:455:9: error: excess elements in struct initializer [-Werror]
> xenctrl_xiu.c:455:9: error: (near initialization for 
> âxiu_privcmd_ops.u.privcmdâ) [-Werror]
> xenctrl_xiu.c:573:9: error: unknown field ârestrict_toâ specified in 
> initializer
> xenctrl_xiu.c:573:9: error: excess elements in struct initializer [-Werror]
> xenctrl_xiu.c:573:9: error: (near initialization for 
> âxiu_evtchn_ops.u.evtchnâ) [-Werror]
> cc1: all warnings being treated as errors
>
Are you using Xen 4.0 from Squeeze? xapi requires 4.1, and I'm pretty
sure a lot of the interfaces have changed between 4.0 and 4.1. Perhaps
you could try upgrading to the Xen in Sid?

Mike

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api

<Prev in Thread] Current Thread [Next in Thread>