Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] wireshark fails. undefined reference to ****
Date: Wed, 27 Jul 2011 09:36:01
Message-Id: 4E2FDBA4.8090306@gmail.com
1 Is anyone else running into this:
2
3 libtool: link: x86_64-pc-linux-gnu-gcc -DINET6
4 "-D_U_=__attribute__((unused))" -march=native -O2 -pipe -Wall -W -Wextra
5 -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith
6 -Wno-pointer-sign -Warray-bounds -Wcast-align -Wformat-security
7 -I/usr/include -I/usr/local/include -pthread -I/usr/include/gtk-2.0
8 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
9 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0
10 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
11 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14
12 -I/usr/include/libdrm -I/usr/include -Wl,-O1 -Wl,--as-needed
13 -Wl,--as-needed -o .libs/rawshark rawshark-capture-pcap-util-unix.o
14 rawshark-capture-pcap-util.o rawshark-cfile.o rawshark-clopts_common.o
15 rawshark-disabled_protos.o rawshark-packet-range.o rawshark-print.o
16 rawshark-ps.o rawshark-sync_pipe_write.o rawshark-timestats.o
17 rawshark-util.o rawshark-tap-megaco-common.o rawshark-tap-rtp-common.o
18 rawshark-version_info.o rawshark-rawshark.o .libs/rawsharkS.o
19 -Wl,--export-dynamic -pthread -Wl,-rpath -Wl,/usr/lib64
20 -Wl,--export-dynamic -L/usr/lib -L/usr/local/lib
21 wiretap/.libs/libwiretap.so epan/.libs/libwireshark.so
22 wsutil/.libs/libwsutil.so /usr/lib64/libgmodule-2.0.so -lrt
23 /usr/lib64/libglib-2.0.so -lm -L/usr/lib64 -lpcap
24 /usr/lib64/libgnutls.so -lz -pthread
25 epan/.libs/libwireshark.so: undefined reference to `gcry_md_map_name'
26 epan/.libs/libwireshark.so: undefined reference to `gcry_md_close'
27 epan/.libs/libwireshark.so: undefined reference to `gcry_cipher_setiv'
28 epan/.libs/libwireshark.so: undefined reference to
29 `gcry_cipher_get_algo_keylen'
30 epan/.libs/libwireshark.so: undefined reference to
31 `gcry_cipher_get_algo_blklen'
32 epan/.libs/libwireshark.so: undefined reference to `gcry_md_read'
33 epan/.libs/libwireshark.so: undefined reference to `gcry_pk_decrypt'
34 epan/.libs/libwireshark.so: undefined reference to `gcry_strsource'
35 epan/.libs/libwireshark.so: undefined reference to `gcry_sexp_sprint'
36 epan/.libs/libwireshark.so: undefined reference to `gcry_md_get_algo'
37 epan/.libs/libwireshark.so: undefined reference to `gcry_cipher_setkey'
38 epan/.libs/libwireshark.so: undefined reference to `gcry_cipher_map_name'
39 epan/.libs/libwireshark.so: undefined reference to `gcry_mpi_scan'
40 epan/.libs/libwireshark.so: undefined reference to `gcry_md_setkey'
41 epan/.libs/libwireshark.so: undefined reference to `gcry_md_get_algo_dlen'
42 epan/.libs/libwireshark.so: undefined reference to `gcry_sexp_release'
43 epan/.libs/libwireshark.so: undefined reference to `gcry_md_write'
44 epan/.libs/libwireshark.so: undefined reference to `gcry_strerror'
45 epan/.libs/libwireshark.so: undefined reference to `gcry_mpi_print'
46 epan/.libs/libwireshark.so: undefined reference to `gcry_cipher_open'
47 epan/.libs/libwireshark.so: undefined reference to `gcry_cipher_close'
48 epan/.libs/libwireshark.so: undefined reference to `gcry_cipher_decrypt'
49 epan/.libs/libwireshark.so: undefined reference to `gcry_sexp_build'
50 epan/.libs/libwireshark.so: undefined reference to `gcry_sexp_nth_mpi'
51 epan/.libs/libwireshark.so: undefined reference to `gcry_md_open'
52 epan/.libs/libwireshark.so: undefined reference to `gcry_mpi_release'
53 collect2: ld returned 1 exit status
54 make[2]: *** [dftest] Error 1
55 epan/.libs/libwireshark.so: undefined reference to `gcry_md_map_name'
56 epan/.libs/libwireshark.so: undefined reference to `gcry_md_close'
57 epan/.libs/libwireshark.so: undefined reference to `gcry_cipher_setiv'
58 epan/.libs/libwireshark.so: undefined reference to
59 `gcry_cipher_get_algo_keylen'
60 epan/.libs/libwireshark.so: undefined reference to
61 `gcry_cipher_get_algo_blklen'
62 epan/.libs/libwireshark.so: undefined reference to `gcry_md_read'
63 epan/.libs/libwireshark.so: undefined reference to `gcry_pk_decrypt'
64 epan/.libs/libwireshark.so: undefined reference to `gcry_strsource'
65 epan/.libs/libwireshark.so: undefined reference to `gcry_sexp_sprint'
66 epan/.libs/libwireshark.so: undefined reference to `gcry_md_get_algo'
67 epan/.libs/libwireshark.so: undefined reference to `gcry_cipher_setkey'
68 epan/.libs/libwireshark.so: undefined reference to `gcry_cipher_map_name'
69 epan/.libs/libwireshark.so: undefined reference to `gcry_mpi_scan'
70 epan/.libs/libwireshark.so: undefined reference to `gcry_md_setkey'
71 epan/.libs/libwireshark.so: undefined reference to `gcry_md_get_algo_dlen'
72 epan/.libs/libwireshark.so: undefined reference to `gcry_sexp_release'
73 epan/.libs/libwireshark.so: undefined reference to `gcry_md_write'
74 epan/.libs/libwireshark.so: undefined reference to `gcry_strerror'
75 epan/.libs/libwireshark.so: undefined reference to `gcry_mpi_print'
76 epan/.libs/libwireshark.so: undefined reference to `gcry_cipher_open'
77 epan/.libs/libwireshark.so: undefined reference to `gcry_cipher_close'
78 epan/.libs/libwireshark.so: undefined reference to `gcry_cipher_decrypt'
79 epan/.libs/libwireshark.so: undefined reference to `gcry_sexp_build'
80 epan/.libs/libwireshark.so: undefined reference to `gcry_sexp_nth_mpi'
81 epan/.libs/libwireshark.so: undefined reference to `gcry_md_open'
82 epan/.libs/libwireshark.so: undefined reference to `gcry_mpi_release'
83 collect2: ld returned 1 exit status
84 make[2]: *** [rawshark] Error 1
85 epan/.libs/libwireshark.so: undefined reference to `gcry_strsource'
86 epan/.libs/libwireshark.so: undefined reference to `gcry_md_open'
87 epan/.libs/libwireshark.so: undefined reference to `gcry_cipher_open'
88 epan/.libs/libwireshark.so: undefined reference to `gcry_md_setkey'
89 epan/.libs/libwireshark.so: undefined reference to `gcry_cipher_map_name'
90 epan/.libs/libwireshark.so: undefined reference to `gcry_strerror'
91 epan/.libs/libwireshark.so: undefined reference to `gcry_md_read'
92 epan/.libs/libwireshark.so: undefined reference to `gcry_md_close'
93 epan/.libs/libwireshark.so: undefined reference to `gcry_md_get_algo_dlen'
94 epan/.libs/libwireshark.so: undefined reference to `gcry_sexp_nth_mpi'
95 epan/.libs/libwireshark.so: undefined reference to `gcry_md_map_name'
96 epan/.libs/libwireshark.so: undefined reference to `gcry_pk_decrypt'
97 epan/.libs/libwireshark.so: undefined reference to `gcry_cipher_decrypt'
98 epan/.libs/libwireshark.so: undefined reference to `gcry_md_write'
99 epan/.libs/libwireshark.so: undefined reference to `gcry_sexp_release'
100 epan/.libs/libwireshark.so: undefined reference to `gcry_md_get_algo'
101 epan/.libs/libwireshark.so: undefined reference to
102 `gcry_cipher_get_algo_blklen'
103 epan/.libs/libwireshark.so: undefined reference to `gcry_cipher_setiv'
104 epan/.libs/libwireshark.so: undefined reference to
105 `gcry_cipher_get_algo_keylen'
106 epan/.libs/libwireshark.so: undefined reference to `gcry_cipher_close'
107 epan/.libs/libwireshark.so: undefined reference to `gcry_cipher_setkey'
108 epan/.libs/libwireshark.so: undefined reference to `gcry_mpi_release'
109 epan/.libs/libwireshark.so: undefined reference to `gcry_mpi_scan'
110 epan/.libs/libwireshark.so: undefined reference to `gcry_sexp_sprint'
111 epan/.libs/libwireshark.so: undefined reference to `gcry_mpi_print'
112 epan/.libs/libwireshark.so: undefined reference to `gcry_sexp_build'
113 collect2: ld returned 1 exit status
114 make[2]: *** [wireshark] Error 1
115 make[2]: Leaving directory
116 `/var/tmp/portage/net-analyzer/wireshark-1.4.8/work/wireshark-1.4.8'
117 make[1]: *** [all-recursive] Error 1
118 make[1]: Leaving directory
119 `/var/tmp/portage/net-analyzer/wireshark-1.4.8/work/wireshark-1.4.8'
120 make: *** [all] Error 2
121 emake failed
122 * ERROR: net-analyzer/wireshark-1.4.8 failed (compile phase):
123 * (no error message)
124 *
125 * Call stack:
126 * ebuild.sh, line 56: Called src_compile
127 * environment, line 5668: Called die
128 * The specific snippet of code:
129 * emake || die;
130 *
131 * If you need support, post the output of 'emerge --info
132 =net-analyzer/wireshark-1.4.8',
133 * the complete build log and the output of 'emerge -pqv
134 =net-analyzer/wireshark-1.4.8'.
135 * The complete build log is located at
136 '/var/log/portage/net-analyzer:wireshark-1.4.8:20110726-232304.log'.
137 * The ebuild environment file is located at
138 '/var/tmp/portage/net-analyzer/wireshark-1.4.8/temp/environment'.
139 * S: '/var/tmp/portage/net-analyzer/wireshark-1.4.8/work/wireshark-1.4.8'
140
141 >>> Failed to emerge net-analyzer/wireshark-1.4.8, Log file:
142
143 >>> '/var/log/portage/net-analyzer:wireshark-1.4.8:20110726-232304.log'
144 root@fireball / #
145
146 There are many more of those but they are about the same. I have tried
147 two different versions of gcc. I found that usually fixes it when I
148 googled. That doesn't work here. This is the two versions I have tried:
149
150 root@fireball / # gcc-config -l
151 [1] x86_64-pc-linux-gnu-4.4.5
152 [2] x86_64-pc-linux-gnu-4.5.2 *
153 root@fireball / #
154
155 Any thoughts? Bug maybe?
156
157 Dale
158
159 :-) :-)

Replies

Subject Author
Re: [gentoo-user] wireshark fails. undefined reference to **** Todd Goodman <tsg@×××××××××.net>