[PATCH] for MinGW Re: Pthreads error in windows compilation

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

 



Hi,

 Today I recognized.
It would be better to write #include <pthread.h> in hash.h than hash.c.
And compilation works if configure.in changes in MINGW?
Would you apply this patch?

Anyway virsh.exe works fine, but cannot compile testutils.c.

Thanks
Atsushi SAKAI


"Richard W.M. Jones" <rjones@xxxxxxxxxx> wrote:

> Gabriel Kaufmann wrote:
> > In order to fix this problem, I installed the ‘pthreads’ package on my 
> > MinGW.
> > 
> > Then added include pthread.h in src/internal.h
> > Is this the right action?
> 
> Yes, I think so.  This sounds like a regression.
> 
> Rich.
> 
> -- 
> Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
> Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
> Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
> England and Wales under Company Registration No. 03798903
> 

Attachment: mingw_pthread_compilation.patch
Description: Binary data

Attachment: mingw_compilation_configurein.patch
Description: Binary data

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