Hello,
I wish to use the Xen API.
I have downloaded the tar libvir-0.0.1.tar.gz
i extracted the files and Ran
./configure --in the libvir directory .It went through.
On running make however ,I have come across these errors.
Any help would be appreciated.
                 Rgds,
                 Dakshina


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'
/usr/include/xen/arch-x86_32.h:99: error: syntax error before 'fs'
/usr/include/xen/arch-x86_32.h:100: error: syntax error before 'gs'
/usr/include/xen/arch-x86_32.h:101: error: syntax error before '}' token
/usr/include/xen/arch-x86_32.h:103: error: syntax error before 'tsc_timestamp_t'
/usr/include/xen/arch-x86_32.h:116: error: syntax error before 'cpu_user_regs_t'
/usr/include/xen/arch-x86_32.h:128: error: syntax error before '}' token
/usr/include/xen/arch-x86_32.h:132: error: syntax error before 'u64'
In file included from /usr/include/xen/dom0_ops.h:14,
                 from xen_internal.h:17,
                 from libvir.c:13:
/usr/include/xen/xen.h:245: error: syntax error before 'domid_t'
/usr/include/xen/xen.h:278: error: syntax error before 'u64'
/usr/include/xen/xen.h:325: error: syntax error before 'u8'
/usr/include/xen/xen.h:327: error: syntax error before 'evtchn_pending_sel'
/usr/include/xen/xen.h:343: error: syntax error before 'u32'
/usr/include/xen/xen.h:! 345: error: syntax error before 'system_time'
/usr/include/xen/xen.h:352: error: syntax error before 'tsc_to_system_mul'
/usr/include/xen/xen.h:353: error: syntax error before 'tsc_shift'
/usr/include/xen/xen.h:361: error: syntax error before 'vcpu_info_t'
/usr/include/xen/xen.h:365: error: syntax error before 'n_vcpu'
/usr/include/xen/xen.h:398: error: syntax error before 'evtchn_pending'
/usr/include/xen/xen.h:399: error: syntax error before 'evtchn_mask'
/usr/include/xen/xen.h:405: error: syntax error before 'wc_version'
/usr/include/xen/xen.h:406: error: syntax error before 'wc_sec'
/usr/include/xen/xen.h:407: error: syntax error before 'wc_nsec'
/usr/include/xen/xen.h:409: error: syntax error before 'arch'
/usr/include/xen/xen.h:443: error: syntax error before 'u32'
/usr/include/xen/xen.h:451: error: syntax error before 'cmd_line'
/usr/include/xen/xen.h:453: error: syntax error before 'store_evtchn'
/usr/include/xen/xe! n.h:463: error: syntax error before '*' token
/usr/include/xen/xen.h:465: error: syntax error before 'cpumap_t'
In file included from /usr/include/xen/dom0_ops.h:15,
                 from xen_internal.h:17,
                 from libvir.c:13:
/usr/include/xen/sched_ctl.h:23: error: syntax error before 'u32'
/usr/include/xen/sched_ctl.h:27: error: syntax error before 'u32'
/usr/include/xen/sched_ctl.h:29: error: syntax error before '}' token
/usr/include/xen/sched_ctl.h:30: error: syntax error before '}' token
/usr/include/xen/sched_ctl.h:33: error: syntax error before 'u32'
/usr/include/xen/sched_ctl.h:35: error: syntax error before 'domain'
/usr/include/xen/sched_ctl.h:39: error: syntax error before 'u32'
/usr/include/xen/sched_ctl.h:41: error: syntax error before 'warpvalue'
/usr/include/xen/sched_ctl.h:44: error: syntax error before '}' token
/usr/include/xen/sched_ctl.h:48: error: syntax error before 'u64'
/usr/include/xen/sched_ctl.h:50: error: syntax error before 'latency'
/usr/include/xen/sched_ctl.h:51: error: syntax error before 'extratime'
/usr/include/xen/sched_ctl.h:52: error: syntax error before 'weight'
/usr/include/xen/sched_ctl.h:55: error: syntax error before '}' token
/usr/include/xen/sched_ctl.h:56: error: syntax error before '}' token
In file included from xen_internal.h:17,
                 from libvir.c:13:
