xfce4-session fails to build on Fedora Core 3 test 3

David Fraser davidf at sjsoft.com
Sun Oct 3 22:21:33 CEST 2004


Hi

I have a number of linker errors trying to build xfce4-session on Fedora 
from latest cvs.
I am building and installing xfce4 CVS into a separate directory 
(/usr/local/xfce4) and I have xfce 4.0.x installed in /usr
It seems that it is linking against /usr/lib/libxfcegui4.so instead of 
the one in /usr/local/xfce4/lib
I presume this is an error with the Make scripts somewhere...
Any hints on how to fix it?

David

The command that produces them is:
gcc -g -O2 -o xfce4-session xfce4_session-ice-layer.o 
xfce4_session-main.o xfce4_session-shutdown.o xfce4_session-sm-layer.o 
xfce4_session-xfsm-chooser.o xfce4_session-xfsm-client.o 
xfce4_session-xfsm-compat-gnome.o xfce4_session-xfsm-compat-kde.o 
xfce4_session-xfsm-dns.o xfce4_session-xfsm-fadeout.o 
xfce4_session-xfsm-global.o xfce4_session-xfsm-legacy.o 
xfce4_session-xfsm-manager.o xfce4_session-xfsm-properties.o 
xfce4_session-xfsm-shutdown-helper.o xfce4_session-xfsm-splash-screen.o 
xfce4_session-xfsm-startup.o -Wl,--export-dynamic -Wl,--export-dynamic  
./.libs/libxfsm.a -pthread -lgnome-2 /usr/lib/libpopt.so -lbonobo-2 
-lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -lgthread-2.0 
-L/usr/X11R6/lib -L/usr/local/xfce4/lib/usr/lib/libxfce4mcs-client.so 
/usr/lib/libxfcegui4.so -lSM -lICE -lX11 -lXinerama -lXext -lgtk-x11-2.0 
/usr/lib/libxfce4util.so -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

The first couple of errors are:
xfce4_session-main.o(.text+0x56): In function 
`setup_environment':/share/david/code/xfce4-cvs/xfce4-session/xfce4-session/main.c:85: 
undefined reference to 
`xfce_setenv'xfce4_session-main.o(.text+0x77):/share/david/code/xfce4-cvs/xfce4-session/xfce4-session/main.c:91: 
undefined reference 
to`xfce_setenv'xfce4_session-main.o(.text+0x83):/share/david/code/xfce4-cvs/xfce4-session/xfce4-session/main.c:92: 
undefined reference to`xfce_unsetenv'xfce4_session-main.o(.text+0x215): 
In function 
`main':/share/david/code/xfce4-cvs/xfce4-session/xfce4-session/main.c:134: 
undefined reference to 
`xfce_rc_set_group'xfce4_session-main.o(.text+0x225):/share/david/code/xfce4-cvs/xfce4-session/xfce4-session/main.c:135: 
undefined reference to 
`xfce_rc_read_entry'xfce4_session-main.o(.text+0x2e3):/share/david/code/xfce4-cvs/xfce4-session/xfce4-session/main.c:196: 
undefined reference to 
`xfce_rc_set_group'xfce4_session-main.o(.text+0x2f3):/share/david/code/xfce4-cvs/xfce4-session/xfce4-session/main.c:197: 
undefined reference to 
`xfce_rc_read_bool_entry'xfce4_session-main.o(.text+0x308):/share/david/code/xfce4-cvs/xfce4-session/xfce4-session/main.c:198: 
undefined reference to 
`xfce_rc_read_bool_entry'                                                                                                





More information about the Xfce4-dev mailing list