Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 184798 - net-analyzer/wireshark-0.99.6: fails with --as-needed
Summary: net-analyzer/wireshark-0.99.6: fails with --as-needed
Status: RESOLVED DUPLICATE of bug 184668
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-10 01:09 UTC by Hanno Böck
Modified: 2008-02-23 10:11 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hanno Böck gentoo-dev 2007-07-10 01:09:07 UTC
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
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2007-07-10 11:06:45 UTC

*** This bug has been marked as a duplicate of bug 184668 ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2008-02-21 17:05:30 UTC
Erm... lets dupe this better.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2008-02-21 17:05:47 UTC

*** This bug has been marked as a duplicate of bug 210998 ***
Comment 4 Mike Auty (RETIRED) gentoo-dev 2008-02-21 17:37:59 UTC
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...
Comment 5 Peter Volkov (RETIRED) gentoo-dev 2008-02-23 10:04:32 UTC
No dup was correct.
Comment 6 Peter Volkov (RETIRED) gentoo-dev 2008-02-23 10:11:16 UTC
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 ***