gnutls 3.0.4 and mingw-w64 build issues

Hoyt, David hoyt6 at llnl.gov
Fri Oct 21 21:27:16 CEST 2011


> What is the assembler version used?

GNU assembler (GNU Binutils) 2.20.51.20100928
Copyright 2010 Free Software Foundation, Inc.
...
This assembler was configured for a target of `i686-w64-mingw32'.

> If you don't need AES-NI or padlock 
> acceleration you can use the "--disable-hardware-acceleration" to 
> configure to avoid that.

I'm building a general-purpose lib, so it'd be nice to take advantage of optimizations if I can, even if I don't directly use them myself.

Building with "--disable-hardware-acceleration" results in some more build issues. I had to additionally modify the following files:

lib/accelerated/Makefile.am: added "-I$(builddir)/../../gl \" to AM_CPPFLAGS
lib/auth/Makefile.am: added "-I$(builddir)/../../gl \" to AM_CPPFLAGS
lib/ext/Makefile.am: added "-I$(builddir)/../../gl \" to AM_CPPFLAGS
lib/algorithms/Makefile.am: added "-I$(builddir)/../../gl \" to AM_CPPFLAGS
lib/opencdk/Makefile.am: added "-I$(builddir)/../../gl \" to AM_CPPFLAGS
lib/openpgp/Makefile.am: added "-I$(builddir)/../../gl \" to AM_CPPFLAGS
lib/nettle/Makefile.am: added "-I$(builddir)/../../gl \" to AM_CPPFLAGS
lib/minitasn1/Makefile.am: added "-I$(builddir)/../../gl \" to AM_CPPFLAGS

I'm sure you can start to see a pattern emerging. :D

At this point, I'm still getting the following error:


make[3]: Entering directory `/home/hoyt6/native/build/gnutls-3.0.4-git/lib'
  CC     gnutls_record.lo
In file included from ../../../pkgs/gnutls-3.0.4-git/lib/gnutls_record.c:27:0:
../../../pkgs/gnutls-3.0.4-git/lib/gnutls_int.h:65:27: fatal error: gnutls/gnutls.h: No such file or directory
compilation terminated.


Your continued help is appreciated. (c:

Thanks,
- David Hoyt




More information about the Gnutls-help mailing list