http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1677
Summary: wireshark-0.99.6 does not compiles with --as-needed
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
--
With LD_FLAGS="--as-needed" build process dies with the following errors:
i686-pc-linux-gnu-gcc -DINET6 "-D_U_=__attribute__((unused))" -mtune=prescott
-march=prescott -O -fomit-frame-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 -DNETSNMP_ENABLE_IPV6
-mtune=prescott -march=prescott -O2 -pipe -Ulinux -Dlinux=linux -I.
-I/usr/include -o .libs/dftest dftest.o util.o .libs/dftestS.o
-Wl,--export-dynamic -Wl,-rpath -Wl,/usr/lib -DINET6
"-D_U_=__attribute__((unused))" -mtune=prescott -march=prescott -O
-fomit-frame-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 -DNETSNMP_ENABLE_IPV6 -mtune=prescott -march=prescott
-O2 -pipe -Ulinux -Dlinux=linux -I. -I/usr/include -Wl,--as-needed
-L/usr/local/lib wiretap/.libs/libwiretap.so epan/.libs/libwireshark.so
-L/usr/lib /usr/lib/libnetsnmp.so -lwrap -lcrypto /usr/lib/libpcre.so
/usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so -lm -lpcap -lkrb5 -lk5crypto
-lcom_err -lresolv -ldl /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
make[2]: *** [dftest] 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
This seems to be regression as 0.99.5 compiled here without any problems. Error
was initially reported here: http://bugs.gentoo.org/184798 and reproduced on my
system:
gcc-4.1.2, glibc-2.5-r4, 2.6.19-gentoo-r7-suspend2 i686
sys-devel/autoconf: 2.61
sys-devel/automake: 1.10
sys-devel/libtool: 1.5.24
--
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.