GPG SVN Compilation Errors - cygwin

Werner Koch wk at
Fri Jul 31 10:00:11 CEST 2009

On Fri, 31 Jul 2009 07:09, kevhilton at said:
> gpg2 svn version 5102
> Receiving following errors trying to compile:  (I'm open to
> suggestions) and thanks for help!:
> /usr/local/lib/libgcrypt.a(pubkey.o): In function `_gcry_pk_encrypt':
> /home/admin/src/libgcrypt/cipher/pubkey.c:1656: undefined reference to `_stpcpy'

> make[3]: *** [t-convert.exe] Error 1
> make[3]: Leaving directory `/home/admin/src/gpg2/common'

The configure script of libgcrypt found that the stpcpy function is
available but when linked to the t-convert.exe test program it can't
find it.

Maybe stpcpy is not required for linkint t-convert and somehow ld does
not get it that it libgcrypt needs stpcpy.



Die Gedanken sind frei.  Auschnahme regelt ein Bundeschgesetz.

More information about the Gnupg-devel mailing list