Bug 3037 - claws-mail-3.9.3 will not compile against gtk3
Summary: claws-mail-3.9.3 will not compile against gtk3
Status: RESOLVED DUPLICATE of bug 2371
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Other (show other bugs)
Version: 3.9.3
Hardware: PC Linux
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2013-12-17 13:50 UTC by j-frankish
Modified: 2013-12-17 19:18 UTC (History)
0 users

See Also:


Attachments

Description j-frankish 2013-12-17 13:50:21 UTC
With claws-mail-3.9.3 (and git) and gtk+-3.10.2 (gcc-4.7.2)

Using:

./configure --prefix=/usr/local --disable-static --enable-gtk3

compile fails with:

...
/bin/sh ../../libtool  --tag=CC   --mode=compile gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe -DHAVE_CONFIG_H -I. -I../..  -I./../common -I../common -I./.. -I./.. -pthread -I/usr/local/include/gtk-3.0 -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/gtk-3.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng16 -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/libdrm -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include  -pthread -I/usr/local/include/enchant -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include  -DPLUGINDIR=\"/usr/local/lib/claws-mail/plugins/\" -DDOCDIR=\"/usr/local/share/doc/claws-mail\"  -I/usr/local/include  -g   -Wno-unused-function -Wno-pointer-sign -Wall -pthread -I/usr/local/include/enchant -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include  -MT gtkaspell.lo -MD -MP -MF .deps/gtkaspell.Tpo -c -o gtkaspell.lo gtkaspell.c
libtool: compile:  gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe -DHAVE_CONFIG_H -I. -I../.. -I./../common -I../common -I./.. -I./.. -pthread -I/usr/local/include/gtk-3.0 -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/gtk-3.0 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/pango-1.0 -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng16 -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/libdrm -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -pthread -I/usr/local/include/enchant -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -DPLUGINDIR=\"/usr/local/lib/claws-mail/plugins/\" -DDOCDIR=\"/usr/local/share/doc/claws-mail\" -I/usr/local/include -g -Wno-unused-function -Wno-pointer-sign -Wall -pthread -I/usr/local/include/enchant -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -MT gtkaspell.lo -MD -MP -MF .deps/gtkaspell.Tpo -c gtkaspell.c  -fPIC -DPIC -o .libs/gtkaspell.o
In file included from gtkaspell.c:60:0:
./../gtk/gtkutils.h:214:0: warning: "GTK_TYPE_VBOX" redefined [enabled by default]
In file included from /usr/local/include/gtk-3.0/gtk/gtk.h:253:0,
                 from gtkaspell.c:53:
/usr/local/include/gtk-3.0/gtk/deprecated/gtkvbox.h:36:0: note: this is the location of the previous definition
In file included from gtkaspell.c:60:0:
./../gtk/gtkutils.h:220:0: warning: "GTK_TYPE_HBOX" redefined [enabled by default]
In file included from /usr/local/include/gtk-3.0/gtk/gtk.h:234:0,
                 from gtkaspell.c:53:
/usr/local/include/gtk-3.0/gtk/deprecated/gtkhbox.h:38:0: note: this is the location of the previous definition
gtkaspell.c: In function 'replace_word_cb':
gtkaspell.c:1220:28: error: 'GtkWidget' has no member named 'parent'
gtkaspell.c: In function 'add_word_to_session_cb':
gtkaspell.c:1341:28: error: 'GtkWidget' has no member named 'parent'
gtkaspell.c: In function 'add_word_to_personal_cb':
gtkaspell.c:1356:28: error: 'GtkWidget' has no member named 'parent'
gtkaspell.c: In function 'check_with_alternate_cb':
gtkaspell.c:1365:28: error: 'GtkWidget' has no member named 'parent'
gtkaspell.c: In function 'replace_with_create_dialog_cb':
gtkaspell.c:1436:38: error: 'GtkWidget' has no member named 'parent'
gtkaspell.c:1438:28: error: 'GtkWidget' has no member named 'parent'
gtkaspell.c:1450:23: error: 'GtkDialog' has no member named 'vbox'
gtkaspell.c:1454:22: error: 'GtkDialog' has no member named 'vbox'
gtkaspell.c:1463:2: warning: 'gtk_image_new_from_stock' is deprecated (declared at /usr/local/include/gtk-3.0/gtk/gtkimage.h:123): Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations]
gtkaspell.c:1463:2: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
gtkaspell.c:1482:10: error: 'GtkWidget' has no member named 'style'
gtkaspell.c:1490:3: warning: 'gtk_widget_modify_font' is deprecated (declared at /usr/local/include/gtk-3.0/gtk/deprecated/gtkstyle.h:699): Use 'gtk_widget_override_font' instead [-Wdeprecated-declarations]
gtkaspell.c:1511:11: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
gtkaspell.c:1512:11: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
gtkaspell.c:1515:19: error: 'GtkDialog' has no member named 'action_area'
gtkaspell.c: In function 'set_menu_pos':
gtkaspell.c:2094:54: error: 'GtkWidget' has no member named 'window'
gtkaspell.c:2099:2: warning: 'gtk_widget_get_child_requisition' is deprecated (declared at /usr/local/include/gtk-3.0/gtk/gtkwidget.h:571): Use 'gtk_widget_get_preferred_size' instead [-Wdeprecated-declarations]
make[5]: *** [gtkaspell.lo] Error 1
make[5]: Leaving directory `/usr/src/claws/src/gtk'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/usr/src/claws/src/gtk'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/claws/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/claws/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/claws'
make: *** [all] Error 2
Comment 1 Ricardo Mones 2013-12-17 19:18:06 UTC
Please, don't report bugs for WIP.

*** This bug has been marked as a duplicate of bug 2371 ***

Note You need to log in before you can comment on or make changes to this bug.