[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libvir] Libvirt on windows



Hi,

 

Did anybody managed to compile libvirt-0.4.0 on windows.

 

I tried following instructions on http://libvirt.org/windows.html  which offer compiling in Cygwin.

This doesn’t work because of inconsistency with winsock2.

If I change manually the HAVE_WINSOCK2 macro and make some changes in the code (see https://www.redhat.com/archives/libvir-list/2008-January/msg00344.html )

I manage to compile but after compiling virsh doesn’t work (don’t manage to connect to the host and returns Bad Address immediately)

 

Then I tried following the (not so detailed) instructions in https://www.redhat.com/archives/libvir-list/2008-January/msg00017.html

I get error compilation:

 

In file included from remote_internal.c:73:

../qemud/remote_protocol.h:1218:2: error: #endif without #if

remote_internal.c: In function 'remoteDomainGetMaxMemory':

remote_internal.c:1581: error: 'remote_domain_get_max_memory_ret' has no member named 'memory'

remote_internal.c: In function 'remoteDomainSetMaxMemory':

remote_internal.c:1591: error: 'remote_domain_set_max_memory_args' has no member named 'memory'

remote_internal.c: In function 'remoteDomainSetMemory':

remote_internal.c:1608: error: 'remote_domain_set_memory_args' has no member named 'memory'

remote_internal.c: In function 'remoteDomainGetInfo':

remote_internal.c:1634: error: 'remote_domain_get_info_ret' has no member named 'max_mem'

remote_internal.c:1635: error: 'remote_domain_get_info_ret' has no member named 'memory'

remote_internal.c:1636: error: 'remote_domain_get_info_ret' has no member named 'nr_virt_cpu'

remote_internal.c:1637: error: 'remote_domain_get_info_ret' has no member named 'cpu_time'

remote_internal.c: In function 'remoteDomainMigratePrepare':

remote_internal.c:1846: error: 'remote_domain_migrate_prepare_args' has no member named 'flags'

remote_internal.c:1847: error: 'remote_domain_migrate_prepare_args' has no member named 'dname'

remote_internal.c:1848: error: 'remote_domain_migrate_prepare_args' has no member named 'resource'

remote_internal.c: In function 'remoteDomainMigratePerform':

remote_internal.c:1882: error: 'remote_domain_migrate_perform_args' has no member named 'flags'

remote_internal.c:1883: error: 'remote_domain_migrate_perform_args' has no member named 'dname'

remote_internal.c:1884: error: 'remote_domain_migrate_perform_args' has no member named 'resource'

remote_internal.c: In function 'remoteDomainMigrateFinish':

remote_internal.c:1911: error: 'remote_domain_migrate_finish_args' has no member named 'flags'

make[2]: *** [libvirt_la-remote_internal.lo] Error 1

make[2]: Leaving directory `/data/cvs/libvirt/src'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/data/cvs/libvirt'

 

Can anyone tell help?

 

Best Regards,

 

Gabriel Kaufmann

Software Engineer

Gabriel Kaufmann ericom com

 

Ericom Software

Tel (Dir): +972 2 591 1700 Ext 754

Tel (Main): +972 2 591 1700

http://www.ericom.com 


Access Done Right

Empower Enterprise-Wide Access to Microsoft® Terminal Server, Virtual Desktops and Legacy Applications

 

   

 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]