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/Makefile.am" --
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'