ame-pointer -pipe -Wall -W -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith -Wno-pointer-sign -I/usr/local/include -DPNG_NO_MMX_CODE -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 -I/usr/include/freetype2 -I/usr/include/libpng12 -Wl,-O1 -Wl,--as-needed -o .libs/dftest dftest.o util.o .libs/dftestS.o -Wl,--export-dynamic -L/usr/local/lib wiretap/.libs/libwiretap.so epan/.libs/libwireshark.so -lcrypto /usr/lib/libpcre.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so -lm -lpcap -L/usr/lib /usr/lib/libgnutls.so /usr/lib/libtasn1.so /usr/lib/libgcrypt.so /usr/lib/libgpg-error.so -lz epan/.libs/libwireshark.so: undefined reference to `mpa_samples' epan/.libs/libwireshark.so: undefined reference to `mpa_versions' epan/.libs/libwireshark.so: undefined reference to `mpa_padding' epan/.libs/libwireshark.so: undefined reference to `wtap_pcap_encap_to_wtap_encap' epan/.libs/libwireshark.so: undefined reference to `mpa_frequencies' epan/.libs/libwireshark.so: undefined reference to `mpa_layers' epan/.libs/libwireshark.so: undefined reference to `mpa_bitrates' collect2: ld returned 1 exit status
*** This bug has been marked as a duplicate of bug 184668 ***
Erm... lets dupe this better.
*** This bug has been marked as a duplicate of bug 210998 ***
This as-needed issue was caused by mit-krb5 including --as-needed in it's pkgconfig --libs output (and thus including it in the wrong place). The new bug (bug 210998) seems to have everything in the right place and appears unrelated. I'll let hanno decide what to do with his CCs...
No dup was correct.
In this bug is reported problem with --as-needed which was also reported in bug 184668 and was fixed long time ago. While upstream investigates how to fix that properly, we have this fixed with the following patch: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/wireshark/files/wireshark-0.99.7-asneeded.patch?rev=1.1&view=markup Also this bug has nothing to do with mit-krb5. `mpa_samples' and other functions are from wiretap library. mit-krb5 thing is also tracked in bug 184668. New issue, reported in bug 210998 is completely different and was a regression caused by new build system (wiretap do not have configure script by itself now) and this issue is fixed upstream too. HTH. *** This bug has been marked as a duplicate of bug 184668 ***