Errors compiling 1.4 Branch on Cygwin

Kevin Hilton kevhilton at gmail.com
Tue Jun 9 09:18:43 CEST 2009


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?

-- 
Kevin Hilton



More information about the Gnupg-devel mailing list