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

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



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
> 
> 
> 
> 



_______________________________________________
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®.