From: Ian Campbell Subject: Re: compiling error "xen-unstable.hg" Date: Fri, 27 Jul 2012 10:25:51 +0100 Message-ID: <1343381151.6812.113.camel@zakaz.uk.xensource.com> References: <501265C60200007800090E27@nat28.tlf.novell.com> <1343373880839-5710388.post@n5.nabble.com> <1343378009.6812.74.camel@zakaz.uk.xensource.com> <1343380597.380868008@f116.mail.ru> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1343380597.380868008@f116.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 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. Please can you configure you MUA to give some indication of what is quoted material and what you have added yourself. > 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? What does "objdump -T /usr/lib/libyajl.so" show? > yajl got and installed from git rep: > > cd > git clone git://github.com/lloyd/yajl Which version of yajl is this? Why don't you just "apt-get install libyajl-dev"? Or at least use a released version. > cd yajl > sudo apt-get install ruby cmake > ./configure > make > sudo make install > > install was successful > > > >