Wireshark-bugs: [Wireshark-bugs] [Bug 5820] New: wireshark 1.5.1: fails to build in Fedora 15 x8
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5820
Summary: wireshark 1.5.1: fails to build in Fedora 15 x86_64
(with gcc 4.6.0)
Product: Wireshark
Version: 1.5.x (Experimental)
Platform: Other
OS/Version: Fedora
Status: NEW
Severity: Major
Priority: Low
Component: Wireshark
AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
ReportedBy: jpo@xxxxxxxxxxxx
Build Information:
$ cat /etc/fedora-release
Fedora release 15 (Lovelock)
$ uname -a
Linux hyperion.office.paradigmaxis.pt 2.6.38.2-9.fc15.x86_64 #1 SMP Wed Mar 30
16:55:57 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
$ gcc --version
gcc (GCC) 4.6.0 20110331 (Red Hat 4.6.0-2)
--
Steps to reproduce the problem:
* ./configure
* make -j 4
Output:
----------
...
make[2]: Entering directory `/home/sandbox/wireshark-1.5.1/wiretap'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
-I./.. -I/usr/local/include
'-DPLUGIN_DIR="/usr/local/lib/wireshark/plugins/1.5.1"' -Werror -DINET6
-D_U_="__attribute__((unused))" -g -O2 -Wall -W -Wextra
-Wdeclaration-after-statement -Wendif-labels -Wpointer-arith -Wno-pointer-sign
-Warray-bounds -Wcast-align -Wformat-security -fexcess-precision=fast
-I/usr/local/include -pthread -I/usr/include/gtk-2.0
-I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2
-I/usr/include/libpng12 -MT libwiretap_la-etherpeek.lo -MD -MP -MF
".deps/libwiretap_la-etherpeek.Tpo" -c -o libwiretap_la-etherpeek.lo `test -f
'etherpeek.c' || echo './'`etherpeek.c; \
then mv -f ".deps/libwiretap_la-etherpeek.Tpo"
".deps/libwiretap_la-etherpeek.Plo"; else rm -f
".deps/libwiretap_la-etherpeek.Tpo"; exit 1; fi
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I/usr/local/include
-DPLUGIN_DIR=\"/usr/local/lib/wireshark/plugins/1.5.1\" -Werror -DINET6
"-D_U_=__attribute__((unused))" -g -O2 -Wall -W -Wextra
-Wdeclaration-after-statement -Wendif-labels -Wpointer-arith -Wno-pointer-sign
-Warray-bounds -Wcast-align -Wformat-security -fexcess-precision=fast
-I/usr/local/include -pthread -I/usr/include/gtk-2.0
-I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2
-I/usr/include/libpng12 -MT libwiretap_la-etherpeek.lo -MD -MP -MF
.deps/libwiretap_la-etherpeek.Tpo -c etherpeek.c -fPIC -DPIC -o
.libs/libwiretap_la-etherpeek.o
etherpeek.c: In function ‘etherpeek_read_v7’:
etherpeek.c:371:9: error: variable ‘flags’ set but not used
[-Werror=unused-but-set-variable]
etherpeek.c:368:10: error: variable ‘protoNum’ set but not used
[-Werror=unused-but-set-variable]
etherpeek.c: In function ‘etherpeek_read_v56’:
etherpeek.c:545:10: error: variable ‘srcNum’ set but not used
[-Werror=unused-but-set-variable]
etherpeek.c:544:10: error: variable ‘destNum’ set but not used
[-Werror=unused-but-set-variable]
etherpeek.c:542:9: error: variable ‘status’ set but not used
[-Werror=unused-but-set-variable]
etherpeek.c:541:9: error: variable ‘flags’ set but not used
[-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
make[2]: *** [libwiretap_la-etherpeek.lo] Error 1
make[2]: Leaving directory `/home/sandbox/wireshark-1.5.1/wiretap'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sandbox/wireshark-1.5.1'
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.