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

Re: [Xen-devel] xl_cmdimpl.c errors



On Fri, 2012-02-17 at 05:36 +0000, jacek burghardt wrote:
> I am trying to create arch linux package xen 4.2 unstable . It builds
> mots of xen fine but I get error with xl_cmdimpl.c
> 4.2/src/xen-unstable.git-build/tools/libxl/../../tools/include  -c -o
> xl_cmdimpl.o xl_cmdimpl.c
> xl_cmdimpl.c: In function 'printf_info':
> xl_cmdimpl.c:300:5: error: statement with no effect
> [-Werror=unused-value]
> xl_cmdimpl.c:300:21: error: expected ';' before 'conf'
> xl_cmdimpl.c:306:28: error: 'conf' undeclared (first use in this
> function)
> xl_cmdimpl.c:306:28: note: each undeclared identifier is reported only
> once for each function it appears in
> xl_cmdimpl.c:306:5: error: too many arguments to function
> 'yajl_gen_alloc'
> /usr/include/yajl/yajl_gen.h:118:23: note: declared here
> xl_cmdimpl.c:339:5: error: passing argument 3 of 'yajl_gen_get_buf'
> from incompatible pointer type [-Werror]
> /usr/include/yajl/yajl_gen.h:144:30: note: expected 'size_t *' but
> argument is of type 'unsigned int *'
> cc1: all warnings being treated as errors
> I saw this error mentioned I wonder if there is patch 

This is due to xl only supporting yajl1 while you seem to have yajl2.

Olaf Herring posted a patch last week (or maybe the week before). I
thought it had been committed but perhaps not -- although you don't say
which xen-unstable you are running so I don't know how up to date you
are -- this is always worth mentioning.

Ian.



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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