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

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

 



Hi, Jim

I am looking around the code about WEXITSTATUS.
It seems that following kind of code needs on gnulib.
http://kerneltrap.org/mailarchive/git/2008/2/27/1003054
What do you think?

Thanks
Atsushi SAKAI



Atsushi SAKAI <sakaia@xxxxxxxxxxxxxx> wrote:

> Hi, Dan
> 
> mkstemp is solved by Jim.
> 
> But WEXITSTATUS problem is not solved yet.
> Since sys/wait.h does not exist on MinGW.
> http://www.mingw.org/MinGWiki/index.php/PortingChildren
> 
> Thanks
> Atsushi SAKAI
> 
> 
> 
> 
> "Daniel P. Berrange" <berrange@xxxxxxxxxx> wrote:
> 
> > 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 :|
> 
> 
> --
> Libvir-list mailing list
> Libvir-list@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/libvir-list


--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]