[Libvir] Errors while running make

Daniel Veillard veillard at redhat.com
Mon Jan 23 14:45:20 UTC 2006


On Mon, Jan 23, 2006 at 06:20:07AM -0800, dasari dakshina wrote:
> Hello,
>           I wish to use the Xen API.
>           I downloaded the tar and extracted it as was told.
>           The configure script also went through.
>           But when I ran make ,I came across these errors.
>           Could you please help ?

  Sure, but a bit of information could help, what kind of system are you
trying to compile on ? And what version is this, I recommend to compile the
CVS snapshot, as 0.0.1 starts to be really old (I need to make a new release
probably this week).

>   gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I./include -g -O -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -Wall -MT libvir.lo -MD -MP -MF .deps/libvir.Tpo -c libvir.c  -fPIC -DPIC -o .libs/libvir.o
>  In file included from /usr/include/xen/xen.h:13,
>                   from /usr/include/xen/dom0_ops.h:14,
>                   from xen_internal.h:17,
>                   from libvir.c:13:
>  /usr/include/xen/arch-x86_32.h:74: error: syntax error before 'u8'

  it seems that u8 definition wasn't found. My version of 
/usr/include/xen/arch-x86_32.h uses uint8_t instead. What version of xen
have you installed locally ? Mine is

~ -> rpm -qf /usr/include/xen/arch-x86_32.h
xen-3.0-0.20051206.fc5.1

Daniel

-- 
Daniel Veillard      | Red Hat http://redhat.com/
veillard at redhat.com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/




More information about the libvir-list mailing list