Wireshark-dev: [Wireshark-dev] wireshark build on 12.04 question
Date: Thu, 7 Jun 2012 12:15:16 -0500
Hi,
I think the wireshark build on 12.04 Ubuntu  is broken.
I've GTK3+ installed and I configure using following.
./configure --with-gtk3 --enable-setuid-install --with-dumpcap-group=wireshark
This works fine.

make works fine for few files,but  fails for following.
airpcap_dlg.c: In function ‘on_add_new_key_bt_clicked’:
airpcap_dlg.c:1001:5: error: ‘gtk_vbox_new’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:60): Use 'gtk_box_new' instead [-Werror=deprecated-declarations]
airpcap_dlg.c:1077:5: error: ‘gtk_hbutton_box_new’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkhbbox.h:61): Use 'gtk_button_box_new' instead [-Werror=deprecated-declarations]
airpcap_dlg.c: In function ‘on_edit_key_bt_clicked’:
airpcap_dlg.c:1229:5: error: ‘gtk_vbox_new’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:60): Use 'gtk_box_new' instead [-Werror=deprecated-declarations]
airpcap_dlg.c:1323:5: error: ‘gtk_hbutton_box_new’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkhbbox.h:61): Use 'gtk_button_box_new' instead [-Werror=deprecated-declarations]
airpcap_dlg.c: In function ‘display_airpcap_advanced_cb’:
airpcap_dlg.c:1699:5: error: ‘gtk_vbox_new’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:60): Use 'gtk_box_new' instead [-Werror=deprecated-declarations]

I can manually go and replace these APIs,but the arguments passed etc are all different in some cases.
So wondering if this a known issue and if there is a fix,please let me know.

~ajey