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

[Xen-API] Building libxen


  • To: xen-api@xxxxxxxxxxxxxxxxxxx
  • From: "Ryan Burke" <burke@xxxxxxxxxxxxxxxxx>
  • Date: Thu, 20 Mar 2008 09:18:44 -0500 (CDT)
  • Delivery-date: Thu, 20 Mar 2008 07:18:59 -0700
  • Importance: Normal
  • List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>

I'm looking at playing around with libxen, which I understand to be the C
bindings of Xen-API. I have built xen3.2 but have not installed it yet. It
looks like I should still be able to build libxen even though Xen itself
hasn't been installed. Obviously I can't use it but I'm just looking to
get access to start playing around with the code.

Anyway I'm running CentOS 4.4 and I installed both libxml2-devel and
curl-devel. However when I CD in tools/libxen and run "make" I get the
following output/error:

gcc  -Iinclude -I/usr/include/libxml2  -W -Wall -Wmissing-prototypes
-Werror -std=c99 -O2 -fPIC -c -o src/xen_common.o src/xen_common.c
src/xen_common.c: In function `make_body':
src/xen_common.c:1384: warning: implicit declaration of function
`xmlSaveToBuffer'
src/xen_common.c:1384: error: `XML_SAVE_NO_XHTML' undeclared (first use in
this function)
src/xen_common.c:1384: error: (Each undeclared identifier is reported only
once
src/xen_common.c:1384: error: for each function it appears in.)
src/xen_common.c:1384: warning: initialization makes pointer from integer
without a cast
make: *** [src/xen_common.o] Error 1


Has anyone ran into this before? Does libxen build on xen 3.2.0? Is there
a specific version of libxml that I need?

Thanks to all those who are willing to take a second and help me out.

Ryan

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api


 


Rackspace

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