WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

[Xen-API] Building libxen

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] Building libxen
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
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
Importance: Normal
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Reply-to: burke@xxxxxxxxxxxxxxxxx
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: SquirrelMail/1.4.13
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

<Prev in Thread] Current Thread [Next in Thread>