From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: xl_cmdimpl.c errors Date: Fri, 17 Feb 2012 08:22:10 +0000 Message-ID: <1329466930.8012.8.camel@dagon.hellion.org.uk> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: jacek burghardt Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org 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.