[Libvir] Errors while running make

dasari dakshina dakshi80 at yahoo.com
Mon Jan 23 14:20:07 UTC 2006


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 ?
                     Rgds,
                     Dakshina 
 
 make
 make  all-recursive
 make[1]: Entering directory `/downloads/libvir-0.0.1'
 Making all in src
 make[2]: Entering directory `/downloads/libvir-0.0.1/src'
 if /bin/sh ../libtool --mode=compile --tag=CC 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 -o libvir.lo libvir.c; \
 then mv -f ".deps/libvir.Tpo" ".deps/libvir.Plo"; else rm -f ".deps/libvir.Tpo"; exit 1; fi
  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'
 /usr/include/xen/arch-x86_32.h:76: error: syntax error before 'cs'
 /usr/include/xen/arch-x86_32.h:78: error: syntax error before '}' token
 /usr/include/xen/arch-x86_32.h:81: error: syntax error before 'u32'
 /usr/include/xen/arch-x86_32.h:83: error: syntax error before 'edx'
 /usr/include/xen/arch-x86_32.h:84: error: syntax error before 'esi'
 /usr/include/xen/arch-x86_32.h:85: error: syntax error before 'edi'
 /usr/include/xen/arch-x86_32.h:86: error: syntax error before 'ebp'
 /usr/include/xen/arch-x86_32.h:87: error: syntax error before 'eax'
 /usr/include/xen/arch-x86_32.h:88: error: syntax error before 'error_code'
 /usr/include/xen/arch-x86_32.h:89: error: syntax error before 'entry_vector'
 /usr/include/xen/arch-x86_32.h:90: error: syntax error before 'eip'
 /usr/include/xen/arch-x86_32.h:91: error: syntax error before 'cs'
 /usr/include/xen/arch-x86_32.h:92: error: syntax error before 'saved_upcall_mask'
 /usr/include/xen/arch-x86_32.h:93: error: syntax error before '_pad0'
 /usr/include/xen/arch-x86_32.h:94: error: syntax error before 'eflags'
 /usr/include/xen/arch-x86_32.h:95: error: syntax error before 'esp'
 /usr/include/xen/arch-x86_32.h:96: error: syntax error before 'ss'
 /usr/include/xen/arch-x86_32.h:97: error: syntax error before 'es'
 /usr/include/xen/arch-x86_32.h:98: error: syntax error before 'ds'
 .............
 libvir.c: At top level:
 libvir.c:967: warning: declaration of 'domain' shadows a global declaration
 /usr/include/xen/dom0_ops.h:50: warning: shadowed declaration is here
 libvir.c: In function 'virDomainGetInfo':
 libvir.c:1018: error: syntax error before 'dominfo'
 libvir.c:1020: error: 'dominfo' undeclared (first use in this function)
 make[2]: *** [libvir.lo] Error 1
 make[2]: Leaving directory `/downloads/libvir-0.0.1/src'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/downloads/libvir-0.0.1'
 make: *** [all] Error 2
 
 #
 
 
 
 

		
---------------------------------
 Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new and used cars.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20060123/5c1327c4/attachment-0001.htm>


More information about the libvir-list mailing list