gnutls-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compilation error of errcodes


From: Simon Josefsson
Subject: Re: compilation error of errcodes
Date: Mon, 10 Oct 2011 11:27:48 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.2 (gnu/linux)

Nikos Mavrogiannopoulos <address@hidden> writes:

> On 10/08/2011 12:55 PM, Vincent Torri wrote:
>> hey, always compiling with mingw-w64 : errcodes can not be compiled
>> as gnutls.h is not found : 'make ./errcodes' so it  seems that
>> AM_CPPFLAGS is not taken into account (i've not searched in the
>> automake manual if it's the reason or not.
>
> It looks like a bug in the automake used. Did you run automake before
> compiling? In my system that change is not required.

Perhaps the patch below solves this.  Vincent, can you try running 'make
./errcodes.exe' to see if it uses the correct cflags?  If so, this patch
is the right thing.

/Simon

diff --git a/doc/Makefile.am b/doc/Makefile.am
index 8f4d121..2824461 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -156,8 +156,8 @@ alert_printlist_SOURCES = alert-printlist.c
 alert_printlist_LDADD = ../lib/libgnutls.la ../gl/libgnu.la
 
 error_codes.texi: $(top_srcdir)/lib/gnutls_errors.c $(srcdir)/errcodes.c
-       make $(builddir)/errcodes
-       $(builddir)/errcodes > address@hidden
+       make $(builddir)/errcodes$(EXEEXT)
+       $(builddir)/errcodes$(EXEEXT) > address@hidden
        mv -f address@hidden $@
 
 algorithms.texi: printlist
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]