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

Re: [Xen-devel] compiling error "xen-unstable.hg"



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.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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