From: Ian Campbell Subject: Re: compiling error "xen-unstable.hg" Date: Fri, 27 Jul 2012 10:54:22 +0100 Message-ID: <1343382862.6812.131.camel@zakaz.uk.xensource.com> References: <1343380597.380868008@f116.mail.ru> <501265C60200007800090E27@nat28.tlf.novell.com> <1343381151.6812.113.camel@zakaz.uk.xensource.com> <1343382308.59310320@f318.mail.ru> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1343382308.59310320@f318.mail.ru> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Yuriy Logvinov Cc: xen-devel List-Id: xen-devel@lists.xenproject.org You have dropped xen-devel again. I have put it back again this time. In the future I will ignore mails from you which do not CC the list. On Fri, 2012-07-27 at 10:45 +0100, Yuriy Logvinov wrote: > : > > > Please keep the list on the CC line so that everyone can > benefit. I've > put it back for you this time. > > On Fri, 2012-07-27 at 10:16 +0100, Yuriy Logvinov wrote: > > > > but now i have this error: > > > >... > > > > > > > /home/alex/xen-unstable.hg/tools/libxl/../../tools/libxl/libxenlight.so: > > > > undefined reference to `yajl_complete_parse' > > > > > > Unsupported/wrong libyajl version (I don't recall whether > support > > > for v2 of the library was ever added). > > > > It was. > > > > configure has a check for yajl/yajl_version.h and > > tools/libxl/libxl_json.h uses this to determine v1 vs v2 > (and assumes > > v1 > > if it is not present). > > > > What does "grep YAJL tools/config.h" say? > > > > Ian. > > > grep YAJL tools/config.h: > > > > > > #define HAVE_LIBYAJL 1 > > #define HAVE_YAJL_YAJL_VERSION_H 1 > > What does /usr/incude/yajl/yajl_version.h contain? > > it contain: > #define YAJL_MAJOR 1 > #define YAJL_MINOR 0 > #define YAJL_MICRO 12 Which indicates version 1.0.12 of yajl, yet the git URL you quoted before contains 2.0.5. I think you've got your system into an inconsistent state, with multiple incompatible versions of yajl on it. > /usr/local/lib/libyajl.so: file format elf64-x86-64 [...] > 0000000000001540 g DF .text 000000000000003d Base yajl_complete_parse This implies a 2.0.x version also. > i have libyajl.so in /usr/local/lib/ folder not /usr/lib/ may be it`s > important ? Yes, you need to clean up all the rubbish you installed by hand and make sure your system is in a consistent state before you try installing Xen again. I suggest you ask for help on how to do this from the Ubuntu user forums or somewhere like that -- it's not a Xen issue. Ian.