GnuPG v2.x?

Kevin Hilton kevhilton at gmail.com
Tue Apr 8 05:12:47 CEST 2008


Just updated to svn version gpg2 4739

Still have same problems trying to compile gpg2 under cygwin with the
gettext error:

gcc  -I/usr/local/include -I/usr/local/include -g -O2 -Wall -Wcast-align -Wshado
w -Wstrict-prototypes -Wformat -Wno-format-y2k -Wformat-security -Wpointer-arith
   -o gpg2.exe gpg.o server.o build-packet.o compress.o compress-bz2.o free-pack
et.o getkey.o keydb.o keyring.o seskey.o kbnode.o mainproc.o armor.o mdfilter.o
textfilter.o progress.o misc.o openfile.o keyid.o parse-packet.o cpr.o plaintext
.o sig-check.o keylist.o pkglue.o pkclist.o skclist.o pubkey-enc.o passphrase.o
seckey-cert.o encr-data.o cipher.o encode.o sign.o verify.o revoke.o decrypt.o k
eyedit.o dearmor.o import.o export.o trustdb.o tdbdump.o tdbio.o delkey.o keygen
.o helptext.o keyserver.o photoid.o call-agent.o card-util.o exec.o ../common/li
bcommon.a ../jnlib/libjnlib.a ../gl/libgnu.a  ../common/libgpgrl.a -lz -lbz2 -lr
esolv  -lreadline /usr/local/lib/libintl.dll.a -liconv -L/usr/local/lib   -lgcry
pt -lgpg-error -L/usr/local/lib -lassuan -L/usr/local/lib -lgpg-error -liconv
/usr/local/lib/libgpg-error.a(libgpg_error_la-strerror.o): In function `gpg_stre
rror':
/home/klal/temp/gnupg/libgpg-error-1.6/src/strerror.c:50: undefined reference to
 `_libintl_dgettext'
/usr/local/lib/libgpg-error.a(libgpg_error_la-strerror.o): In function `gpg_stre
rror_r':
/home/klal/temp/gnupg/libgpg-error-1.6/src/strerror.c:161: undefined reference t
o `_libintl_dgettext'
Info: resolving _rl_attempted_completion_over by linking to __imp__rl_attempted_
completion_over (auto-import)
Info: resolving _rl_attempted_completion_function by linking to __imp__rl_attemp
ted_completion_function (auto-import)
Info: resolving _rl_inhibit_completion by linking to __imp__rl_inhibit_completio
n (auto-import)
Info: resolving _rl_catch_signals by linking to __imp__rl_catch_signals (auto-im
port)
Info: resolving _rl_outstream by linking to __imp__rl_outstream (auto-import)
Info: resolving _rl_instream by linking to __imp__rl_instream (auto-import)
Info: resolving _rl_readline_name by linking to __imp__rl_readline_name (auto-im
port)
collect2: ld returned 1 exit status
make[2]: *** [gpg2.exe] Error 1
make[2]: Leaving directory `/home/klal/temp/gnupg/gpg2/g10'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/klal/temp/gnupg/gpg2'
make: *** [all] Error 2

I've seen other people complain of a similar error trying to compile
other programs, but never found a posted solution.  I don't know a lot
about playing with the link flags.  Are there any suggestions I could
try?



More information about the Gnupg-users mailing list