Wireshark-bugs: [Wireshark-bugs] [Bug 1677] wireshark-0.99.6 does not compiles with --as-needed

Date: Tue, 16 Sep 2008 08:18:58 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1677


Peter <pva@xxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




--- Comment #18 from Peter <pva@xxxxxxxxxx>  2008-09-16 08:18:57 PDT ---
Well, but some further fixes are still required... Reopening as wireshark-1.1.0
build fails with the following error:
make[2]: Entering directory
`/vz/portage-tmp/portage/net-analyzer/wireshark-1.1.0/work/wireshark-1.1.0'
/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 mergecap  mergecap.o merge.o wiretap/libwiretap.la
wsutil/libwsutil.la -Wl,--export-dynamic -lgmodule-2.0 -ldl -lglib-2.0   -lz
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/mergecap mergecap.o merge.o -Wl,--export-dynamic 
-L/usr/lib -L/usr/local/lib wiretap/.libs/libwiretap.so
wsutil/.libs/libwsutil.so /usr/lib/libgmodule-2.0.so -ldl
/usr/lib/libglib-2.0.so -lz
wiretap/.libs/libwiretap.so: undefined reference to `mpa_padding'
wiretap/.libs/libwiretap.so: undefined reference to `mpa_layer'
wiretap/.libs/libwiretap.so: undefined reference to `ascii_strdown_inplace'
wiretap/.libs/libwiretap.so: undefined reference to `mpa_frequency'
wiretap/.libs/libwiretap.so: undefined reference to `ascii_strup_inplace'
wiretap/.libs/libwiretap.so: undefined reference to `mpa_version'
wiretap/.libs/libwiretap.so: undefined reference to `mpa_samples'
wiretap/.libs/libwiretap.so: undefined reference to `mpa_bitrate'
collect2: ld returned 1 exit status
make[2]: *** [mergecap] 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


-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.