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; \
fi
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
1.1.12
According to this page:
http://lists.gnupg.org/pipermail/gnupg-announce/2003q3/000155.html
the 'gcry_cipher_hd_t' structure didn't show up until 1.1.42. Changing
the minimum version in "configure.in":
# libgrypt
AM_PATH_LIBGCRYPT(1.1.42,
fixed my compile. I don't know if a version newer than that is needed,
but could someone check in at least this change?
Regards,
-Jeff