Hi,
Try revision 37617.
/Anders
-----Original Message-----
From: wireshark-users-bounces@xxxxxxxxxxxxx [mailto:wireshark-users-bounces@xxxxxxxxxxxxx] On Behalf Of Aamer Akhter
Sent: den 8 juni 2011 07:04
To: wireshark-users@xxxxxxxxxxxxx
Subject: [Wireshark-users] build issue on new ubuntu machine prefs_dlg.c: In function ?pref_check?
Hi Folks,
I'm having some build issues on a machine that I haven't built wireshark on. The usual script I use is:
svn co http://anonsvn.wireshark.org/wireshark/trunk/ wireshark sudo apt-get build-dep wireshark ./autogen.sh ./configure make
The error is (during make):
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../wiretap -I/usr/local/include -I/usr/include/pcap '-DPLUGIN_DIR="/usr/local/lib/wireshark/plugins/1.7.0"' -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 -Wold-style-definition -I/usr/local/include -pthread -D_REENTRANT -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/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/directfb
-I/usr/include/libpng12 -I/usr/include/pcap -MT libui_a-prefs_dlg.o
-MD -MP -MF ".deps/libui_a-prefs_dlg.Tpo" -c -o libui_a-prefs_dlg.o `test -f 'prefs_dlg.c' || echo './'`prefs_dlg.c; \
then mv -f ".deps/libui_a-prefs_dlg.Tpo"
".deps/libui_a-prefs_dlg.Po"; else rm -f ".deps/libui_a-prefs_dlg.Tpo"; exit 1; fi
cc1: warnings being treated as errors
prefs_dlg.c: In function ?pref_check?:
prefs_dlg.c:935: error: ignoring return value of ?strtoul?, declared with attribute warn_unused_result
make[2]: *** [libui_a-prefs_dlg.o] Error 1
make[2]: Leaving directory `/home/aakhter/wireshak-37604/gtk'
Any thoughts on what might be causing this?
--
Aamer Akhter / aakhter@xxxxxxxxx
___________________________________________________________________________
Sent via: Wireshark-users mailing list <wireshark-users@xxxxxxxxxxxxx>
Archives: http://www.wireshark.org/lists/wireshark-users
Unsubscribe: https://wireshark.org/mailman/options/wireshark-users
mailto:wireshark-users-request@xxxxxxxxxxxxx?subject=unsubscribe