! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Compile failure of ristretto-0.0.14
Status:
RESOLVED: FIXED
Product:
Ristretto
Component:
Application

Comments

Description Robby Workman editbugs 2007-12-03 20:39:08 CET
With gtk+2-2.10.14, ristretto-0.0.14 fails to build with the following error:

gcc -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/libexif   -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/atk-1.0   -pthread -I/usr/include/thunar-vfs-1 -I/usr/include/exo-0.3 -I/usr/include/gtk-2.0 -I/usr/include/xfce4 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12   -DDATADIR=\"/usr/share\" -DSRCDIR=\"..\" -DLOCALEDIR=\"/usr/share/locale\" -O2 -march=i486 -mtune=i686   -o ristretto ristretto-main.o ristretto-main_window.o ristretto-navigator.o ristretto-picture_viewer.o ristretto-thumbnail_viewer.o -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   -lglib-2.0   -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0   -lexif -lm   -lxfce4util -lglib-2.0   -lxfcegui4 -lgtk-x11-2.0 -lxfce4util -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   -pthread -lthunar-vfs-1 -lexo-0.3 -lgthread-2.0 -lrt -lgtk-x11-2.0 -lxfce4util -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   
ristretto-main.o: In function `main':
main.c:(.text+0x719): undefined reference to `gdk_color_to_string'

0.0.13 builds fine.

Perhaps gdk_color_to_string is only in gtk+2 >= 2.12.x ??
Comment 1 Stephan Arts editbugs 2007-12-11 12:03:11 CET
Created attachment 1462 
Gtk 2.10 compile fix

This patch fixes the issue
Comment 2 Stephan Arts editbugs 2007-12-11 12:03:51 CET
Fixed with the supplied patch, version 0.0.15 has the patch applied too. so that works.

Bug #3716

Reported by:
Robby Workman
Reported on: 2007-12-03
Last modified on: 2009-07-14

People

Assignee:
Stephan Arts
CC List:
0 users

Version

Version:
unspecified

Attachments

Gtk 2.10 compile fix (4.05 KB, patch)
2007-12-11 12:03 CET , Stephan Arts
no flags

Additional information