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

[Xen-users] trouble with building latest xen code


  • To: xen-users <xen-users@xxxxxxxxxxxxx>
  • From: Aastha Mehta <aasthakm@xxxxxxxxx>
  • Date: Thu, 13 Feb 2014 15:48:45 +0100
  • Delivery-date: Thu, 13 Feb 2014 14:50:21 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>

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

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

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


 


Rackspace

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