Wireshark-bugs: [Wireshark-bugs] [Bug 1689] New: compilation fail if you have libgcrypt installe
Date: Mon, 16 Jul 2007 18:52:32 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1689

           Summary: compilation fail if you have libgcrypt installed.
           Product: Wireshark
           Version: 0.99.6
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: pva@xxxxxxxxxx


Build Information:
this is build problem
--
Hello.

If you have libgcrypt installed but do not have gnutls compilation fails with
the following error:

if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.  -I. -I./wiretap  
-I/usr/local/include  -D_U_="__attribute__((unused))" -O -march=i686 -pipe
-mtune=i686 -Wall -W -Wdeclaration-after-statement -Wendif-labels
-Wpointer-arith -Wno-pointer-sign -I/usr/local/include -pthread
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include   -MT summary.o -MD -MP -MF ".deps/summary.Tpo" -c
-o summary.o summary.c; \
        then mv -f ".deps/summary.Tpo" ".deps/summary.Po"; else rm -f
".deps/summary.Tpo"; exit 1; fi
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.  -I. -I./wiretap  
-I/usr/local/include  -D_U_="__attribute__((unused))" -O -march=i686 -pipe
-mtune=i686 -Wall -W -Wdeclaration-after-statement -Wendif-labels
-Wpointer-arith -Wno-pointer-sign -I/usr/local/include -pthread
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include   -MT tempfile.o -MD -MP -MF ".deps/tempfile.Tpo"
-c -o tempfile.o tempfile.c; \
        then mv -f ".deps/tempfile.Tpo" ".deps/tempfile.Po"; else rm -f
".deps/tempfile.Tpo"; exit 1; fi
/bin/sh ./libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc 
-D_U_="__attribute__((unused))" -O -march=i686 -pipe -mtune=i686 -Wall -W
-Wdeclaration-after-statement -Wendif-labels -Wpointer-arith -Wno-pointer-sign
-I/usr/local/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -Wl,--as-needed
-L/usr/local/lib -o wireshark -export-dynamic 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 airpcap_loader.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  gtk/libui.a codecs/libcodec.a
wiretap/libwiretap.la epan/libwireshark.la -lcrypto -dlopen
plugins/agentx/agentx.la -dlopen plugins/artnet/artnet.la -dlopen
plugins/asn1/asn1.la -dlopen plugins/ciscosm/ciscosm.la -dlopen
plugins/docsis/docsis.la -dlopen plugins/enttec/enttec.la -dlopen
plugins/giop/cosnaming.la -dlopen plugins/giop/coseventcomm.la -dlopen
plugins/gryphon/gryphon.la -dlopen plugins/h223/h223.la -dlopen
plugins/irda/irda.la -dlopen plugins/lwres/lwres.la -dlopen plugins/m2m/m2m.la
-dlopen plugins/mate/mate.la -dlopen plugins/mgcp/mgcp.la -dlopen
plugins/opcua/opcua.la -dlopen plugins/opsi/opsi.la -dlopen
plugins/pcli/pcli.la -dlopen plugins/profinet/profinet.la -dlopen
plugins/rlm/rlm.la -dlopen plugins/rtnet/rtnet.la -dlopen plugins/rudp/rudp.la
-dlopen plugins/sbus/sbus.la -dlopen plugins/stats_tree/stats_tree.la -dlopen
plugins/v5ua/v5ua.la -dlopen plugins/wimax/wimax.la -lpcre -lpcap -pthread
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0
-lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lrt
-lglib-2.0 -lgcrypt -lgpg-error  -lz
mkdir .libs
rm -f .libs/wireshark.nm .libs/wireshark.nmS .libs/wireshark.nmT
creating .libs/wiresharkS.c
(cd .libs && i686-pc-linux-gnu-gcc  -O -march=i686 -pipe -mtune=i686 -c
-fno-builtin "wiresharkS.c")
rm -f .libs/wiresharkS.c .libs/wireshark.nm .libs/wireshark.nmS
.libs/wireshark.nmT
i686-pc-linux-gnu-gcc "-D_U_=__attribute__((unused))" -O -march=i686 -pipe
-mtune=i686 -Wall -W -Wdeclaration-after-statement -Wendif-labels
-Wpointer-arith -Wno-pointer-sign -I/usr/local/include -pthread
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -Wl,--as-needed -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 airpcap_loader.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 -pthread -Wl,--export-dynamic 
-L/usr/local/lib gtk/libui.a codecs/libcodec.a wiretap/.libs/libwiretap.so
epan/.libs/libwireshark.so -lcrypto /usr/lib/libpcre.so -lpcap
/usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so
/usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangocairo-1.0.so
/usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libgobject-2.0.so
/usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgthread-2.0.so -lrt
/usr/lib/libglib-2.0.so /usr/lib/libgcrypt.so /usr/lib/libgpg-error.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 `gcry_check_version'
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 завершилось с кодом
возврата 1
make[2]: *** [wireshark] Error 1
make[2]: Leaving directory
`/var/tmp/portage/net-analyzer/wireshark-0.99.6/work/wireshark-0.99.6'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/net-analyzer/wireshark-0.99.6/work/wireshark-0.99.6'
make: *** [all] Error 2


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.