bkajey@xxxxxxxxx skrev 2012-06-07 19:15:
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
GTK3 builds are experimental, trunk should build but the GUI is
slightly broken and we get a couple of GTK warnings.
- Patches welcome :-)
Regards
Anders
___________________________________________________________________________
Sent via: Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives: http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
|