[CentOS] Problem compiling cairo-dock under CentOS 5.2

Marko Vojinovic vvmarko at panet.co.yu
Sun Jan 25 16:10:21 UTC 2009


I am trying to compile cairo-dock from source (failing to find an existing 
package for CentOS). I believe all dependencies are satisfied, but while 
doing "make", at some point it says (I can provide the full make output if 
it's needed):

gcc -g -O2 -o cairo-dock -Wl,--export-dynamic 
cairo_dock-cairo-dock-callbacks.o cairo_dock-cairo-dock.o 
cairo_dock-cairo-dock-dbus.o cairo_dock-cairo-dock-draw.o 
cairo_dock-cairo-dock-config.o cairo_dock-cairo-dock-load.o 
cairo_dock-cairo-dock-icons.o cairo_dock-cairo-dock-applications-manager.o 
cairo_dock-cairo-dock-menu.o cairo_dock-cairo-dock-modules.o 
cairo_dock-cairo-dock-launcher-factory.o 
cairo_dock-cairo-dock-application-factory.o 
cairo_dock-cairo-dock-applet-factory.o 
cairo_dock-cairo-dock-separator-factory.o 
cairo_dock-cairo-dock-desktop-file-factory.o 
cairo_dock-cairo-dock-keyfile-utilities.o 
cairo_dock-cairo-dock-dock-factory.o cairo_dock-cairo-dock-animations.o 
cairo_dock-cairo-dock-themes-manager.o cairo_dock-cairo-dock-notifications.o 
cairo_dock-cairo-dock-dialogs.o cairo_dock-cairo-dock-surface-factory.o 
cairo_dock-cairo-dock-renderer-manager.o cairo_dock-cairo-dock-default-view.o 
cairo_dock-cairo-dock-applet-facility.o cairo_dock-cairo-dock-file-manager.o 
cairo_dock-eggaccelerators.o cairo_dock-cairo-dock-keybinder.o 
cairo_dock-cairo-dock-desklet.o cairo_dock-cairo-dock-log.o 
cairo_dock-cairo-dock-X-utilities.o cairo_dock-cairo-dock-gauge.o 
cairo_dock-cairo-dock-dock-manager.o cairo_dock-cairo-dock-class-manager.o 
cairo_dock-cairo-dock-emblem.o cairo_dock-cairo-dock-flying-container.o 
cairo_dock-cairo-dock-graph.o cairo_dock-cairo-dock-draw-opengl.o 
cairo_dock-cairo-dock-particle-system.o cairo_dock-cairo-dock-gui-factory.o 
cairo_dock-cairo-dock-gui-callbacks.o cairo_dock-cairo-dock-gui-manager.o 
cairo_dock-cairo-dock-internal-position.o 
cairo_dock-cairo-dock-internal-accessibility.o 
cairo_dock-cairo-dock-internal-system.o 
cairo_dock-cairo-dock-internal-taskbar.o 
cairo_dock-cairo-dock-internal-hidden-dock.o 
cairo_dock-cairo-dock-internal-dialogs.o 
cairo_dock-cairo-dock-internal-indicators.o 
cairo_dock-cairo-dock-internal-views.o 
cairo_dock-cairo-dock-internal-labels.o 
cairo_dock-cairo-dock-internal-desklets.o 
cairo_dock-cairo-dock-internal-background.o 
cairo_dock-cairo-dock-internal-icons.o -pthread -Wl,--export-dynamic  -lXtst -lXcomposite -lXfixes -lXinerama -L/lib -lgthread-2.0 -lrsvg-2 -ldbus-glib-1 -ldbus-1 -lxml2 -lz -lgtkglext-x11-1.0 -lgdkglext-x11-1.0 -lGLU -lGL -lXmu -lXt -lSM -lICE -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
cairo_dock-cairo-dock.o: In function `main':
/home/vmarko/cairo/cairo-dock-2.0.0-beta1/src/cairo-dock.c:724: undefined 
reference to `g_timeout_add_seconds'
cairo_dock-cairo-dock-applications-manager.o: In function 
`cairo_dock_get_current_applis_list':
/home/vmarko/cairo/cairo-dock-2.0.0-beta1/src/cairo-dock-applications-manager.c:1389: 
undefined reference to `g_hash_table_get_values'
cairo_dock-cairo-dock-menu.o: In function 
`cairo_dock_notification_build_menu':
/home/vmarko/cairo/cairo-dock-2.0.0-beta1/src/cairo-dock-menu.c:1081: 
undefined reference to `gtk_widget_set_tooltip_text'
/home/vmarko/cairo/cairo-dock-2.0.0-beta1/src/cairo-dock-menu.c:1318: 
undefined reference to `gtk_widget_set_tooltip_text'
/home/vmarko/cairo/cairo-dock-2.0.0-beta1/src/cairo-dock-menu.c:1143: 
undefined reference to `gtk_widget_set_tooltip_text'
cairo_dock-cairo-dock-applet-facility.o: In function 
`_cairo_dock_restart_timer_with_frequency':
/home/vmarko/cairo/cairo-dock-2.0.0-beta1/src/cairo-dock-applet-facility.c:523: 
undefined reference to `g_timeout_add_seconds'
cairo_dock-cairo-dock-applet-facility.o: In function 
`_cairo_dock_check_for_redraw':
/home/vmarko/cairo/cairo-dock-2.0.0-beta1/src/cairo-dock-applet-facility.c:392: 
undefined reference to `g_timeout_add_seconds'
cairo_dock-cairo-dock-applet-facility.o: In function 
`cairo_dock_launch_measure':
/home/vmarko/cairo/cairo-dock-2.0.0-beta1/src/cairo-dock-applet-facility.c:443: 
undefined reference to `g_timeout_add_seconds'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libgdkglext-x11-1.0.so: 
undefined reference to `pango_x_font_subfont_xlfd'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libgdkglext-x11-1.0.so: 
undefined reference to `pango_x_font_map_for_display'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libgdkglext-x11-1.0.so: 
undefined reference to `pango_x_font_cache_unload'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libgdkglext-x11-1.0.so: 
undefined reference to `pango_x_find_first_subfont'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libgdkglext-x11-1.0.so: 
undefined reference to `pango_x_font_map_get_font_cache'
/usr/lib/gcc/i386-redhat-linux/4.1.2/../../../libgdkglext-x11-1.0.so: 
undefined reference to `pango_x_font_cache_load'
collect2: ld returned 1 exit status
make[3]: *** [cairo-dock] Error 1
make[3]: Leaving directory `/home/vmarko/cairo/cairo-dock-2.0.0-beta1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/vmarko/cairo/cairo-dock-2.0.0-beta1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/vmarko/cairo/cairo-dock-2.0.0-beta1'
make: *** [all] Error 2

I believe the problem arises at the point where it says

cairo_dock-cairo-dock.o: In function `main':
/home/vmarko/cairo/cairo-dock-2.0.0-beta1/src/cairo-dock.c:724: undefined 
reference to `g_timeout_add_seconds'

So, what is g_timeout_add_seconds, what library has it defined, or else what 
can I do about this?

Did anyone successfully compile cairo-dock under Centos 5.2?

Appreciate any help!

Best, :-)
Marko




More information about the CentOS mailing list