gnutls 3.0.4 and mingw-w64 build issues

Nikos Mavrogiannopoulos nmav at
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)
> 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/ added "-I$(builddir)/../../gl \" to AM_CPPFLAGS
> lib/auth/ added "-I$(builddir)/../../gl \" to AM_CPPFLAGS
> lib/ext/ added "-I$(builddir)/../../gl \" to AM_CPPFLAGS
> lib/algorithms/ added "-I$(builddir)/../../gl \" to AM_CPPFLAGS
> lib/opencdk/ added "-I$(builddir)/../../gl \" to AM_CPPFLAGS
> lib/openpgp/ added "-I$(builddir)/../../gl \" to AM_CPPFLAGS
> lib/nettle/ added "-I$(builddir)/../../gl \" to AM_CPPFLAGS
> lib/minitasn1/ 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.


More information about the Gnutls-help mailing list