gnutls 3.0.4 and mingw-w64 build issues

Nikos Mavrogiannopoulos nmav at
Fri Oct 21 20:47:24 CEST 2011

On 10/21/2011 08:14 PM, Hoyt, David wrote:
>> 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:
> Thank you very much! Those patches helped push through a bit further. I grabbed the latest from git, but I still had to make another adjustment to "lib/accelerated/x86/" -- similar to your patch, I had to add "-I$(builddir)/../../../gl" to AM_CPPFLAGS. If it isn't obvious by now, I'm trying to compile from a separate build directory than my source (as is the typical recommendation).
>> Please try building from git, or try next release.
> Configure proceeded fine, but then during the build, I got the following errors (and a whole lot more exactly like it, just on different lines):
> gnutls-3.0.4-git/lib/accelerated/x86/asm/appro-aes-x86.s: Assembler messages:
> gnutls-3.0.4-git/lib/accelerated/x86/asm/appro-aes-x86.s:41: Warning: .type pseudo-op used outside of .def/.endef ignored.
> gnutls-3.0.4-git/lib/accelerated/x86/asm/appro-aes-x86.s:41: Error: junk at end of line, first unrecognized character is `a'
> gnutls-3.0.4-git/lib/accelerated/x86/asm/appro-aes-x86.s:63: Warning: .size pseudo-op used outside of .def/.endef ignored.
> gnutls-3.0.4-git/lib/accelerated/x86/asm/appro-aes-x86.s:63: Error: junk at end of line, first unrecognized character is `a'

What is the assembler version used? If you don't need AES-NI or padlock 
acceleration you can use the "--disable-hardware-acceleration" to 
configure to avoid that.


More information about the Gnutls-help mailing list