/usr/include/xen/dom0_ops.h:29: error: syntax error before 'domid_t'
/usr/include/xen/dom0_ops.h:34: error: syntax error before '}' token
/usr/include/xen/dom0_ops.h:47: error: syntax error before 'u32'
/usr/include/xen/dom0_ops.h:56: error: syntax error before 'domid_t'
/usr/include/xen/dom0_ops.h:62: error: syntax error before 'domid_t'
/usr/include/xen/dom0_ops.h:68: error: syntax error before 'domid_t'
/usr/include/xen/dom0_ops.h:74: error: syntax error before 'domid_t'
/usr/include/xen/dom0_ops.h:89: error: syntax error before 'cpu_time'
/usr/include/xen/dom0_ops.h:90: error: syntax error before 'n_vcpu'
/usr/include/xen/dom0_ops.h:91: error: syntax error before 'vcpu_to_cpu'
/usr/include/xen/dom0_ops.h:92: error: syntax error before 'cpumap'
/usr/include/xen/dom0_ops.h:93: error: syntax error before 'ssidref'
/usr/include/xen/dom0_ops.h:99: error: syntax error before 'domid_t'
/usr/include/xen/dom0_ops.h:102: error: syntax error before '*' token
/usr/include/xen/dom0_ops.h:103: error: syntax error before '}' token
/usr/include/xen/dom0_ops.h:108: error: syntax error before 'u32'
/usr/include/xen/dom0_ops.h:110: error: syntax error before 'msr'
/usr/include/xen/dom0_ops.h:111: error: ! syntax error before 'in1'
/usr/include/xen/dom0_ops.h:112: error: syntax error before 'in2'
/usr/include/xen/dom0_ops.h:114: error: syntax error before 'out1'
/usr/include/xen/dom0_ops.h:115: error: syntax error before 'out2'
/usr/include/xen/dom0_ops.h:121: error: syntax error before 'domid_t'
/usr/include/xen/dom0_ops.h:123: error: syntax error before 'in1'
/usr/include/xen/dom0_ops.h:124: error: syntax error before 'in2'
/usr/include/xen/dom0_ops.h:125: error: syntax error before 'in3'
/usr/include/xen/dom0_ops.h:126: error: syntax error before 'in4'
/usr/include/xen/dom0_ops.h:128: error: syntax error before 'status'
/usr/include/xen/dom0_ops.h:129: error: syntax error before 'out1'
/usr/include/xen/dom0_ops.h:130: error: syntax error before 'out2'
/usr/include/xen/dom0_ops.h:140: error: syntax error before 'u32'
/usr/include/xen/dom0_ops.h:142: error: syntax error before 'system_time'
/usr/include/xen/dom0_ops.h:159: err! or: syntax error before 'domid_t'
/usr/include/xen/dom0_ops.h:171: error: syntax error before 'u32'
/usr/include/xen/dom0_ops.h:173: error: conflicting types for 'buffer'
/usr/include/xen/dom0_ops.h:31: error: previous declaration of 'buffer' was here
/usr/include/xen/dom0_ops.h:174: error: syntax error before 'count'
/usr/include/xen/dom0_ops.h:183: error: syntax error before 'domid_t'
/usr/include/xen/dom0_ops.h:185: error: syntax error before '*' token
/usr/include/xen/dom0_ops.h:185: error: conflicting types for 'cpumap'
/usr/include/xen/dom0_ops.h:92: error: previous declaration of 'cpumap' was here
/usr/include/xen/dom0_ops.h:186: error: syntax error before '}' token
/usr/include/xen/dom0_ops.h:195: error: syntax error before 'u8'
/usr/include/xen/dom0_ops.h:197: error: conflicting types for 'cpu_mask'
/usr/include/xen/dom0_ops.h:109: error: previous declaration of 'cpu_mask' was here
/usr/include/xen/dom0_ops.h:198: err! or: syntax error before 'evt_mask'
/usr/include/xen/dom0_ops.h:201: error: syntax error before 'size'
/usr/include/xen/dom0_ops.h:209: error: syntax error before 'u32'
/usr/include/xen/dom0_ops.h:211: error: syntax error before 'sockets_per_node'
/usr/include/xen/dom0_ops.h:212: error: syntax error before 'nr_nodes'
/usr/include/xen/dom0_ops.h:213: error: syntax error before 'cpu_khz'
/usr/include/xen/dom0_ops.h:216: error: syntax error before '}' token
/usr/include/xen/dom0_ops.h:224: error: syntax error before 'u32'
/usr/include/xen/dom0_ops.h:243: error: syntax error before 'u32'
/usr/include/xen/dom0_ops.h:245: error: syntax error before 'dirty_net_count'
/usr/include/xen/dom0_ops.h:246: error: syntax error before 'dirty_block_count'/usr/include/xen/dom0_ops.h:251: error: syntax error before 'domid_t'
/usr/include/xen/dom0_ops.h:257: error: syntax error before 'stats'
/usr/include/xen/dom0_ops.h:263: error: syntax error before 'domid_t'
/usr/include/xen/dom0_ops.h:265: error: syntax error before '}' token
/usr/include/xen/dom0_ops.h:270: error: syntax error before 'domid_t'
/usr/include/xen/dom0_ops.h:274: error: syntax error before '}' token
/usr/include/xen/dom0_ops.h:288: error: syntax error before 'u32'
/usr/include/xen/dom0_ops.h:291: error: syntax error before 'reg'
/usr/include/xen/dom0_ops.h:304: error: syntax error before 'u32'
/usr/include/xen/dom0_ops.h:312: error: syntax error before 'u32'
/usr/include/xen/dom0_ops.h:316: error: syntax error before 'type'
/usr/include/xen/dom0_ops.h:325: error: syntax error before 'u8'
/usr/include/xen/dom0_ops.h:327: error: syntax error before 'vals'
/usr/include/xen/dom0_ops.h:328: error: syntax error before '}' token
/usr/include/xen/dom0_ops.h:331: error: syntax error before 'u32'
/usr/include/xen/dom0_ops.h:334: error: syntax error before '*' token
/usr/include/xen/dom0_ops.h:335: error: syn! tax error before '}' token
/usr/include/xen/dom0_ops.h:341: error: syntax error before 'u32'
/usr/include/xen/dom0_ops.h:346: error: syntax error before 'domid_t'
/usr/include/xen/dom0_ops.h:348: error: syntax error before 'nr_ports'
/usr/include/xen/dom0_ops.h:349: error: syntax error before 'allow_access'
/usr/include/xen/dom0_ops.h:354: error: syntax error before 'domid_t'
/usr/include/xen/dom0_ops.h:356: error: syntax error before '*' token
/usr/include/xen/dom0_ops.h:357: error: syntax error before 'cpu_time'
/usr/include/xen/dom0_ops.h:363: error: syntax error before 'domid_t'
/usr/include/xen/dom0_ops.h:365: error: syntax error before '*' token
/usr/include/xen/dom0_ops.h:365: error: conflicting types for 'buffer'
/usr/include/xen/dom0_ops.h:31: error: previous declaration of 'buffer' was here
/usr/include/xen/dom0_ops.h:368: error: syntax error before '}' token
/usr/include/xen/dom0_ops.h:378: error: syntax error before 'u32! '
/usr/include/xen/dom0_ops.h:381: error: syntax error before 'dom0_createdomain_t'
/usr/include/xen/dom0_ops.h:383: error: syntax error before 'unpausedomain'
/usr/include/xen/dom0_ops.h:384: error: syntax error before 'destroydomain'
/usr/include/xen/dom0_ops.h:385: error: syntax error before 'getmemlist'
/usr/include/xen/dom0_ops.h:388: error: syntax error before 'setdomaininfo'
/usr/include/xen/dom0_ops.h:389: error: syntax error before 'getdomaininfo'
/usr/include/xen/dom0_ops.h:390: error: syntax error before 'getpageframeinfo'
/usr/include/xen/dom0_ops.h:391: error: syntax error before 'msr'
/usr/include/xen/dom0_ops.h:392: error: syntax error before 'debug'
/usr/include/xen/dom0_ops.h:393: error: syntax error before 'settime'
/usr/include/xen/dom0_ops.h:394: error: syntax error before 'readconsole'
/usr/include/xen/dom0_ops.h:395: error: syntax error before 'pincpudomain'
/usr/include/xen/dom0_ops.h:396: error: syntax er! ror before 'tbufcontrol'
/usr/include/xen/dom0_ops.h:397: error: syntax error before 'physinfo'
/usr/include/xen/dom0_ops.h:398: error: syntax error before 'sched_id'
/usr/include/xen/dom0_ops.h:399: error: syntax error before 'shadow_control'
/usr/include/xen/dom0_ops.h:400: error: syntax error before 'setdomainmaxmem'
/usr/include/xen/dom0_ops.h:401: error: syntax error before 'getpageframeinfo2'/usr/include/xen/dom0_ops.h:402: error: syntax error before 'add_memtype'
/usr/include/xen/dom0_ops.h:403: error: syntax error before 'del_memtype'
/usr/include/xen/dom0_ops.h:404: error: syntax error before 'read_memtype'
/usr/include/xen/dom0_ops.h:405: error: syntax error before 'perfccontrol'
/usr/include/xen/dom0_ops.h:406: error: syntax error before 'microcode'
/usr/include/xen/dom0_ops.h:407: error: syntax error before 'ioport_permission'/usr/include/xen/dom0_ops.h:408: error: syntax error before 'getvcpucontext'
/usr/include/xen/dom0_ops.h:409: error: syntax error before 'getdomaininfolist'/usr/include/xen/dom0_ops.h:411: error: syntax error before '}' token
/usr/include/xen/dom0_ops.h:412: error: syntax error before '}' token
In file included from libvir.c:13:
xen_internal.h:24: warning: declaration of 'handle' shadows a global declaration
/usr/include/xen/dom0_ops.h:290: warning: shadowed declaration is here
xen_internal.h:25: warning: declaration of 'handle' shadows a global declaration
/usr/include/xen/dom0_ops.h:290: warning: shadowed declaration is here
xen_internal.h:26: warning: declaration of 'handle' shadows a global declaration
/usr/include/xen/dom0_ops.h:290: warning: shadowed declaration is here
xen_internal.h:27: warning: declaration of 'domain' shadows a global declaration
/usr/include/xen/dom0_ops.h:50: warning: shadowed declaration is here
xen_internal.h:28: warning: declaration of 'handle' shadows a global declaration
/usr/include/xen/dom0_ops.h:290: warning: shadowed declaration is here
xen_internal.h:29: warning: declaration of 'domain' shadows a global declaration
/usr/include/xen/dom0_ops.h:50: warning: shadowed declaration is here
xen_internal.h:30: warning: declaration of 'handle' shadows a global declaration
/usr/include/xen/dom0_ops.h:290: warning: shadowed declaration is here
xen_internal.h:31: warning: declaration of 'domain' shadows a global declaration
/usr/include/xen/dom0_ops.h:50: warning: shadowed declaration is here
xen_internal.h:32: warning: declaration of 'handle' shadows a global declaration
/usr/include/xen/dom0_ops.h:290: warning: shadowed declaration is here
xen_internal.h:33: warning: declaration of 'domain' shadows a global declaration
/usr/include/xen/dom0_ops.h:50: warning: shadowed declaration is here
xen_internal.h:34: error: syntax error before 'dom0_getdomaininfo_t'
xen_internal.h:34: warning: function declar! ation isn't a prototype
xen_internal.h:35: warning: declaration of 'handle' shadows a global declaration
/usr/include/xen/dom0_ops.h:290: warning: shadowed declaration is here
xen_internal.h:36: warning: declaration of 'domain' shadows a global declaration
/usr/include/xen/dom0_ops.h:50: warning: shadowed declaration is here
In file included from /usr/include/xc.h:26,
                 from /usr/include/xs_lib.h:25,
                 from /usr/include/xs.h:23,
                 from libvir.c:18:
