Errors compiling 1.4 Branch on Cygwin

David Shaw dshaw at jabberwocky.com
Tue Jun 9 23:16:01 CEST 2009


On Jun 9, 2009, at 4:07 PM, Kevin Hilton wrote:

> With the latest 1.4 branch revision 5039 and 5040 I can't seem to
> compile the source on cygwin.  I haven't tried with earlier revisions
> except that I can tell you I have revision 4907 successfully compiled.
>
> Here are the errors I am getting:
>
> This should work unless it involves constant data structures  
> referencing symbols
>  from auto-imported DLLs.../util/libcompat.a(srv.o): In function  
> `getsrv':
> /home/admin/src/gpg/util/srv.c:64: undefined reference to  
> `___res_query'
> /home/admin/src/gpg/util/srv.c:78: undefined reference to  
> `___dn_skipname'
> /home/admin/src/gpg/util/srv.c:98: undefined reference to  
> `___dn_skipname'
> /home/admin/src/gpg/util/srv.c:132: undefined reference to  
> `___dn_expand'
> Info: resolving _optarg by linking to __imp__optarg (auto-import)
> Info: resolving _optind by linking to __imp__optind (auto-import)
> collect2: ld returned 1 exit status
> make[2]: *** [gpgkeys_hkp.exe] Error 1
> make[2]: Leaving directory `/home/admin/src/gpg/keyserver'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/admin/src/gpg'
> make: *** [all] Error 2
>
> Do I have an old unresolved dependency?

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




More information about the Gnupg-devel mailing list