[Libvir] Pthreads error in windows compilation

Gabriel Kaufmann Gabriel.Kaufmann at ericom.com
Tue Jan 29 09:57:36 UTC 2008


I received the error

In file included from libvirt.c:32:
internal.h: At top level:
internal.h:177: error: expected specifier-qualifier-list before 'pthread_mutex_t'

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?

Best Regards,

Gabriel Kaufmann
Software Engineer
Gabriel.Kaufmann at ericom.com<mailto:Gabriel.Kaufmann at ericom.com>

Ericom Software
Tel (Dir): +972 2 591 1700 Ext 754
Tel (Main): +972 2 591 1700

Access Done Right
Empower Enterprise-Wide Access to Microsoft(r) Terminal Server, Virtual Desktops and Legacy Applications
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20080129/de757149/attachment-0001.htm>

More information about the libvir-list mailing list