/usr/include/xen/event_channel.h:20: error: syntax error before 'domid_t'
/usr/include/xen/event_channel.h:23: error: syntax error before '}' token
/usr/include/xen/event_channel.h:48: error: syntax error before 'domid_t'
/usr/include/xen/event_channel.h:51: error: syntax error before '}' token
/usr/include/xen/event_channel.h:108: error: syntax error before 'domid_t'
/usr/include/xen/event_channel.h:111: error: syntax error before '}' token
/usr/include/xen/event_channel.h:135: error: syntax error before 'domid_t'
/usr/include/xen/event_channel.h:144: error: conflicting types for 'status'
/usr/include/xen/dom0_ops.h:128: error: previous declaration of 'status' was here
/usr/include/xen/event_channel.h:145: error: conflicting types for 'vcpu'
/usr/include/xen/dom0_ops.h:355: error: previous declaration of 'vcpu' was here/usr/include/xen/event_channel.h:148: error: syntax error before 'domid_t'
/usr/include/xen/event_channel.h:151: error: syntax error before 'domid_t'
/usr/include/xen/event_channel.h:153: error: syntax error before '}' token
/usr/include/xen/event_channel.h:156: error: syntax error before '}' token
/usr/include/xen/event_channel.h:157: error: syntax error before '}' token
/usr/include/xen/event_channel.h:179: error: syntax error before 'evtchn_alloc_unbound_t'
/usr/include/xen/event_channel.h:184: error: syntax error before 'close'
/usr/include/xen/event_channel.h:186: error: syntax error before 'status'
/usr/include/xen/event_channel.h:188: error: syntax error before '}' token
/usr/include/xen/event_channel.h:189: error: syntax error before '}' token
In file included from /usr/include/xs_lib.h:25,
                 from /usr/include/xs.h:23,
                 from libvir.c:18:
