Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 5841] New: wireshark fails to build with gtk+-3

Date: Mon, 18 Apr 2011 03:56:44 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5841

           Summary: wireshark fails to build with gtk+-3
           Product: Wireshark
           Version: 1.5.x (Experimental)
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: pva@xxxxxxxxxx


Build Information:
build issue.
--
Wireshark fails to build with gtk+-3 with the following error:

if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I.. -I../wiretap   
-I/usr/include -I/usr/local/include -I/usr/include
'-DPLUGIN_DIR="/usr/lib64/wireshark/plugins/1.5.1"'  -DINET6
-D_U_="__attribute__((unused))" -O2 -pipe -march=k8 -mtune=k8 -ggdb -Wall -W
-Wextra -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith
-Wno-pointer-sign -Warray-bounds -Wcast-align -Wformat-security
-fexcess-precision=fast -I/usr/include -I/usr/local/include -DGSEAL_ENABLE
-pthread -I/usr/include/gtk-3.0 -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/libpng14 -I/usr/include/libdrm   -I/usr/include -MT
libui_a-capture_dlg.o -MD -MP -MF ".deps/libui_a-capture_dlg.Tpo" -c -o
libui_a-capture_dlg.o `test -f 'capture_dlg.c' || echo './'`capture_dlg.c; \
        then mv -f ".deps/libui_a-capture_dlg.Tpo"
".deps/libui_a-capture_dlg.Po"; else rm -f ".deps/libui_a-capture_dlg.Tpo";
exit 1; fi
capture_dlg.c: In function ‘capture_filter_check_syntax_cb’:
capture_dlg.c:263:3: warning: implicit declaration of function ‘GTK_COMBO’
capture_dlg.c:263:35: error: invalid type argument of ‘->’ (have ‘int’)
capture_dlg.c: In function ‘set_if_capabilities’:
capture_dlg.c:312:38: error: invalid type argument of ‘->’ (have ‘int’)
capture_dlg.c: In function ‘time_unit_combo_box_new’:
capture_dlg.c:547:3: warning: implicit declaration of function
‘gtk_combo_box_new_text’
capture_dlg.c:547:18: warning: assignment makes pointer from integer without a
cast
capture_dlg.c:549:5: warning: implicit declaration of function
‘gtk_combo_box_append_text’
capture_dlg.c: In function ‘size_unit_combo_box_new’:
capture_dlg.c:638:17: warning: assignment makes pointer from integer without a
cast
capture_dlg.c: In function ‘capture_filter_compile_cb’:
capture_dlg.c:1546:35: error: invalid type argument of ‘->’ (have ‘int’)
capture_dlg.c: In function ‘capture_prep_cb’:
capture_dlg.c:1800:3: warning: implicit declaration of function ‘gtk_combo_new’
capture_dlg.c:1800:9: warning: assignment makes pointer from integer without a
cast
capture_dlg.c:1803:5: warning: implicit declaration of function
‘gtk_combo_set_popdown_strings’
capture_dlg.c:1832:24: error: invalid type argument of ‘->’ (have ‘int’)
capture_dlg.c:1835:24: error: invalid type argument of ‘->’ (have ‘int’)
capture_dlg.c:1845:47: error: invalid type argument of ‘->’ (have ‘int’)
capture_dlg.c:1934:3: error: invalid type argument of ‘->’ (have ‘int’)
capture_dlg.c:2058:13: warning: assignment makes pointer from integer without a
cast
capture_dlg.c:2061:3: warning: implicit declaration of function
‘gtk_combo_disable_activate’
capture_dlg.c:2062:3: warning: implicit declaration of function
‘gtk_combo_set_case_sensitive’
capture_dlg.c:2065:35: error: invalid type argument of ‘->’ (have ‘int’)
capture_dlg.c:2647:36: error: invalid type argument of ‘->’ (have ‘int’)
capture_dlg.c: In function ‘capture_dlg_prep’:
capture_dlg.c:3014:36: error: invalid type argument of ‘->’ (have ‘int’)
capture_dlg.c:3043:33: error: invalid type argument of ‘->’ (have ‘int’)
make: *** [libui_a-capture_dlg.o] Error 1

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.