[geeqie] error at compilation

  • From: Alexander Rabtchevich <alexander.v.rabtchevich@xxxxxxx>
  • To: geeqie@xxxxxxxxxxxxx
  • Date: Mon, 9 Jul 2018 07:18:36 +0300

Hello

Current git cannot be compiled at Mint 19.0 x64.

make[3]: Entering directory '/home/sasha/Install/geeqie/src'
  CC       pixbuf_util.o
pixbuf_util.c:114:30: error: 'icon_collection' undeclared here (not in a function); did you mean 'icon_config'?
  { PIXBUF_INLINE_COLLECTION, icon_collection },
                              ^~~~~~~~~~~~~~~
                              icon_config
pixbuf_util.c: In function 'pixbuf_inline':
pixbuf_util.c:137:4: warning: 'gdk_pixbuf_new_from_inline' is deprecated [-Wdeprecated-declarations]
    return gdk_pixbuf_new_from_inline(-1, inline_pixbuf_data[i].data, FALSE, NULL);
    ^~~~~~
In file included from /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:34:0,
                 from /usr/include/gtk-3.0/gdk/gdkpixbuf.h:33,
                 from /usr/include/gtk-3.0/gdk/gdkcairo.h:29,
                 from /usr/include/gtk-3.0/gdk/gdk.h:33,
                 from main.h:62,
                 from pixbuf_util.c:22:
/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:362:12: note: declared here
 GdkPixbuf* gdk_pixbuf_new_from_inline (gint          data_length,
            ^~~~~~~~~~~~~~~~~~~~~~~~~~
pixbuf_util.c: In function 'register_stock_icon':
pixbuf_util.c:154:3: warning: 'gtk_icon_factory_new' is deprecated [-Wdeprecated-declarations]
   icon_factory = gtk_icon_factory_new();
   ^~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtkstyleprovider.h:27:0,
                 from /usr/include/gtk-3.0/gtk/gtkstylecontext.h:27,
                 from /usr/include/gtk-3.0/gtk/gtkicontheme.h:27,
                 from /usr/include/gtk-3.0/gtk/gtk.h:123,
                 from main.h:63,
                 from pixbuf_util.c:22:
/usr/include/gtk-3.0/gtk/deprecated/gtkiconfactory.h:80:17: note: declared here
 GtkIconFactory* gtk_icon_factory_new      (void);
                 ^~~~~~~~~~~~~~~~~~~~
pixbuf_util.c:155:3: warning: 'gtk_icon_factory_add_default' is deprecated [-Wdeprecated-declarations]
   gtk_icon_factory_add_default(icon_factory);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtkstyleprovider.h:27:0,
                 from /usr/include/gtk-3.0/gtk/gtkstylecontext.h:27,
                 from /usr/include/gtk-3.0/gtk/gtkicontheme.h:27,
                 from /usr/include/gtk-3.0/gtk/gtk.h:123,
                 from main.h:63,
                 from pixbuf_util.c:22:
/usr/include/gtk-3.0/gtk/deprecated/gtkiconfactory.h:92:13: note: declared here
 void        gtk_icon_factory_add_default     (GtkIconFactory *factory);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
pixbuf_util.c:158:2: warning: 'gtk_icon_set_new_from_pixbuf' is deprecated [-Wdeprecated-declarations]
  icon_set = gtk_icon_set_new_from_pixbuf(pixbuf);
  ^~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtkstyleprovider.h:27:0,
                 from /usr/include/gtk-3.0/gtk/gtkstylecontext.h:27,
                 from /usr/include/gtk-3.0/gtk/gtkicontheme.h:27,
                 from /usr/include/gtk-3.0/gtk/gtk.h:123,
                 from main.h:63,
                 from pixbuf_util.c:22:
/usr/include/gtk-3.0/gtk/deprecated/gtkiconfactory.h:140:13: note: declared here
 GtkIconSet* gtk_icon_set_new_from_pixbuf (GdkPixbuf       *pixbuf);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
pixbuf_util.c:159:2: warning: 'gtk_icon_factory_add' is deprecated [-Wdeprecated-declarations]
  gtk_icon_factory_add(icon_factory, key, icon_set);
  ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtkstyleprovider.h:27:0,
                 from /usr/include/gtk-3.0/gtk/gtkstylecontext.h:27,
                 from /usr/include/gtk-3.0/gtk/gtkicontheme.h:27,
                 from /usr/include/gtk-3.0/gtk/gtk.h:123,
                 from main.h:63,
                 from pixbuf_util.c:22:
/usr/include/gtk-3.0/gtk/deprecated/gtkiconfactory.h:82:17: note: declared here
 void            gtk_icon_factory_add      (GtkIconFactory *factory,
                 ^~~~~~~~~~~~~~~~~~~~
Makefile:974: recipe for target 'pixbuf_util.o' failed
make[3]: *** [pixbuf_util.o] Error 1
make[3]: Leaving directory '/home/sasha/Install/geeqie/src'
Makefile:1012: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/sasha/Install/geeqie/src'
Makefile:671: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/sasha/Install/geeqie'
Makefile:503: recipe for target 'all' failed
make: *** [all] Error 2



With respect,
Alexander Rabtchevich

Other related posts: