Wireshark-dev: [Wireshark-dev] libcrypt: need version 1.1.42 or higher
From: Jeff Morriss <[email protected]>
Date: Tue, 25 Jul 2006 12:50:04 +0800
Hi list,

My first attempt to compile Wireshark 0.99.2 on Solaris 10 failed here:

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./../.. -I./.. -I/usr/local/include "-D_U_=__attribute__((unused))" -Wall -Wpointer-arith -W -g -O2 -Wno-return-type -DFUNCPROTO=15 -I/usr/local/include -I/usr/sfw/include/gtk-1.2 -I/usr/sfw/include/glib-1.2 -I/usr/sfw/lib/glib/include -MT packet-ipsec.lo -MD -MP -MF .deps/packet-ipsec.Tpo -c packet-ipsec.c  -fPIC -DPIC -o packet-ipsec.o
mv -f packet-ipmi.o packet-ipmi.lo
if /bin/bash ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./../.. -I./..  -I/usr/local/include  -D_U_="__attribute__((unused))" -Wall -Wpointer-arith -W  -g -O2 -Wno-return-type -DFUNCPROTO=15 -I/usr/local/include -I/usr/sfw/include/gtk-1.2 -I/usr/sfw/include/glib-1.2 -I/usr/sfw/lib/glib/include -MT packet-ipx.lo -MD -MP -MF ".deps/packet-ipx.Tpo" \
  -c -o packet-ipx.lo `test -f 'packet-ipx.c' || echo './'`packet-ipx.c; \
then mv ".deps/packet-ipx.Tpo" ".deps/packet-ipx.Plo"; \
else rm -f ".deps/packet-ipx.Tpo"; exit 1; \
packet-ipsec.c: In function `dissect_esp':
packet-ipsec.c:1422: error: `gcry_cipher_hd_t' undeclared (first use in this function)
packet-ipsec.c:1422: error: (Each undeclared identifier is reported only once
packet-ipsec.c:1422: error: for each function it appears in.)
[... many other undeclared structure complaints ...]

Apparently Solaris 10 comes with libgcrypt but an old one:

woody [~/wireshark/wireshark-0.99.2/]> libgcrypt-config --version
According to this page:


the 'gcry_cipher_hd_t' structure didn't show up until 1.1.42. Changing the minimum version in "configure.in":
# libgrypt
fixed my compile.  I don't know if a version newer than that is needed, 
but could someone check in at least this change?