GPG 2.1 beta compilation error

Ben McGinnes ben at adversary.org
Thu Jul 26 06:10:57 CEST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 26/07/12 1:50 PM, Ben McGinnes wrote:
> Hello, I've just tried compiling GPG 2.1.0 beta 3 on a CentOS/RHEL
> 5 box.  I'm installing in and to /usr/local with all the
> dependencies in the same location.
> 
> I configured it with the following options:
> 
> ./configure --enable-symcryptrun --enable-gpgtar
> --enable-selinux-support
> 
> The configuration process was fine, but when I tried to make it I 
> received this error:
> 
> passphrase.c: In function ‘passphrase_to_dek_ext’: 
> passphrase.c:584: warning: implicit declaration of function 
> ‘gcry_kdf_derive’ passphrase.c:585: error:
> ‘GCRY_KDF_ITERSALTED_S2K’ undeclared (first use in this function) 
> passphrase.c:585: error: (Each undeclared identifier is reported
> only once passphrase.c:585: error: for each function it appears
> in.) passphrase.c:586: error: ‘GCRY_KDF_SALTED_S2K’ undeclared
> (first use in this function) passphrase.c:587: error:
> ‘GCRY_KDF_SIMPLE_S2K’ undeclared (first use in this function) 
> make[2]: *** [passphrase.o] Error 1 make[2]: Leaving directory
> `/usr/local/src/gnupg-2.1.0beta3/g10' make[1]: *** [all-recursive]
> Error 1 make[1]: Leaving directory
> `/usr/local/src/gnupg-2.1.0beta3' make: *** [all] Error 2
> 
> Is this a bug or do I need to fix something?

I just tried it without passing any options to configure and received
this error when running make:

tatus.c:25:26: error: status-codes.h: No such file or directory
status.c: In function ‘get_status_string’:
status.c:32: warning: implicit declaration of function
‘statusstr_msgidxof’
status.c:36: error: ‘statusstr_msgstr’ undeclared (first use in this
function)
status.c:36: error: (Each undeclared identifier is reported only once
status.c:36: error: for each function it appears in.)
status.c:36: error: ‘statusstr_msgidx’ undeclared (first use in this
function)
make[3]: *** [libcommon_a-status.o] Error 1
make[3]: Leaving directory `/usr/local/src/gnupg-2.1.0beta3/common'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/src/gnupg-2.1.0beta3/common'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/gnupg-2.1.0beta3'
make: *** [all] Error 2


Regards,
Ben

-----BEGIN PGP SIGNATURE-----

iEYEAREKAAYFAlAQw1EACgkQNxrFv6BK4xP31ACg9lbUi1cwmY0K/38K0F5aQNAX
9L0AoJgqWpMnGTwops/uAj3fR3SQKdNT
=xAXU
-----END PGP SIGNATURE-----




More information about the Gnupg-users mailing list