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

Re: [Xen-users] trouble with building latest xen code



On Thu, 2014-02-13 at 15:48 +0100, Aastha Mehta wrote:
> Hello,
> 
> I am trying to build the latest xen code from the git branch and I am
> seeing errors in building the tools.
> 
> gcc    -pthread -o xl xl.o xl_cmdimpl.o xl_cmdtable.o xl_sxp.o
> libxlutil.so 
> /home/aasthakm/workspace/ibc/source/xen/tools/libxl/../../tools/libxl/libxenlight.so
> -Wl,-rpath-link=/home/aasthakm/workspace/ibc/source/xen/tools/libxl/../../tools/libxc
> -Wl,-rpath-link=/home/aasthakm/workspace/ibc/source/xen/tools/libxl/../../tools/xenstore
> -Wl,-rpath-link=/home/aasthakm/workspace/ibc/source/xen/tools/libxl/../../tools/blktap2/control
> /home/aasthakm/workspace/ibc/source/xen/tools/libxl/../../tools/libxc/libxenctrl.so
> -lyajl
> xl_cmdimpl.o: In function `libxl_yajl_gen_alloc':
> /home/workspace/ibc/source/xen/tools/libxl/libxl_json.h:60: undefined
> reference to `yajl_gen_config'
> /home/workspace/ibc/source/xen/tools/libxl/libxl_json.h:60: undefined
> reference to `yajl_gen_config'
> /home/workspace/ibc/source/xen/tools/libxl/../../tools/libxl/libxenlight.so:
> undefined reference to `yajl_complete_parse'
> collect2: ld returned 1 exit status
> make[3]: *** [xl] Error 1
> make[3]: Leaving directory `/home/workspace/ibc/source/xen/tools/libxl'
> make[2]: *** [subdir-install-libxl] Error 2
> make[2]: Leaving directory `/home/workspace/ibc/source/xen/tools'
> make[1]: *** [subdirs-install] Error 2
> make[1]: Leaving directory `/home/workspace/ibc/source/xen/tools'
> make: *** [install-tools] Error 2
> 
> I did install yajl:
> 
> # locate yajl
> /usr/lib/x86_64-linux-gnu/libyajl.so.1
> /usr/lib/x86_64-linux-gnu/libyajl.so.1.0.12

Do you also have libyajl.so somewhere?

Does it contain the symbols which are being complained about?

> I also noticed a message earlier in the compile log:
> "Disabling libtool due to broken toolchain support"

For us to know if that is relevant we'd need to know more about your
toolchain/distro.

Ian.
> 
> Could someone let me know how to fix this problem?
> 
> Thanks in advance,
> Aastha
> 
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxx
> http://lists.xen.org/xen-users



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


 


Rackspace

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