Wireshark-bugs: [Wireshark-bugs] [Bug 1677] wireshark-0.99.6 does not compiles with --as-needed
Date: Tue, 16 Sep 2008 08:24:16 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1677 --- Comment #19 from Peter <pva@xxxxxxxxxx> 2008-09-16 08:24:15 PDT --- Created an attachment (id=2241) --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=2241) wireshark-1.1.0--as-needed.patch And this patch fixes above error. But later build fails again: =========================================================================== /bin/sh ./libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc -D_U_="__attribute__((unused))" -O2 -mtune=pentium-m -fomit-frame-pointer -march=pentium-m -pipe -Wall -W -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith -Wno-pointer-sign -Warray-bounds -Wcast-align -I/usr/include -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 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -Wl,--as-needed,-O1,--hash-style=gnu,--sort-common -L/usr/lib -L/usr/local/lib -L/usr/local/lib -o dftest dftest.o util.o wiretap/libwiretap.la wsutil/libwsutil.la epan/libwireshark.la -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/ethercat/ethercat.la -dlopen plugins/giop/cosnaming.la -dlopen plugins/giop/coseventcomm.la -dlopen plugins/gryphon/gryphon.la -dlopen plugins/infiniband/infiniband.la -dlopen plugins/irda/irda.la -dlopen plugins/lwres/lwres.la -dlopen plugins/m2m/m2m.la -dlopen plugins/mate/mate.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/sercosiii/sercosiii.la -dlopen plugins/stats_tree/stats_tree.la -dlopen plugins/unistim/unistim.la -dlopen plugins/v5ua/v5ua.la -dlopen plugins/wimax/wimax.la -lpcre -Wl,--export-dynamic -lgmodule-2.0 -ldl -lglib-2.0 -lm -lpcap -L/usr/lib -lgnutls -L/usr/lib -ltasn1 -lgcrypt -lgpg-error -L/usr/lib -lsmi -lz rm -f .libs/dftest.nm .libs/dftest.nmS .libs/dftest.nmT creating .libs/dftestS.c (cd .libs && i686-pc-linux-gnu-gcc -O2 -mtune=pentium-m -fomit-frame-pointer -march=pentium-m -pipe -c -fno-builtin "dftestS.c") rm -f .libs/dftestS.c .libs/dftest.nm .libs/dftest.nmS .libs/dftest.nmT i686-pc-linux-gnu-gcc "-D_U_=__attribute__((unused))" -O2 -mtune=pentium-m -fomit-frame-pointer -march=pentium-m -pipe -Wall -W -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith -Wno-pointer-sign -Warray-bounds -Wcast-align -I/usr/include -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 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -o .libs/dftest dftest.o util.o .libs/dftestS.o -Wl,--export-dynamic -L/usr/lib -L/usr/local/lib wiretap/.libs/libwiretap.so /vz/portage-tmp/portage/net-analyzer/wireshark-1.1.0/work/wireshark-1.1.0/wsutil/.libs/libwsutil.so wsutil/.libs/libwsutil.so epan/.libs/libwireshark.so /usr/lib/libpcre.so -lbz2 /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so -lm -lpcap /usr/lib/libgnutls.so /usr/lib/libtasn1.so /usr/lib/libgcrypt.so /usr/lib/libgpg-error.so /usr/lib/libsmi.so -lz epan/.libs/libwireshark.so: undefined reference to `wtap_pcap_encap_to_wtap_encap' collect2: ld returned 1 exit status make[2]: *** [dftest] Error 1 make[2]: Leaving directory `/vz/portage-tmp/portage/net-analyzer/wireshark-1.1.0/work/wireshark-1.1.0' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/vz/portage-tmp/portage/net-analyzer/wireshark-1.1.0/work/wireshark-1.1.0' make: *** [all] Error 2 =========================================================================== Which means that either patch (from comment #6 or #7 is still needed). -- Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
- Prev by Date: [Wireshark-bugs] [Bug 1677] wireshark-0.99.6 does not compiles with --as-needed
- Next by Date: [Wireshark-bugs] [Bug 2878] OS X 10.5. 4 - Macbook Air - USB Ethernet Adapter is not recognized as capture interface
- Previous by thread: [Wireshark-bugs] [Bug 1677] wireshark-0.99.6 does not compiles with --as-needed
- Next by thread: [Wireshark-bugs] [Bug 1677] wireshark-0.99.6 does not compiles with --as-needed
- Index(es):