Mikael Odelstad (KI/EAB) wrote: > Hi! > Today I tried to make wireshark-0.99.2, and it failed, see attached log. > Yesterday I succesfully maked ethereal-0.99.0. > > Can anyone see why the build of wireshark-0.99.2 failed?
[...] > > creating .libs/wiresharkS.c > (cd .libs && gcc -c -fno-builtin "wiresharkS.c") > rm -f .libs/wiresharkS.c .libs/wireshark.nm .libs/wireshark.nmS > .libs/wireshark.nmT > gcc -DINET6 "-D_U_=__attribute__((unused))" -Wall -Wpointer-arith -W -g -O2 > -I/usr/local/include -I/opt/gnome/include/gtk-2.0 > -I/opt/gnome/lib/gtk-2.0/include -I/opt/gnome/include/atk-1.0 > -I/opt/gnome/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 > -I/usr/include/freetype2/config -I/opt/gnome/include/glib-2.0 > -I/opt/gnome/lib/glib-2.0/include -o .libs/wireshark capture-pcap-util-unix.o > capture_errs.o capture-pcap-util.o capture_stop_conditions.o > capture_ui_utils.o cfile.o clopts_common.o conditions.o disabled_protos.o > packet-range.o print.o ps.o pcapio.o ringbuffer.o timestats.o util.o > version_info.o alert_box.o capture.o capture_info.o capture_opts.o > capture_sync.o color_filters.o file.o fileset.o filters.o g711.o merge.o > proto_hier_stats.o sync_pipe_write.o summary.o tempfile.o .libs/wiresharkS.o > -Wl,--export-dynamic -Wl,--export-dynamic -L/usr/local/lib gtk/libui.a > wiretap/.libs/libwiretap.so -L/opt/gnome/lib epan/.libs/libwireshark.so > /usr/lib/libpcre. so -lpcap -pthread /opt/gnome/lib/libgtk-x11-2.0.so /opt/gnome/lib/libgdk-x11-2.0.so /opt/gnome/lib/libatk-1.0.so /opt/gnome/lib/libgdk_pixbuf-2.0.so -lm /opt/gnome/lib/libpangoxft-1.0.so /opt/gnome/lib/libpangox-1.0.so /opt/gnome/lib/libpango-1.0.so /opt/gnome/lib/libgobject-2.0.so /opt/gnome/lib/libgmodule-2.0.so -ldl /opt/gnome/lib/libgthread-2.0.so -lpthread /opt/gnome/lib/libglib-2.0.so -lz > epan/.libs/libwireshark.so: undefined reference to `gcry_md_get_algo_dlen' > epan/.libs/libwireshark.so: undefined reference to `gcry_md_close' > epan/.libs/libwireshark.so: undefined reference to `gcry_md_read' > epan/.libs/libwireshark.so: undefined reference to `gcry_md_setkey' > epan/.libs/libwireshark.so: undefined reference to > `gcry_cipher_get_algo_keylen' > epan/.libs/libwireshark.so: undefined reference to `gcry_control' > epan/.libs/libwireshark.so: undefined reference to `gcry_md_write' > epan/.libs/libwireshark.so: undefined reference to `gcry_cipher_open' > epan/.libs/libwireshark.so: undefined reference to `gcry_cipher_ctl' > epan/.libs/libwireshark.so: undefined reference to `gcry_cipher_close' > epan/.libs/libwireshark.so: undefined reference to `gcry_md_open' > epan/.libs/libwireshark.so: undefined reference to `gcry_md_algo_name' > epan/.libs/libwireshark.so: undefined reference to `gpg_strerror' > epan/.libs/libwireshark.so: undefined reference to `gcry_cipher_decrypt' > epan/.libs/libwireshark.so: undefined reference to `gcry_cipher_algo_name' > collect2: ld returned 1 exit status > make[2]: *** [wireshark] Error 1 > make[2]: Leaving directory `/usr/src/wireshark-0.99.2' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/src/wireshark-0.99.2' > make: *** [all] Error 2 Looks like you don't have TLS installed but you do have the gcrypt library installed. You're running into bug 1006: http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1006 There's a (source) patch for the problem attached to that bug report. I think there may also be a 'configure' option to not use the gcrypt library but I'm not sure. _______________________________________________ Wireshark-users mailing list [email protected] http://www.wireshark.org/mailman/listinfo/wireshark-users
