[Thunar-dev] Current libexo doesn't compile..

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Tue Sep 12 16:36:05 CEST 2006


Landry wrote:
> Hello,
> 
> OpenBSD 4.0-beta, xfce 4.4-svn, with Revision 23130, i get this
> compile error :
> 
> Making all in exo-desktop-item-edit
> if gcc -DHAVE_CONFIG_H -I. -I. -I..
> -I..
> -I..
> -DBINDIR=\"/local/bin\"
> -DDATADIR=\"/local/share\"
> -DEXO_API_SUBJECT_TO_CHANGE
> -DG_LOG_DOMAIN=\"exo-desktop-item-edit\"
> -DPACKAGE_LOCALE_DIR=\"/local/share/locale\"
> -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include
> -I/usr/local/include/atk-1.0 -I/usr/X11R6/include/freetype2
> -I/usr/X11R6/include -I/usr/local/include/cairo
> -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0
> -I/usr/local/lib/glib-2.0/include
> -pthread -I/usr/local/include/glib-2.0
> -I/usr/local/lib/glib-2.0/include -I/usr/local/include/glib-2.0
> -I/usr/local/lib/glib-2.0/include -I/local/include/xfce4
> -I/usr/local/include -Wall -Werror -DG_ENABLE_DEBUG -O0 -g3 -MT
> exo_desktop_item_edit-exo-die-editor.o -MD -MP -MF
> ".deps/exo_desktop_item_edit-exo-die-editor.Tpo" -c -o
> exo_desktop_item_edit-exo-die-editor.o `test -f 'exo-die-editor.c' ||
> echo './'`exo-die-editor.c;  then mv -f
> ".deps/exo_desktop_item_edit-exo-die-editor.Tpo"
> ".deps/exo_desktop_item_edit-exo-die-editor.Po"; else rm -f
> ".deps/exo_desktop_item_edit-exo-die-editor.Tpo"; exit 1;
> fi /bin/sh ../libtool --tag=CC --mode=link gcc  -I/usr/local/include
> -Wall -Werror -DG_ENABLE_DEBUG -O0 -g3   -Wl,--as-needed -Wl,-O1 -o
> exo-desktop-item-edit -no-undefined
> exo_desktop_item_edit-exo-die-command-entry.o
> exo_desktop_item_edit-exo-die-command-model.o
> exo_desktop_item_edit-exo-die-desktop-model.o
> exo_desktop_item_edit-exo-die-editor.o
> exo_desktop_item_edit-exo-die-enum-types.o
> exo_desktop_item_edit-exo-die-utils.o  exo_desktop_item_edit-main.o
> -L/usr/local/lib -L/usr/X11R6/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
> -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lfontconfig
> -lfreetype -lX11 -lpango-1.0 -lm -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
> -lintl -liconv
> -pthread -L/usr/local/lib -lgthread-2.0 -lglib-2.0 -lintl -liconv
> -L/usr/local/lib -L/local/lib -lxfce4util -lglib-2.0 -lintl
> -liconv                                              ../exo-support/libexo-support.la                        ../exo/libexo-0.3.la
> gcc -I/usr/local/include -Wall -Werror -DG_ENABLE_DEBUG -O0 -g3
> -Wl,--as-needed -Wl,-O1 -o .libs/exo-desktop-item-edit
> exo_desktop_item_edit-exo-die-command-entry.o
> exo_desktop_item_edit-exo-die-command-model.o
> exo_desktop_item_edit-exo-die-desktop-model.o
> exo_desktop_item_edit-exo-die-editor.o
> exo_desktop_item_edit-exo-die-enum-types.o
> exo_desktop_item_edit-exo-die-utils.o exo_desktop_item_edit-main.o
> -pthread  -L/usr/local/lib -L/usr/X11R6/lib -lgthread-2.0 -pthread
> -L/local/lib ../exo-support/.libs/libexo-support.a -L../exo/.libs
> -lexo-0.3 -lxfce4util -lpangocairo-1.0 -lpangoft2-1.0 -lcairo -lz
> -lfreetype -lfontconfig -lglitz -lpng -lXext -lX11 -lXrender
> -lpango-1.0 -lgdk_pixbuf-2.0 -lm -latk-1.0 -lgmodule-2.0 -lgobject-2.0
> -lglib-2.0 -liconv -lintl -lgdk-x11-2.0 -lgtk-x11-2.0
> -Wl,-rpath,/usr/local/lib
> -Wl,-rpath,/local/lib /usr/local/lib/libpangoft2-1.0.so.1200.3:
> warning: g_sprintf() is often misused, please use
> g_snprintf() /usr/local/lib/libglib-2.0.so.1000.3: warning: vsprintf()
> is often misused, please use
> vsnprintf() /usr/local/lib/libpangoft2-1.0.so.1200.3: warning: strcpy()
> is almost always misused, please use
> strlcpy() /usr/X11R6/lib/libfreetype.so.13.1: warning: sprintf() is
> often misused, please use
> snprintf() /usr/X11R6/lib/libfreetype.so.13.1: warning: strcat() is
> almost always misused, please use strlcat()
> exo_desktop_item_edit-exo-die-editor.o(.text+0x16e6): In function
> `exo_die_editor_icon_clicked': /home/lbreuil/local/xfce4-svn-source/libexo/exo-desktop-item-edit/exo-die-editor.c:590:
> undefined reference to `exo_icon_chooser_dialog_new'
> exo_desktop_item_edit-exo-die-editor.o(.text+0x1765):/home/lbreuil/local/xfce4-svn-source/libexo/exo-desktop-item-edit/exo-die-editor.c:603:
> undefined reference to `exo_icon_chooser_dialog_get_type'
> exo_desktop_item_edit-exo-die-editor.o(.text+0x177a):/home/lbreuil/local/xfce4-svn-source/libexo/exo-desktop-item-edit/exo-die-editor.c:603:
> undefined reference to `exo_icon_chooser_dialog_set_icon'
> exo_desktop_item_edit-exo-die-editor.o(.text+0x17b6):/home/lbreuil/local/xfce4-svn-source/libexo/exo-desktop-item-edit/exo-die-editor.c:609:
> undefined reference to `exo_icon_chooser_dialog_get_type'
> exo_desktop_item_edit-exo-die-editor.o(.text+0x17cb):/home/lbreuil/local/xfce4-svn-source/libexo/exo-desktop-item-edit/exo-die-editor.c:609:
> undefined reference to `exo_icon_chooser_dialog_get_icon' collect2: ld
> returned 1 exit status *** Error code 1
> 
> Stop
> in /home/lbreuil/local/xfce4-svn-source/libexo/exo-desktop-item-edit
> (line 397 of Makefile).
> 
> Any idea ?

Try 'make install' in the exo subdir first, then 'make install' for the
whole project again (libtool seems to select the installed library first).

Benedikt



More information about the Thunar-dev mailing list