Errors compiling 1.4 Branch on Cygwin

David Shaw dshaw at jabberwocky.com
Tue Jun 9 23:29:37 CEST 2009


On Jun 9, 2009, at 5:23 PM, John Clizbe wrote:

> David Shaw wrote:
>>
>> In your main build directory, tell me the output of these commands:
>>
>>  grep DNSLIBS config.status
>>  grep LIBCURL config.status
>>  grep USE_DNS config.h
>>  grep BIND config.h
>
> David,
>
> I got the same error on 5031, but I don't use Cygwin enough to worry
> about it too much.
>
> jpclizbe at booboo ~/gnupg-svn/gnupg14r5031
> $ grep DNSLIBS config.status
> S["DNSLIBS"]="-lresolv "

Try this patch:

Index: keyserver/Makefile.am
===================================================================
--- keyserver/Makefile.am	(revision 5041)
+++ keyserver/Makefile.am	(working copy)
@@ -1,5 +1,5 @@
  # Copyright (C) 2001, 2002, 2004, 2005, 2006,
-#               2007 Free Software Foundation, Inc.
+#               2007, 2009 Free Software Foundation, Inc.
  #
  # This file is part of GnuPG.
  #
@@ -48,7 +48,7 @@
  gpgkeys_curl_CPPFLAGS = @LIBCURL_CPPFLAGS@
  gpgkeys_curl_LDADD = ../util/libcompat.a @LIBCURL@ @GETOPT@
  gpgkeys_hkp_CPPFLAGS = @LIBCURL_CPPFLAGS@
-gpgkeys_hkp_LDADD = ../util/libcompat.a @LIBCURL@ @GETOPT@
+gpgkeys_hkp_LDADD = ../util/libcompat.a @DNSLIBS@ @LIBCURL@ @GETOPT@
  gpgkeys_finger_CPPFLAGS = @LIBCURL_CPPFLAGS@
  gpgkeys_ldap_CPPFLAGS += @LIBCURL_CPPFLAGS@
  endif

David




More information about the Gnupg-devel mailing list