Wireshark-dev: [Wireshark-dev] [libdissectors_la-packet-dtls.lo] Error 1 on Mac OSX Lion
From: Flavio Pace <flavio.pace@xxxxxxxxx>
Date: Tue, 25 Oct 2011 09:07:04 +0200
When i try to compile Wireshark rev. 37286 ( but also the last ) on my Mac OSX Lion 10.7.2

Darwin  11.2.0 Darwin Kernel Version 11.2.0: Tue Aug  9 20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64 x86_64

llvm-gcc-4.2

I have this problem:

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I./../.. -I./.. -I/opt/local/include -I/opt/local/include -I/usr/local/include -DPLUGIN_DIR=\"/usr/local/lib/wireshark/plugins/1.7.0\" -Werror -DINET6 -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DGSEAL_ENABLE -DGTK_DISABLE_DEPRECATED -DGTK_DISABLE_SINGLE_INCLUDES -no-cpp-precomp -D_FORTIFY_SOURCE=2 "-D_U_=__attribute__((unused))" -O0 -pipe -Wall -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith -Wno-pointer-sign -Wcast-align -Wformat-security -Wold-style-definition -I/usr/local/include -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng14 -MT libdissectors_la-packet-dtls.lo -MD -MP -MF .deps/libdissectors_la-packet-dtls.Tpo -c packet-dtls.c  -fno-common -DPIC -o .libs/libdissectors_la-packet-dtls.o
libtool: link: ar cru .libs/libdirtydissectors.a .libs/packet-ansi_map.o .libs/packet-gnm.o .libs/packet-gprscdr.o .libs/packet-gsm_map.o .libs/packet-ldap.o .libs/packet-lpp.o .libs/packet-lte-rrc.o .libs/packet-nbap.o .libs/packet-p1.o .libs/packet-pcap.o .libs/packet-pkcs12.o .libs/packet-pres.o .libs/packet-rnsap.o .libs/packet-rrc.o .libs/packet-rrlp.o .libs/packet-snmp.o .libs/packet-t124.o .libs/packet-t125.o .libs/packet-tcap.o .libs/packet-tetra.o .libs/packet-dcerpc-dnsserver.o .libs/packet-dcerpc-eventlog.o .libs/packet-dcerpc-lsa.o .libs/packet-dcerpc-winreg.o 
cc1: warnings being treated as errors
In file included from packet-ssl-utils.h:36,
                 from packet-dtls.c:76:
/opt/local/include/gcrypt.h:1336: warning: 'gcry_ac_io_mode_t' is deprecated
/opt/local/include/gcrypt.h:1337: warning: 'gcry_ac_io_type_t' is deprecated
/opt/local/include/gcrypt.h:1344: warning: 'gcry_ac_data_read_cb_t' is deprecated
/opt/local/include/gcrypt.h:1358: warning: 'gcry_ac_data_write_cb_t' is deprecated
/opt/local/include/gcrypt.h:1393: warning: 'gcry_md_algo_t' is deprecated
/opt/local/include/gcrypt.h:1401: warning: 'gcry_md_algo_t' is deprecated
/opt/local/include/gcrypt.h:1407: warning: 'gcry_ac_data_t' is deprecated
/opt/local/include/gcrypt.h:1411: warning: 'gcry_ac_data_t' is deprecated
/opt/local/include/gcrypt.h:1415: warning: 'gcry_ac_data_t' is deprecated
/opt/local/include/gcrypt.h:1416: warning: 'gcry_ac_data_t' is deprecated
/opt/local/include/gcrypt.h:1421: warning: 'gcry_ac_data_t' is deprecated
/opt/local/include/gcrypt.h:1425: warning: 'gcry_ac_data_t' is deprecated
/opt/local/include/gcrypt.h:1433: warning: 'gcry_ac_data_t' is deprecated
/opt/local/include/gcrypt.h:1440: warning: 'gcry_ac_data_t' is deprecated
/opt/local/include/gcrypt.h:1448: warning: 'gcry_ac_data_t' is deprecated
/opt/local/include/gcrypt.h:1456: warning: 'gcry_ac_data_t' is deprecated
/opt/local/include/gcrypt.h:1463: warning: 'gcry_ac_data_t' is deprecated
/opt/local/include/gcrypt.h:1470: warning: 'gcry_ac_io_t' is deprecated
/opt/local/include/gcrypt.h:1470: warning: 'gcry_ac_io_mode_t' is deprecated
/opt/local/include/gcrypt.h:1471: warning: 'gcry_ac_io_type_t' is deprecated
/opt/local/include/gcrypt.h:1477: warning: 'gcry_ac_io_t' is deprecated
/opt/local/include/gcrypt.h:1477: warning: 'gcry_ac_io_mode_t' is deprecated
/opt/local/include/gcrypt.h:1478: warning: 'gcry_ac_io_type_t' is deprecated
/opt/local/include/gcrypt.h:1482: warning: 'gcry_ac_handle_t' is deprecated
/opt/local/include/gcrypt.h:1483: warning: 'gcry_ac_id_t' is deprecated
/opt/local/include/gcrypt.h:1487: warning: 'gcry_ac_handle_t' is deprecated
/opt/local/include/gcrypt.h:1491: warning: 'gcry_ac_key_t' is deprecated
/opt/local/include/gcrypt.h:1491: warning: 'gcry_ac_handle_t' is deprecated
/opt/local/include/gcrypt.h:1492: warning: 'gcry_ac_key_type_t' is deprecated
/opt/local/include/gcrypt.h:1492: warning: 'gcry_ac_data_t' is deprecated
/opt/local/include/gcrypt.h:1500: warning: 'gcry_ac_handle_t' is deprecated
/opt/local/include/gcrypt.h:1502: warning: 'gcry_ac_key_pair_t' is deprecated
/opt/local/include/gcrypt.h:1507: warning: 'gcry_ac_key_pair_t' is deprecated
/opt/local/include/gcrypt.h:1508: warning: 'gcry_ac_key_type_t' is deprecated
/opt/local/include/gcrypt.h:1512: warning: 'gcry_ac_key_t' is deprecated
/opt/local/include/gcrypt.h:1516: warning: 'gcry_ac_handle_t' is deprecated
/opt/local/include/gcrypt.h:1516: warning: 'gcry_ac_key_t' is deprecated
/opt/local/include/gcrypt.h:1520: warning: 'gcry_ac_handle_t' is deprecated
/opt/local/include/gcrypt.h:1521: warning: 'gcry_ac_key_t' is deprecated
/opt/local/include/gcrypt.h:1526: warning: 'gcry_ac_handle_t' is deprecated
/opt/local/include/gcrypt.h:1526: warning: 'gcry_ac_key_t' is deprecated
/opt/local/include/gcrypt.h:1531: warning: 'gcry_ac_key_t' is deprecated
/opt/local/include/gcrypt.h:1535: warning: 'gcry_ac_key_pair_t' is deprecated
/opt/local/include/gcrypt.h:1541: warning: 'gcry_ac_em_t' is deprecated
/opt/local/include/gcrypt.h:1543: warning: 'gcry_ac_io_t' is deprecated
/opt/local/include/gcrypt.h:1544: warning: 'gcry_ac_io_t' is deprecated
/opt/local/include/gcrypt.h:1550: warning: 'gcry_ac_em_t' is deprecated
/opt/local/include/gcrypt.h:1552: warning: 'gcry_ac_io_t' is deprecated
/opt/local/include/gcrypt.h:1553: warning: 'gcry_ac_io_t' is deprecated
/opt/local/include/gcrypt.h:1559: warning: 'gcry_ac_handle_t' is deprecated
/opt/local/include/gcrypt.h:1561: warning: 'gcry_ac_key_t' is deprecated
/opt/local/include/gcrypt.h:1563: warning: 'gcry_ac_data_t' is deprecated
/opt/local/include/gcrypt.h:1569: warning: 'gcry_ac_handle_t' is deprecated
/opt/local/include/gcrypt.h:1571: warning: 'gcry_ac_key_t' is deprecated
/opt/local/include/gcrypt.h:1573: warning: 'gcry_ac_data_t' is deprecated
/opt/local/include/gcrypt.h:1578: warning: 'gcry_ac_handle_t' is deprecated
/opt/local/include/gcrypt.h:1579: warning: 'gcry_ac_key_t' is deprecated
/opt/local/include/gcrypt.h:1581: warning: 'gcry_ac_data_t' is deprecated
/opt/local/include/gcrypt.h:1587: warning: 'gcry_ac_handle_t' is deprecated
/opt/local/include/gcrypt.h:1588: warning: 'gcry_ac_key_t' is deprecated
/opt/local/include/gcrypt.h:1590: warning: 'gcry_ac_data_t' is deprecated
/opt/local/include/gcrypt.h:1598: warning: 'gcry_ac_handle_t' is deprecated
/opt/local/include/gcrypt.h:1599: warning: 'gcry_ac_scheme_t' is deprecated
/opt/local/include/gcrypt.h:1601: warning: 'gcry_ac_key_t' is deprecated
/opt/local/include/gcrypt.h:1602: warning: 'gcry_ac_io_t' is deprecated
/opt/local/include/gcrypt.h:1603: warning: 'gcry_ac_io_t' is deprecated
/opt/local/include/gcrypt.h:1611: warning: 'gcry_ac_handle_t' is deprecated
/opt/local/include/gcrypt.h:1612: warning: 'gcry_ac_scheme_t' is deprecated
/opt/local/include/gcrypt.h:1614: warning: 'gcry_ac_key_t' is deprecated
/opt/local/include/gcrypt.h:1615: warning: 'gcry_ac_io_t' is deprecated
/opt/local/include/gcrypt.h:1616: warning: 'gcry_ac_io_t' is deprecated
/opt/local/include/gcrypt.h:1624: warning: 'gcry_ac_handle_t' is deprecated
/opt/local/include/gcrypt.h:1625: warning: 'gcry_ac_scheme_t' is deprecated
/opt/local/include/gcrypt.h:1627: warning: 'gcry_ac_key_t' is deprecated
/opt/local/include/gcrypt.h:1628: warning: 'gcry_ac_io_t' is deprecated
/opt/local/include/gcrypt.h:1629: warning: 'gcry_ac_io_t' is deprecated
/opt/local/include/gcrypt.h:1638: warning: 'gcry_ac_handle_t' is deprecated
/opt/local/include/gcrypt.h:1639: warning: 'gcry_ac_scheme_t' is deprecated
/opt/local/include/gcrypt.h:1641: warning: 'gcry_ac_key_t' is deprecated
/opt/local/include/gcrypt.h:1642: warning: 'gcry_ac_io_t' is deprecated
/opt/local/include/gcrypt.h:1643: warning: 'gcry_ac_io_t' is deprecated
/opt/local/include/gcrypt.h:1649: warning: 'gcry_ac_id_t' is deprecated
/opt/local/include/gcrypt.h:1656: warning: 'gcry_ac_id_t' is deprecated
make[5]: *** [libdissectors_la-packet-dtls.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
libtool: link: ranlib .libs/libdirtydissectors.a
libtool: link: ( cd ".libs" && rm -f "libdirtydissectors.la" && ln -s "../libdirtydissectors.la" "libdirtydissectors.la" )
make[4]: *** [all-recursive] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Thanks so much

Flavio Pace