Unable to compile GnuPG 2.1 beta 3

Nicholas Cole nicholas.cole at gmail.com
Tue Jan 10 17:05:37 CET 2012


I'm running into a different error compiling (also on OS X):

[snipped earlier errors]

Making all in agent
gcc -DHAVE_CONFIG_H -I. -I..  -I../gl -I../common -I../intl
-DLOCALEDIR=\"/opt/gnupg2.1beta3/share/locale\"
-DGNUPG_BINDIR="\"/opt/gnupg2.1beta3/bin\""
-DGNUPG_LIBEXECDIR="\"/opt/gnupg2.1beta3/libexec\""
-DGNUPG_LIBDIR="\"/opt/gnupg2.1beta3/lib/gnupg\""
-DGNUPG_DATADIR="\"/opt/gnupg2.1beta3/share/gnupg\""
-DGNUPG_SYSCONFDIR="\"/opt/gnupg2.1beta3/etc/gnupg\""
-DGNUPG_LOCALSTATEDIR="\"/opt/gnupg2.1beta3/var\""
-I/sw/include -I/sw/include -I/usr/local/include -I/sw/include
-I/sw/include -g -O2 -Wall -Wno-pointer-sign -Wpointer-arith -MT
gpg_agent-command.o -MD -MP -MF .deps/gpg_agent-command.Tpo -c -o
gpg_agent-command.o `test -f 'command.c' || echo './'`command.c
In file included from agent.h:32,
                 from command.c:37:
/sw/include/gcrypt.h:1336: warning: ‘gcry_ac_io_mode_t’ is deprecated
/sw/include/gcrypt.h:1337: warning: ‘gcry_ac_io_type_t’ is deprecated
/sw/include/gcrypt.h:1344: warning: ‘gcry_ac_data_read_cb_t’ is deprecated
/sw/include/gcrypt.h:1358: warning: ‘gcry_ac_data_write_cb_t’ is deprecated
/sw/include/gcrypt.h:1393: warning: ‘gcry_md_algo_t’ is deprecated
/sw/include/gcrypt.h:1401: warning: ‘gcry_md_algo_t’ is deprecated
/sw/include/gcrypt.h:1407: warning: ‘gcry_ac_data_t’ is deprecated
/sw/include/gcrypt.h:1411: warning: ‘gcry_ac_data_t’ is deprecated
/sw/include/gcrypt.h:1415: warning: ‘gcry_ac_data_t’ is deprecated
/sw/include/gcrypt.h:1416: warning: ‘gcry_ac_data_t’ is deprecated
/sw/include/gcrypt.h:1421: warning: ‘gcry_ac_data_t’ is deprecated
/sw/include/gcrypt.h:1425: warning: ‘gcry_ac_data_t’ is deprecated
/sw/include/gcrypt.h:1433: warning: ‘gcry_ac_data_t’ is deprecated
/sw/include/gcrypt.h:1440: warning: ‘gcry_ac_data_t’ is deprecated
/sw/include/gcrypt.h:1448: warning: ‘gcry_ac_data_t’ is deprecated
/sw/include/gcrypt.h:1456: warning: ‘gcry_ac_data_t’ is deprecated
/sw/include/gcrypt.h:1463: warning: ‘gcry_ac_data_t’ is deprecated
/sw/include/gcrypt.h:1470: warning: ‘gcry_ac_io_t’ is deprecated
/sw/include/gcrypt.h:1470: warning: ‘gcry_ac_io_mode_t’ is deprecated
/sw/include/gcrypt.h:1471: warning: ‘gcry_ac_io_type_t’ is deprecated
/sw/include/gcrypt.h:1477: warning: ‘gcry_ac_io_t’ is deprecated
/sw/include/gcrypt.h:1477: warning: ‘gcry_ac_io_mode_t’ is deprecated
/sw/include/gcrypt.h:1478: warning: ‘gcry_ac_io_type_t’ is deprecated
/sw/include/gcrypt.h:1482: warning: ‘gcry_ac_handle_t’ is deprecated
/sw/include/gcrypt.h:1483: warning: ‘gcry_ac_id_t’ is deprecated
/sw/include/gcrypt.h:1487: warning: ‘gcry_ac_handle_t’ is deprecated
/sw/include/gcrypt.h:1491: warning: ‘gcry_ac_key_t’ is deprecated
/sw/include/gcrypt.h:1491: warning: ‘gcry_ac_handle_t’ is deprecated
/sw/include/gcrypt.h:1492: warning: ‘gcry_ac_key_type_t’ is deprecated
/sw/include/gcrypt.h:1492: warning: ‘gcry_ac_data_t’ is deprecated
/sw/include/gcrypt.h:1500: warning: ‘gcry_ac_handle_t’ is deprecated
/sw/include/gcrypt.h:1502: warning: ‘gcry_ac_key_pair_t’ is deprecated
/sw/include/gcrypt.h:1507: warning: ‘gcry_ac_key_pair_t’ is deprecated
/sw/include/gcrypt.h:1508: warning: ‘gcry_ac_key_type_t’ is deprecated
/sw/include/gcrypt.h:1512: warning: ‘gcry_ac_key_t’ is deprecated
/sw/include/gcrypt.h:1516: warning: ‘gcry_ac_handle_t’ is deprecated
/sw/include/gcrypt.h:1516: warning: ‘gcry_ac_key_t’ is deprecated
/sw/include/gcrypt.h:1520: warning: ‘gcry_ac_handle_t’ is deprecated
/sw/include/gcrypt.h:1521: warning: ‘gcry_ac_key_t’ is deprecated
/sw/include/gcrypt.h:1526: warning: ‘gcry_ac_handle_t’ is deprecated
/sw/include/gcrypt.h:1526: warning: ‘gcry_ac_key_t’ is deprecated
/sw/include/gcrypt.h:1531: warning: ‘gcry_ac_key_t’ is deprecated
/sw/include/gcrypt.h:1535: warning: ‘gcry_ac_key_pair_t’ is deprecated
/sw/include/gcrypt.h:1541: warning: ‘gcry_ac_em_t’ is deprecated
/sw/include/gcrypt.h:1543: warning: ‘gcry_ac_io_t’ is deprecated
/sw/include/gcrypt.h:1544: warning: ‘gcry_ac_io_t’ is deprecated
/sw/include/gcrypt.h:1550: warning: ‘gcry_ac_em_t’ is deprecated
/sw/include/gcrypt.h:1552: warning: ‘gcry_ac_io_t’ is deprecated
/sw/include/gcrypt.h:1553: warning: ‘gcry_ac_io_t’ is deprecated
/sw/include/gcrypt.h:1559: warning: ‘gcry_ac_handle_t’ is deprecated
/sw/include/gcrypt.h:1561: warning: ‘gcry_ac_key_t’ is deprecated
/sw/include/gcrypt.h:1563: warning: ‘gcry_ac_data_t’ is deprecated
/sw/include/gcrypt.h:1569: warning: ‘gcry_ac_handle_t’ is deprecated
/sw/include/gcrypt.h:1571: warning: ‘gcry_ac_key_t’ is deprecated
/sw/include/gcrypt.h:1573: warning: ‘gcry_ac_data_t’ is deprecated
/sw/include/gcrypt.h:1578: warning: ‘gcry_ac_handle_t’ is deprecated
/sw/include/gcrypt.h:1579: warning: ‘gcry_ac_key_t’ is deprecated
/sw/include/gcrypt.h:1581: warning: ‘gcry_ac_data_t’ is deprecated
/sw/include/gcrypt.h:1587: warning: ‘gcry_ac_handle_t’ is deprecated
/sw/include/gcrypt.h:1588: warning: ‘gcry_ac_key_t’ is deprecated
/sw/include/gcrypt.h:1590: warning: ‘gcry_ac_data_t’ is deprecated
/sw/include/gcrypt.h:1598: warning: ‘gcry_ac_handle_t’ is deprecated
/sw/include/gcrypt.h:1599: warning: ‘gcry_ac_scheme_t’ is deprecated
/sw/include/gcrypt.h:1601: warning: ‘gcry_ac_key_t’ is deprecated
/sw/include/gcrypt.h:1602: warning: ‘gcry_ac_io_t’ is deprecated
/sw/include/gcrypt.h:1603: warning: ‘gcry_ac_io_t’ is deprecated
/sw/include/gcrypt.h:1611: warning: ‘gcry_ac_handle_t’ is deprecated
/sw/include/gcrypt.h:1612: warning: ‘gcry_ac_scheme_t’ is deprecated
/sw/include/gcrypt.h:1614: warning: ‘gcry_ac_key_t’ is deprecated
/sw/include/gcrypt.h:1615: warning: ‘gcry_ac_io_t’ is deprecated
/sw/include/gcrypt.h:1616: warning: ‘gcry_ac_io_t’ is deprecated
/sw/include/gcrypt.h:1624: warning: ‘gcry_ac_handle_t’ is deprecated
/sw/include/gcrypt.h:1625: warning: ‘gcry_ac_scheme_t’ is deprecated
/sw/include/gcrypt.h:1627: warning: ‘gcry_ac_key_t’ is deprecated
/sw/include/gcrypt.h:1628: warning: ‘gcry_ac_io_t’ is deprecated
/sw/include/gcrypt.h:1629: warning: ‘gcry_ac_io_t’ is deprecated
/sw/include/gcrypt.h:1638: warning: ‘gcry_ac_handle_t’ is deprecated
/sw/include/gcrypt.h:1639: warning: ‘gcry_ac_scheme_t’ is deprecated
/sw/include/gcrypt.h:1641: warning: ‘gcry_ac_key_t’ is deprecated
/sw/include/gcrypt.h:1642: warning: ‘gcry_ac_io_t’ is deprecated
/sw/include/gcrypt.h:1643: warning: ‘gcry_ac_io_t’ is deprecated
/sw/include/gcrypt.h:1649: warning: ‘gcry_ac_id_t’ is deprecated
/sw/include/gcrypt.h:1656: warning: ‘gcry_ac_id_t’ is deprecated
command.c: In function ‘cmd_killagent’:
command.c:2313: error: ‘ASSUAN_FORCE_CLOSE’ undeclared (first use in
this function)
command.c:2313: error: (Each undeclared identifier is reported only once
command.c:2313: error: for each function it appears in.)
make[2]: *** [gpg_agent-command.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2



More information about the Gnupg-devel mailing list