/usr/include/xc.h:137: error: syntax error before 'cpumap_t'
/usr/include/xc.h:140: error: syntax error before 'xc_domaininfo_t'
/usr/include/xc.h:186: error: syntax error before 'cpumap_t'
/usr/include/xc.h:205: error: syntax error before 'xc_dominfo_t'
/usr/include/xc.h:223: error: syntax error before 'xc_domaininfo_t'
/usr/include/xc.h:239: error: syntax error before 'vcpu_guest_context_t'
/usr/include/xc.h:245: error: syntax error before 'domid_t'
/usr/include/xc.h:249: error: syntax error before 'xc_shadow_control_stats_t'
/usr/include/xc.h:255: error: syntax error before 'xc_shadow_control_stats_t'
/usr/include/xc.h:344: error: syntax error before 'xc_evtchn_status_t'
/usr/include/xc.h:419: error: syntax error before 'xc_evtchn_status_t'
/usr/include/xc.h:433: error: syntax error before 'xc_physinfo_t'
/usr/include/xc.h:435: error: syntax error before 'xc_physinfo_t'
/usr/include/xc.h:448: error: syntax error before 'xc_perfc_desc_t'
/usr/include/xc.h:452: error: syntax error before 'xc_perfc_desc_t'
/usr/include/xc.h:547: error: syntax error before 'dom0_op_t'
In file included from /usr/include/xs.h:23! ,
                 from libvir.c:18:
