[EMAIL PROTECTED] wrote on 03/20/2008 10:18:44 AM:

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

The XML_SAVE_NO_XHTML is defined in /usr/include/libxml2/libxml/xmlsave.h 
. I have version 2.6.31 of llibxml2-devel installed on FedoraCore8. It 
compiles fine.

   Stefan

> 
> 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
> [email protected]
> http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api
_______________________________________________
xen-api mailing list
[email protected]
http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api

Reply via email to