gnutls 3.0.4 and mingw-w64 build issues

Nikos Mavrogiannopoulos nmav at gnutls.org
Fri Oct 21 22:14:10 CEST 2011


On 10/21/2011 09:27 PM, Hoyt, David wrote:
>> 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'.

Ah ok... Because it is cross build the detection didn't work properly 
and you were trying to compile the 32-bit version of the files. Can you 
try the --host x86_64 configure option?

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

Thanks. I've added them.
>
> 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.

I've added more -Ibuilddir stuff. I wonder why srcdir is not enough in 
this build.

regards,
Nikos




More information about the Gnutls-help mailing list