[PATCH] for MinGW Re: [Libvir] Pthreads error in windows compilation
Atsushi SAKAI
sakaia at jp.fujitsu.com
Wed Feb 6 09:54:16 UTC 2008
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 at redhat.com> 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
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mingw_pthread_compilation.patch
Type: application/octet-stream
Size: 519 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20080206/97df9f2f/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mingw_compilation_configurein.patch
Type: application/octet-stream
Size: 328 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20080206/97df9f2f/attachment-0003.obj>
More information about the libvir-list
mailing list