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

Jim Meyering jim at meyering.net
Thu Aug 7 09:03:10 UTC 2008


Atsushi SAKAI <sakaia at jp.fujitsu.com> wrote:
> 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'
> virsh-virsh.o: In function `editFile':
> C:/msys/1.0/home/Administrator/work/libvirt/src/virsh.c:5155: undefined reference to `WEXITSTATUS'
> =========

There's a gnulib module for that (of course ;-).
I'll have to relax licenses of mkstemp and the dependent module,
tempname.  Should be no problem.




More information about the libvir-list mailing list