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

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



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


 


Rackspace

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