Wireshark-dev: [Wireshark-dev] Another gtk compile error (gtk_rpcstat_cb undeclared)
From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Sat, 18 Jun 2011 01:00:42 +0200
I've not verified that this is a problem caused by the new ui manager code,
but as nobody has mentioned it while I was on holiday, I guess it's just
me again ;-)

cd /home/jmayer/work/wireshark/svn/build/gtk && /usr/bin/gcc  -DHAVE_CONFIG_H -DPACKAGE=\"wireshark\" -D_U_="__attribute__((unused))" -DMAIN_MENU_USE_UIMANAGER=1 -DWANT_PACKET_EDITOR=1 -I/home/jmayer/work/wireshark/svn/build -I/home/jmayer/work/wireshark/svn/trunk -I/home/jmayer/work/wireshark/svn/trunk/epan -I/home/jmayer/work/wireshark/svn/trunk/tools/lemon -I/home/jmayer/work/wireshark/svn/trunk/wiretap -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/home/jmayer/work/wireshark/svn/trunk/gtk   -O2 -Wall -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith -Wno-pointer-sign -Warray-bounds -Wcast-align -Wformat-security -Wold-style-definition -fexcess-precision=fast -o CMakeFiles/ui.dir/menus.c.o   -c /home/jmayer/work/wireshark/svn/trunk/gtk/menus.c
/home/jmayer/work/wireshark/svn/trunk/gtk/menus.c:1659:100: error: ‘gtk_rpcstat_cb’ undeclared here (not in a function)
/home/jmayer/work/wireshark/svn/trunk/gtk/menus.c:1659:4: warning: missing initializer
/home/jmayer/work/wireshark/svn/trunk/gtk/menus.c:1659:4: warning: (near initialization for ‘main_menu_bar_entries[162].callback’)
/home/jmayer/work/wireshark/svn/trunk/gtk/menus.c: In function ‘register_stat_menu_item’:
/home/jmayer/work/wireshark/svn/trunk/gtk/menus.c:4106:17: warning: unused parameter ‘name’
/home/jmayer/work/wireshark/svn/trunk/gtk/menus.c:4107:27: warning: unused parameter ‘group’
/home/jmayer/work/wireshark/svn/trunk/gtk/menus.c:4108:28: warning: unused parameter ‘callback’
/home/jmayer/work/wireshark/svn/trunk/gtk/menus.c:4109:16: warning: unused parameter ‘selected_packet_enabled’
/home/jmayer/work/wireshark/svn/trunk/gtk/menus.c:4110:16: warning: unused parameter ‘selected_tree_row_enabled’
/home/jmayer/work/wireshark/svn/trunk/gtk/menus.c:4111:14: warning: unused parameter ‘callback_data’
/home/jmayer/work/wireshark/svn/trunk/gtk/menus.c: At top level:
/home/jmayer/work/wireshark/svn/trunk/gtk/menus.c:4143:1: warning: ‘add_menu_item’ defined but not used
make[2]: *** [gtk/CMakeFiles/ui.dir/menus.c.o] Error 1
make[2]: Leaving directory `/home/jmayer/work/wireshark/svn/build'

-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.