[libvirt-users] Compiling Libvirt on Windows for Hyper V support

Daniel P. Berrangé berrange at redhat.com
Tue Aug 20 17:30:51 UTC 2019


On Tue, Aug 20, 2019 at 01:03:40PM -0400, reza shahriari wrote:
> Hi,
> 
> I tried that out, I got a new error about pthreads in my config.log.

It finds the header file now which is good, but it still fails to
find the libpthread.dll file, which is what LDFLAGS should have
addressed

configure:15417: checking for pthread_kill in -lpthread
configure:15442: gcc -o conftest.exe -I/c/msys64/mingw64/x86_64-w64-mingw32/include/  -L/c/msys64/mingw64/x86_64-w64-mingw32/lib/:/c/msys64/mingw64/bin/ conftest.c -lpthread   >&5
c:/mingw/bin/../lib/gcc/mingw32/8.2.0/../../../../mingw32/bin/ld.exe: cannot find -lpthread
| char pthread_kill ();



Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvirt-users mailing list