/usr/include/xs_lib.h:39: error: syntax error before 'domid_t'
/usr/include/xs_lib.h:41: error: syntax error before '}' token
In file included from libvir.c:18:
/usr/include/xs.h:128: error: syntax error before 'domid_t'
/usr/include/xs.h:134: error: syntax error before 'domid_t'
In file included from internal.h:8,
                 from libvir.c:19:
hash.h:39: warning: declaration of 'size' shadows a global declaration
/usr/include/xen/dom0_ops.h:201: warning: shadowed declaration is here
In file included from libvir.c:19:
internal.h:105: warning: declaration of 'domain' shadows a global declaration
/usr/include/xen/dom0_ops.h:50: warning: shadowed declaration is here
internal.h:106: warning: declaration of 'domain' shadows a global declaration
/usr/include/xen/dom0_ops.h:50: warning: shadowed declaration is here
libvir.c:47: warning: declaration of 'type' shadows a global declaration
/usr/include/xen/dom0_ops.h:316: warning: shadowed declaration is here
libvir.c: In function 'virConnectOpen':
libvir.c:84: warning: declaration of 'handle' shadows a global declaration
/usr/include/xen/dom0_ops.h:290: warning: shadowed declaration is here
libvir.c: In function 'virConnectCheckStoreID':
libvir.c:175: error: syntax error before 'dominfo'
libvir.c:178: error: 'dominfo' undeclared (first use in this function)
libvir.c:178: error: (Each undeclared identifier is reported only once
libvir.c:178: error: for each function it appears in.)
libvir.c: At top level:
libvir.c:195: warning: declaration of 'domain' shadows a global declaration
/usr/include/xen/dom0_ops.h:50: warning: shadowed declaration is here
libvir.c: In function 'virConnectListDomains':
libvir.c:288: warning: declaration of 'num' shadows a global declaration
/usr/include/xen/dom0_ops.h:271: warning: shadowed declaration is here
libvir.c:298: error: too few arguments to function 'xs_transaction_start'
libvir.c:302: warning: passing argument 2 of 'xs_directory' from incompatible pointer type
libvir.c:302: warning: passing argument 3 of 'xs_directory' from incompatible pointer type
libvir.c:302: error: too many arguments to function 'xs_directory'
libvir.c:320: error: too many arguments to function 'xs_transaction_end'
libvir.c: In function 'virConnectNumOfDomains':
libvir.c:339: warning: declaration of 'num' shadows a global declaration
/usr/include/xen/dom0_ops.h:271: warning: shadowed declaration is here
libvir.c:345: error: too few arguments to function 'xs_transaction_start'
libvir.c:347: warning: passing argument 2 of 'xs_directory' from incompatible pointer type
libvir.c:347: warning: passing argument 3 of 'xs_directory' from incompatible pointer type
libvir.c:347: error: too many arguments to function 'xs_directory'
libvir.c:352: error: too many arguments to function 'xs_transaction_end'
libvir.c: At top level:
libvir.c:376: warning: declaration of 'flags' shadows a global declaration
/usr/include/xen/dom0_ops.h:85: warning: shadowed declaration is here
libvir.c: In function 'virConnectDoStoreList':
libvir.c:431: error: too few arguments to function 'xs_transaction_start'
libvir.c:435: warning: passing argument 2 of 'xs_directory' from incompatible pointer type
libvir.c:435: warning: passing argument 3 of 'xs_directory' from incompatible pointer type
libvir.c:435: error: too many arguments to function 'xs_directory'
libvir.c:439: error: too many arguments to function 'xs_transaction_end'
libvir.c: At top level:
libvir.c:453: warning: declaration of 'domain' shadows a global declaration
/usr/include/xen/dom0_ops.h:50: wa! rning: shadowed declaration is here
libvir.c: In function 'virDomainDoStoreQuery':
libvir.c:465: error: too few arguments to function 'xs_transaction_start'
libvir.c:469: warning: passing argument 2 of 'xs_read' from incompatible pointer type
libvir.c:469: warning: passing argument 3 of 'xs_read' from incompatible pointer type
libvir.c:469: error: too many arguments to function 'xs_read'
libvir.c:473: error: too many arguments to function 'xs_transaction_end'
libvir.c: At top level:
libvir.c:489: warning: declaration of 'domain' shadows a global declaration
/usr/include/xen/dom0_ops.h:50: warning: shadowed declaration is here
libvir.c: In function 'virDomainDoStoreWrite':
libvir.c:504: error: too few arguments to function 'xs_transaction_start'
libvir.c:508: warning: passing argument 2 of 'xs_write' from incompatible pointer type
libvir.c:508: warning: passing argument 4 of 'xs_write' makes integer from pointer without a cast
libvir.c:513: error: too many arguments to function 'xs_transaction_end'
libvir.c: At top level:
libvir.c:526: warning: declaration of 'domain' shadows a global declaration
/usr/include/xen/dom0_ops.h:50: warning: shadowed declaration is here
libvir.c: In function 'virDomainGetVM':
libvir.c:536: error: too few arguments to function 'xs_transaction_start'
libvir.c:544: warning: passing argument 2 of 'xs_read' from incompatible pointer type
libvir.c:544: warning: passing argument 3 of 'xs_read' from incompatible pointer type
libvir.c:544: error: too many arguments to function 'xs_read'
libvir.c:547: error: too many arguments to function 'xs_transaction_end'
libvir.c: At top level:
libvir.c:564: warning: declaration of 'domain' shadows a global declaration
/usr/include/xen/dom0_ops.h:50: warning: shadowed declaration is here
libvir.c: In function 'virDomainGetVMInfo':
libvir.c:577: error: too few arguments to function 'xs_transaction_start'
libvir.c:581: warning: passing argument 2 of 'xs_read' from incompatible pointer type
libvir.c:581: warning: passing argument 3 of 'xs_read' from incompatible pointer type
libvir.c:581: error: too many arguments to function 'xs_read'
libvir.c:585: error: too many arguments to function 'xs_transaction_end'
libvir.c: In function 'virDomainLookupByID':
libvir.c:608: warning: implicit declaration of function 'xs_get_domain_path'
libvir.c:608: warning: nested extern declaration of 'xs_get_domain_path'
libvir.c:608: warning: assignment makes pointer from integer without a cast
libvir.c: In function 'virDomainLookupByName':
libvir.c:644: warning: declaration of 'num' shadows a global declaration
/usr/include/xen/dom0_ops.h:271: warning: shadowed declaration is here
libvir.c:655: error: too few arguments to function 'xs_transaction_start'
libvir.c:659: warning: passing argument 2 of 'xs_directory' from incom! patible pointer type
libvir.c:659: warning: passing argument 3 of 'xs_directory' from incompatible pointer type
libvir.c:659: error: too many arguments to function 'xs_directory'
libvir.c:672: warning: passing argument 2 of 'xs_read' from incompatible pointer type
libvir.c:672: warning: passing argument 3 of 'xs_read' from incompatible pointer type
libvir.c:672: error: too many arguments to function 'xs_read'
libvir.c:687: warning: assignment makes pointer from integer without a cast
libvir.c:693: error: too many arguments to function 'xs_transaction_end'
libvir.c: At top level:
libvir.c:713: warning: declaration of 'domain' shadows a global declaration
/usr/include/xen/dom0_ops.h:50: warning: shadowed declaration is here
libvir.c:735: warning: declaration of 'domain' shadows a global declaration
/usr/include/xen/dom0_ops.h:50: warning: shadowed declaration is here
libvir.c:761: warning: declaration of 'domain' shadows a global declaration
/usr/include/xen/dom0_ops.h:50: warning: shadowed declaration is here
libvir.c:778: warning: declaration of 'domain' shadows a global declaration
/usr/include/xen/dom0_ops.h:50: warning: shadowed declaration is here
libvir.c:797: warning: declaration of 'domain' shadows a global declaration
/usr/include/xen/dom0_ops.h:50: warning: shadowed declaration is here
libvir.c:824: warning: declaration of 'domain' shadows a global declaration
/usr/include/xen/dom0_ops.h:50: warning: shadowed declaration is here
libvir.c:839: warning: declaration of 'domain' shadows a global declaration
/usr/include/xen/dom0_ops.h:50: warning: shadowed declaration is here
libvir.c:854: warning: declaration of 'domain' shadows a global declaration
/usr/include/xen/dom0_ops.h:50: warning: shadowed declaration is here
libvir.c:879: warning: declaration of 'domain' shadows a global declaration
/usr/include/xen/dom0_ops.h:50: warning: shadowed declaration is here
libvir.c: In function 'virDomainGetMaxMemory':
libvir.c:894: error: syntax error before 'dominfo'
libvir.c:897: error: 'dominfo' undeclared (first use in this function)
libvir.c: At top level:
libvir.c:919: warning: declaration of 'domain' shadows a global declaration
/usr/include/xen/dom0_ops.h:50: warning: shadowed declaration is here
libvir.c: In function 'virDomainSetMaxMemory':
libvir.c:945: error: too few arguments to function 'xs_transaction_start'
libvir.c:949: warning: passing argument 2 of 'xs_write' from incompatible pointer type
libvir.c:949: warning: passing argument 4 of 'xs_write' makes integer from pointer without a cast
libvir.c:950: error: too many arguments to function 'xs_transaction_end'
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'



What are the most popular cars? Find out at Yahoo! Autos