On Thu, Aug 18, 2011 at 03:00:23PM +0200, Anders Broman wrote:
> With the enclosed patch Wireshark builds on GTK3.0. Colors are messed up etc but it should be possible to start to fix things and actually see what's happening.
> I wouldn't be surprised if many patches leading up to this are faulty. Color handling should probably be rewritten to use GdkRGBA in many places etc.
Without checking in the brutal patch but with current svn 38614, I get build
errors when building with GTK2 + -DGDK_DISABLE_DEPRECATED and when building
with GTK3. The error logs are attached.
Ciao
Joerg
--
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.
cc1: warnings being treated as errors
/home/jmayer/work/wireshark/svn/trunk/gtk/gtkvumeter.c: In function âgtk_vumeter_exposeâ:
/home/jmayer/work/wireshark/svn/trunk/gtk/gtkvumeter.c:359:17: error: implicit declaration of function âgdk_draw_lineâ
/home/jmayer/work/wireshark/svn/trunk/gtk/gtkvumeter.c:368:21: error: implicit declaration of function âgdk_draw_layoutâ
/home/jmayer/work/wireshark/svn/trunk/gtk/gtkvumeter.c: In function âgtk_vumeter_setup_colorsâ:
/home/jmayer/work/wireshark/svn/trunk/gtk/gtkvumeter.c:631:9: error: implicit declaration of function âgdk_gc_newâ
/home/jmayer/work/wireshark/svn/trunk/gtk/gtkvumeter.c:631:30: error: assignment makes pointer from integer without a cast
/home/jmayer/work/wireshark/svn/trunk/gtk/gtkvumeter.c:632:9: error: implicit declaration of function âgdk_gc_set_foregroundâ
/home/jmayer/work/wireshark/svn/trunk/gtk/gtkvumeter.c:635:30: error: assignment makes pointer from integer without a cast
make[2]: *** [gtk/CMakeFiles/ui.dir/gtkvumeter.c.o] Error 1
cc1: warnings being treated as errors
/home/jmayer/work/wireshark/svn/trunk/gtk/rtp_player.c: In function âdraw_channel_cursorâ:
/home/jmayer/work/wireshark/svn/trunk/gtk/rtp_player.c:972:3: error: implicit declaration of function âgdk_draw_pixbufâ
/home/jmayer/work/wireshark/svn/trunk/gtk/rtp_player.c:981:3: error: implicit declaration of function âgdk_draw_drawableâ
make[2]: *** [gtk/CMakeFiles/ui.dir/rtp_player.c.o] Error 1
cc1: warnings being treated as errors
/home/jmayer/work/wireshark/svn/trunk/gtk/tcp_graph.c: In function âcreate_drawing_areaâ:
/home/jmayer/work/wireshark/svn/trunk/gtk/tcp_graph.c:794:3: error: implicit declaration of function âgdk_gc_newâ
/home/jmayer/work/wireshark/svn/trunk/gtk/tcp_graph.c:794:10: error: assignment makes pointer from integer without a cast
/home/jmayer/work/wireshark/svn/trunk/gtk/tcp_graph.c:795:3: error: implicit declaration of function âgdk_gc_set_functionâ
/home/jmayer/work/wireshark/svn/trunk/gtk/tcp_graph.c:810:3: error: implicit declaration of function âgdk_gc_set_foregroundâ
/home/jmayer/work/wireshark/svn/trunk/gtk/tcp_graph.c:812:11: error: assignment makes pointer from integer without a cast
/home/jmayer/work/wireshark/svn/trunk/gtk/tcp_graph.c: In function âdraw_element_arcâ:
/home/jmayer/work/wireshark/svn/trunk/gtk/tcp_graph.c:2233:2: error: implicit declaration of function âgdk_draw_arcâ
/home/jmayer/work/wireshark/svn/trunk/gtk/tcp_graph.c: In function âcross_xorâ:
/home/jmayer/work/wireshark/svn/trunk/gtk/tcp_graph.c:2874:3: error: implicit declaration of function âgdk_draw_lineâ
make[2]: *** [gtk/CMakeFiles/ui.dir/tcp_graph.c.o] Error 1
make[2]: Target `gtk/CMakeFiles/ui.dir/build' not remade because of errors.
make[1]: *** [gtk/CMakeFiles/ui.dir/all] Error 2
make[1]: Target `gtk/all' not remade because of errors.
make: *** [all] Error 2
make: Target `default_target' not remade because of errors.
Attachment:
error-gtk3.log.gz
Description: application/gunzip