Hi, Dan If remove uncompiled code on MinGW, the patch seems like this. 0)siginfo_t does not have. 1)MinGW does not have waitpid, fork etc. 2)add testutilsqemu.c to check WITH_QEMU I need to investigate more? (Please wait a week, if need to investigate this.) src/driver.h | 4 ++++ src/internal.h | 4 ++++ src/libvirt.c | 3 ++- tests/testutils.c | 9 ++++++++- tests/testutilsqemu.c | 2 ++ 5 files changed, 20 insertions(+), 2 deletions(-) Thanks Atsushi SAKAI "Daniel P. Berrange" <berrange@xxxxxxxxxx> wrote: > On Fri, Jun 06, 2008 at 10:03:41PM +0900, Atsushi SAKAI wrote: > > Hi, Dan > > > > Thank you, I remenber the Mail from Rich. > > http://www.redhat.com/archives/libvir-list/2008-January/msg00017.html > > virsh seems working again. > > > > Current problem on MinGW are 2points(These are avoidable on manually). > > > > 1) siginfo_t should comment out.(it effects driver.h/internal.h/libvirt.c on src directory) > > Hmm, all the APIs with virState in their name should be disabled > by a #ifdef WITH_LIBVIRTD, since they only make sense in the context > of the daemon. > > > 2) Cannot compile "tests" directory > > Can you post the compile errors for this - it ought to be easy enough to > fix > > Regards, > Daniel > -- > |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| > |: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :| > |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| > |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
Attachment:
fix_compile_on_mingw.patch
Description: Binary data
-- Libvir-list mailing list Libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list