cvs build problem
Derek T. Yarnell
derek at cs.umd.edu
Thu Jun 24 04:56:40 CEST 2004
I have this problem building out of CVS with an installed verion of xfce
in /usr (fedora 2).
Libtool is picking up /usr/lib/libxfce4util.so and it really shouldn't
be.
PKG_CONFIG_PATH is /usr/local/xfce4-20040623/lib/pkgconfig
and it is working picking all the right .pc files, if you remove the
offending libxfce4util.so then it can compile fine.
Anyone with a bit more libtool knowledge tell maybe what I am doing
wrong, or if this is a bug in the CVS code?
/bin/sh ../libtool --mode=link gcc -g -O2 -o xfce4-panel
-export-dynamic xfce4_panel-add-control-dialog.o xfce4_panel-controls.o
xfce4_panel-controls_dialog.o xfce4_panel-groups.o xfce4_panel-icons.o
xfce4_panel-item.o xfce4_panel-item_dialog.o xfce4_panel-main.o
xfce4_panel-mcs_client.o xfce4_panel-panel.o xfce4_panel-popup.o
xfce4_panel-settings.o xfce4_panel-xfce_support.o xfce4_panel-xfcombo.o
-lstartup-notification-1 -lSM -lICE -lX11 -Wl,--export-dynamic
-L/usr/X11R6/lib -L/usr/local/xfce4-20040623/lib -lxfcegui4
-lgtk-x11-2.0 -lxfce4util -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm
-lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl
-lglib-2.0 -L/usr/X11R6/lib -L/usr/local/xfce4-20040623/lib
-lxfce4mcs-client -lxfce4util -lglib-2.0 -lxml2 -lpthread -lz -lm
gcc -g -O2 -o xfce4-panel xfce4_panel-add-control-dialog.o
xfce4_panel-controls.o xfce4_panel-controls_dialog.o
xfce4_panel-groups.o xfce4_panel-icons.o xfce4_panel-item.o
xfce4_panel-item_dialog.o xfce4_panel-main.o xfce4_panel-mcs_client.o
xfce4_panel-panel.o xfce4_panel-popup.o xfce4_panel-settings.o
xfce4_panel-xfce_support.o xfce4_panel-xfcombo.o -Wl,--export-dynamic
-Wl,--export-dynamic -L/usr/X11R6/lib -L/usr/local/xfce4-20040623/lib
/usr/local/xfce4-20040623/lib/libxfcegui4.so /usr/lib/libxfce4util.so
-lstartup-notification-1 /usr/lib/libgtk-x11-2.0 /usr/lib/libgdk-x11-2.0
-latk-1.0 /usr/lib/libgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0
-lpango-1.0 -lgmodule-2.0 -ldl
/usr/local/xfce4-20040623/lib/libxfce4mcs-client -lSM -lICE -lX11
/usr/local/xfce4-20040623/lib/libxfce4util.so -lgobject-2.0 -lglib-2.0
/usr/lib/libxml2.so -lpthread -lz -lm -Wl,--rpath
-Wl,/usr/local/xfce4-20040623/lib -Wl,--rpath
-Wl,/usr/local/xfce4-20040623/lib
xfce4_panel-main.o(.text+0x46d): In function `main':
/home/derek/xfce4/xfce4-panel/panel/main.c:348: undefined reference to
`xfce_setenv'
/usr/local/xfce4-20040623/lib/libxfcegui4.so: undefined reference to
`xfce_version_string'
/usr/local/xfce4-20040623/lib/libxfcegui4.so: undefined reference to
`xfce_desktop_entry_get_int'
/usr/local/xfce4-20040623/lib/libxfcegui4.so: undefined reference to
`xfce_utf8_remove_controls'
/usr/local/xfce4-20040623/lib/libxfcegui4.so: undefined reference to
`xfce_gethostname'
/usr/local/xfce4-20040623/lib/libxfcegui4.so: undefined reference to
`xfce_desktop_entry_get_string'
/usr/local/xfce4-20040623/lib/libxfcegui4.so: undefined reference to
`xfce_expand_variables'
/usr/local/xfce4-20040623/lib/libxfcegui4.so: undefined reference to
`xfce_desktop_entry_get_type'
/usr/local/xfce4-20040623/lib/libxfcegui4.so: undefined reference to
`xfce_desktop_entry_get_file'
collect2: ld returned 1 exit status
make[2]: *** [xfce4-panel] Error 1
--
---
Derek T. Yarnell
University of Maryland
Computer Science Department Unix Staff
derek at cs.umd.edu
More information about the Xfce4-dev
mailing list