help-gnutls
[Top][All Lists]
Advanced

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

Re: gnutls 3.0.4 and mingw-w64 build issues


From: Simon Josefsson
Subject: Re: gnutls 3.0.4 and mingw-w64 build issues
Date: Fri, 21 Oct 2011 13:26:08 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.2 (gnu/linux)

"Hoyt, David" <address@hidden> writes:

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

You should have a sys/socket.h in the GnuTLS build tree somewhere, from
gnulib.  Some -I's are missing, I've pushed this patch:

http://git.savannah.gnu.org/cgit/gnutls.git/commit/?id=683ccd706bc847ae2ad2420692f89eba354f8714

> 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

Similar issue, I've added:

http://git.savannah.gnu.org/cgit/gnutls.git/commit/?id=d6b29a8aa48be8e3db2ce9bcea4db54477f12744

Please try building from git, or try next release.

/Simon



reply via email to

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