! 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 !
linking fails
Status:
RESOLVED: FIXED
Product:
Xfdesktop
Component:
General

Comments

Description Anil 2006-09-03 22:07:41 CEST
build@sr1-sjc-01:~/Xfce-beta-src/xfce-4.3.99.1-src/xfdesktop-4.3.99.1/src% echo $CFLAGS
-I/opt/Xfce-beta/include -I/usr/X11/include -I/usr/openwin/include
build@sr1-sjc-01:~/Xfce-beta-src/xfce-4.3.99.1-src/xfdesktop-4.3.99.1/src% echo $LD_LIBRARY_PATH
/opt/Xfce-beta/lib:/usr/X11/lib:/usr/openwin/lib:/usr/openwin/sfw/lib
build@sr1-sjc-01:~/Xfce-beta-src/xfce-4.3.99.1-src/xfdesktop-4.3.99.1/src% echo $CPPFLAGS
-I/opt/Xfce-beta/include -I/usr/X11/include -I/usr/openwin/include
build@sr1-sjc-01:~/Xfce-beta-src/xfce-4.3.99.1-src/xfdesktop-4.3.99.1/src% echo $CFLAGS
-I/opt/Xfce-beta/include -I/usr/X11/include -I/usr/openwin/include



build@sr1-sjc-01:~/Xfce-beta-src/xfce-4.3.99.1-src/xfdesktop-4.3.99.1/src% gmake
gmake  all-am
gmake[1]: Entering directory `/data/Xfce-beta-src/xfce-4.3.99.1-src/xfdesktop-4.3.99.1/src'
/bin/bash ../libtool --mode=link --tag=CC /opt/SUNWspro/bin/cc  -I/opt/Xfce-beta/include -I/usr/X11/include -I/usr/openwin/include  -L/opt/Xfce-beta/lib -L/usr/X11/lib -L/usr/openwin/lib -L/usr/openwin/sfw/lib -o xfdesktop -export-dynamic xfdesktop-main.o xfdesktop-menu.o xfdesktop-settings.o xfdesktop-windowlist.o xfdesktop-xfce-backdrop.o xfdesktop-xfce-desktop.o xfdesktop-xfce-desktop-settings.o xfdesktop-xfdesktop-icon.o xfdesktop-xfdesktop-icon-view.o xfdesktop-xfdesktop-icon-view-manager.o xfdesktop-xfdesktop-window-icon.o xfdesktop-xfdesktop-window-icon-manager.o  ../common/libxfdesktop.la ../common/libxfdesktop-menu.la  -lSM -lICE -lsocket -lnsl -lX11 -L/opt/Xfce-beta/lib -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 -lglib-2.0   -L/opt/Xfce-beta/lib -lxfce4mcs-client -lxfce4util -lglib-2.0   -L/opt/Xfce-beta/lib -lexo-0.3 -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 -lglib-2.0      
/opt/SUNWspro/bin/cc -I/opt/Xfce-beta/include -I/usr/X11/include -I/usr/openwin/include -o xfdesktop xfdesktop-main.o xfdesktop-menu.o xfdesktop-settings.o xfdesktop-windowlist.o xfdesktop-xfce-backdrop.o xfdesktop-xfce-desktop.o xfdesktop-xfce-desktop-settings.o xfdesktop-xfdesktop-icon.o xfdesktop-xfdesktop-icon-view.o xfdesktop-xfdesktop-icon-view-manager.o xfdesktop-xfdesktop-window-icon.o xfdesktop-xfdesktop-window-icon-manager.o  -L/opt/Xfce-beta/lib -L/usr/X11/lib -L/usr/openwin/lib -L/usr/openwin/sfw/lib ../common/.libs/libxfdesktop.a ../common/.libs/libxfdesktop-menu.a /opt/Xfce-beta/lib/libxfcegui4.so -L/usr/lib /opt/Xfce-beta/lib/libxfce4mcs-client.so /opt/Xfce-beta/lib/libstartup-notification-1.so /opt/Xfce-beta/lib/libexo-0.3.so -lmd5 /opt/Xfce-beta/lib/libgtk-x11-2.0.so /opt/Xfce-beta/lib/libxfce4util.so /opt/Xfce-beta/lib/libgdk-x11-2.0.so /opt/Xfce-beta/lib/libatk-1.0.so /opt/Xfce-beta/lib/libgdk_pixbuf-2.0.so /opt/Xfce-beta/lib/libpangocairo-1.0.so /opt/Xfce-beta/lib/libpangoft2-1.0.so /opt/Xfce-beta/lib/libpango-1.0.so /opt/Xfce-beta/lib/libcairo.so /opt/Xfce-beta/lib/libfontconfig.so /opt/Xfce-beta/lib/libfreetype.so /opt/Xfce-beta/lib/libxml2.so -lpthread /opt/Xfce-beta/lib/libpng12.so -lz -lXrender -lSM -lICE -lX11 -lsocket -lnsl -lm /opt/Xfce-beta/lib/libgobject-2.0.so /opt/Xfce-beta/lib/libgmodule-2.0.so /opt/Xfce-beta/lib/libglib-2.0.so -R/opt/Xfce-beta/lib -R/opt/Xfce-beta/lib
Undefined                       first referenced
 symbol                             in file
count_elements                      xfdesktop-xfce-desktop-settings.o
ld: fatal: Symbol referencing errors. No output written to xfdesktop
gmake[1]: *** [xfdesktop] Error 1
gmake[1]: Leaving directory `/data/Xfce-beta-src/xfce-4.3.99.1-src/xfdesktop-4.3.99.1/src'
gmake: *** [all] Error 2
Comment 1 Brian J. Tarricone (not reading bugmail) 2006-09-16 15:16:09 CEST
*** Bug 2273 has been marked as a duplicate of this bug. ***
Comment 2 Brian J. Tarricone (not reading bugmail) 2006-09-28 19:31:09 CEST
Should be fixed with svn rev 23237.  Please test and report back if you are able, as I do not have a Solaris machine of my own to test with.
Comment 3 Brian J. Tarricone (not reading bugmail) 2006-09-28 19:41:53 CEST
Created attachment 807 
fix-solaris-link.diff

If you're unable to use SVN, you should be able to apply the attached patch to the release you're using.  Just apply with:

patch -p0 < fix-solaris-link.diff

from the top of the xfdesktop source tree and then rerun 'gmake'.

Bug #2258

Reported by:
Anil
Reported on: 2006-09-03
Last modified on: 2009-07-14
Duplicates (1):
  • 2273 linking fails: Undefined symbol: count_elements

People

Assignee:
Brian J. Tarricone (not reading bugmail)
CC List:
0 users

Version

Attachments

fix-solaris-link.diff (333 bytes, patch)
2006-09-28 19:41 CEST , Brian J. Tarricone (not reading bugmail)
no flags

Additional information