[libvirt] [PATCH] fix MinGW compilation(200808)

Daniel P. Berrange berrange at redhat.com
Thu Aug 7 09:00:41 UTC 2008


On Thu, Aug 07, 2008 at 05:56:48PM +0900, Atsushi SAKAI wrote:
> Hi, Jim
> 
> Your patch works fine. It passes inet_pton problem.
> Please apply it.
> 
> By the way, virsh compilation error.
> Is threre any good suggestion?
> =========
> virsh-virsh.o: In function `editWriteToTempFile':
> C:/msys/1.0/home/Administrator/work/libvirt/src/virsh.c:5080: undefined reference to `mkstemp'

Look like there is a gnulib module for that - Jim could say if its license
compatible

> virsh-virsh.o: In function `editFile':
> C:/msys/1.0/home/Administrator/work/libvirt/src/virsh.c:5155: undefined reference to `WEXITSTATUS'

virsh.c seems to be missing  '#include <sys/wait.h>'

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 :|




More information about the libvir-list mailing list