GNOME Bugzilla – Bug 635290
Compile fails in gtkhtml/gtkhtml.c
Last modified: 2010-11-20 01:30:39 UTC
Created attachment 174868 [details] Log of config file generation I'm attempting to build gnome-3 with jhbuild, largely from scratch. Things are running fine until I get to gtkhtml/gtkhtml.c when it fails on the following errors: ~~~~~ *** Building gtkhtml *** [101/268] make -j2 make all-recursive make[1]: Entering directory `/home/frank/checkout/gnome/gtkhtml' Making all in a11y make[2]: Entering directory `/home/frank/checkout/gnome/gtkhtml/a11y' make[2]: Leaving directory `/home/frank/checkout/gnome/gtkhtml/a11y' Making all in gtkhtml make[2]: Entering directory `/home/frank/checkout/gnome/gtkhtml/gtkhtml' CC gtkhtml.lo CC htmlcheckbox.lo gtkhtml.c: In function 'gtk_html_adjust_cursor_position': gtkhtml.c:429:2: error: implicit declaration of function 'gtk_layout_get_hadjustment' gtkhtml.c:429:2: warning: nested extern declaration of 'gtk_layout_get_hadjustment' gtkhtml.c:429:14: warning: assignment makes pointer from integer without a cast gtkhtml.c:430:2: error: implicit declaration of function 'gtk_layout_get_vadjustment' gtkhtml.c:430:2: warning: nested extern declaration of 'gtk_layout_get_vadjustment' gtkhtml.c:430:14: warning: assignment makes pointer from integer without a cast gtkhtml.c: In function 'connect_adjustments': gtkhtml.c:626:14: warning: assignment makes pointer from integer without a cast gtkhtml.c:627:14: warning: assignment makes pointer from integer without a cast gtkhtml.c: In function 'scroll_timeout_cb': gtkhtml.c:724:14: warning: assignment makes pointer from integer without a cast gtkhtml.c:725:14: warning: assignment makes pointer from integer without a cast gtkhtml.c: In function 'realize': gtkhtml.c:1168:14: warning: assignment makes pointer from integer without a cast gtkhtml.c:1169:14: warning: assignment makes pointer from integer without a cast gtkhtml.c:1204:3: error: implicit declaration of function 'gtk_layout_set_hadjustment' gtkhtml.c:1204:3: warning: nested extern declaration of 'gtk_layout_set_hadjustment' gtkhtml.c:1209:3: error: implicit declaration of function 'gtk_layout_set_vadjustment' gtkhtml.c:1209:3: warning: nested extern declaration of 'gtk_layout_set_vadjustment' gtkhtml.c: In function 'gtk_layout_faux_size_allocate': gtkhtml.c:1356:13: warning: assignment makes pointer from integer without a cast gtkhtml.c:1364:13: warning: assignment makes pointer from integer without a cast gtkhtml.c: In function 'size_allocate': gtkhtml.c:1415:15: warning: assignment makes pointer from integer without a cast gtkhtml.c:1419:15: warning: assignment makes pointer from integer without a cast gtkhtml.c: In function 'button_press_event': gtkhtml.c:1957:14: warning: assignment makes pointer from integer without a cast gtkhtml.c: In function 'goto_caret_anchor': gtkhtml.c:2223:14: warning: assignment makes pointer from integer without a cast gtkhtml.c: In function 'set_adjustments': gtkhtml.c:2456:18: error: 'GtkLayoutClass' has no member named 'set_scroll_adjustments' gtkhtml.c:2457:18: error: 'GtkLayoutClass' has no member named 'set_scroll_adjustments' gtkhtml.c: In function 'focus': gtkhtml.c:2550:15: warning: assignment makes pointer from integer without a cast gtkhtml.c:2556:15: warning: assignment makes pointer from integer without a cast gtkhtml.c: In function 'gtk_html_class_init': gtkhtml.c:3243:14: error: 'GtkLayoutClass' has no member named 'set_scroll_adjustments' gtkhtml.c: In function 'gtk_html_update_scrollbars_on_resize': gtkhtml.c:3939:7: warning: assignment makes pointer from integer without a cast gtkhtml.c:3940:7: warning: assignment makes pointer from integer without a cast gtkhtml.c: In function 'gtk_html_private_calc_scrollbars': gtkhtml.c:3985:7: warning: assignment makes pointer from integer without a cast gtkhtml.c:3986:7: warning: assignment makes pointer from integer without a cast gtkhtml.c: In function 'scroll': gtkhtml.c:4796:13: warning: assignment makes pointer from integer without a cast gtkhtml.c: In function 'scroll_command': gtkhtml.c:4866:13: warning: assignment makes pointer from integer without a cast gtkhtml.c: In function 'scroll_by_amount': gtkhtml.c:4915:13: warning: assignment makes pointer from integer without a cast gtkhtml.c: In function 'command': gtkhtml.c:5201:4: warning: passing argument 1 of 'gtk_adjustment_set_value' makes pointer from integer without a cast /opt/gnome/include/gtk-3.0/gtk/gtkadjustment.h:107:6: note: expected 'struct GtkAdjustment *' but argument is of type 'int' gtkhtml.c:5208:15: warning: assignment makes pointer from integer without a cast gtkhtml.c: In function 'gtk_html_edit_make_cursor_visible': gtkhtml.c:6128:14: warning: assignment makes pointer from integer without a cast gtkhtml.c:6129:14: warning: assignment makes pointer from integer without a cast make[2]: *** [gtkhtml.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/home/frank/checkout/gnome/gtkhtml/gtkhtml' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/frank/checkout/gnome/gtkhtml' make: *** [all] Error 2 *** Error during phase build of gtkhtml: ########## Error running make -j2 *** [101/268] ~~~~~ The first function is declared in the installed include/gtk-3.0/gtk/gtklayout.h and, I believe, should be visible during the compilation: $ pkg-config gtk+-3.0 --modversion 2.91.5
*** This bug has been marked as a duplicate of bug 634532 ***