gnutls-devel
[Top][All Lists]
Advanced

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

gnutls 3.0.4 and mingw-w64 build issues


From: Hoyt, David
Subject: gnutls 3.0.4 and mingw-w64 build issues
Date: Thu, 20 Oct 2011 14:26:46 -0700

When building 3.0.4 with mingw-w64 (gcc 4.5.2) on a windows 7 machine, I get 
the following error:


In file included from gnutls-3.0.4/lib/x509/common.c:24:0:
gnutls-3.0.4/lib/x509/../gnutls_int.h:46:24: fatal error: sys/socket.h: No such 
file or directory
compilation terminated. 


I double checked and I do not have sys/socket.h. What's the correct fix for 
gnutls_int.h? Removing the include altogether allowed compilation to proceed 
further (so perhaps the include could be guarded if needed elsewhere), but then 
I got:


In file included from gnutls-3.0.4/lib/accelerated/x86/sha-padlock.c:24:0:
gnutls-3.0.4/lib/accelerated/x86/../../gnutls_int.h:65:27: fatal error: 
gnutls/gnutls.h: No such file or directory
compilation terminated.
make[4]: *** [sha-padlock.lo] Error 1


Not exactly sure what's the best way to fix that.

Thanks,
- David Hoyt



reply via email to

[Prev in Thread] Current Thread [Next in Thread]