Xfce Forum

Sub domains
 

You are not logged in.

#1 2007-04-10 16:25:51

kornerr
Member
Registered: 2007-04-10
Posts: 1

Can't compile xfdesktop

make[3]: Entering directory `/home/other/apps/xfce-svn/xfdesktop/src'
/bin/sh ../libtool --tag=CC --mode=link gcc  -g -O2   -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   ../common/libxfdesktop.la ../common/libxfdesktop-menu.la -L/usr/X11R6/lib -lSM -lICE -lX11 -pthread -lgthread-2.0 -lglib-2.0   -L/usr/X11R6/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 -ldl -lglib-2.0   -L/usr/X11R6/lib -lxfce4mcs-client -lxfce4util -lglib-2.0     
gcc -g -O2 -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 -pthread -Wl,--export-dynamic  ../common/.libs/libxfdesktop.a ../common/.libs/libxfdesktop-menu.a -L/usr/X11R6/lib /usr/lib/libgthread-2.0.so -lpthread /usr/lib/libxfcegui4.so -L/usr/X11/lib /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libpangoft2-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libfontconfig.so /usr/lib/libfreetype.so -lz /usr/lib/libexpat.so /usr/lib/libglitz.so -lpng12 -lXrender -lXext -lm /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libxfce4mcs-client.so /usr/lib/libstartup-notification-1.so -lSM -lICE -lX11 /usr/lib/libxfce4util.so /usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so -lrt
/usr/lib/gcc/i486-slackware-linux/3.4.6/../../../crt1.o(.text+0x18): In function `_start':
../sysdeps/i386/elf/start.S:115: undefined reference to `main'
xfdesktop-xfce-desktop.o(.text+0xd20): In function `xfce_desktop_realize':
/home/other/apps/xfce-svn/xfdesktop/src/xfce-desktop.c:480: undefined reference to `client_message_received'
collect2: ld returned 1 exit status
make[3]: *** [xfdesktop] Error 1
make[3]: Leaving directory `/home/other/apps/xfce-svn/xfdesktop/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/other/apps/xfce-svn/xfdesktop/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/other/apps/xfce-svn/xfdesktop'
make: *** [all] Error 2

I can't find which lib gives this function. And also, i've linked main.o compiled manually, because it's not compiled anywhere, so undefined main() is strange.
Thanks.

Offline

#2 2007-04-12 19:13:30

weibullguy
Member
From: Kalamazoo, Michigan, USA
Registered: 2007-01-17
Posts: 37
Website

Re: Can't compile xfdesktop

The function client_message_received is in the file xfdesktop/src/main.c.


1. Help the ReliaFree Project --> http://reliafree.sourceforge.net
2. Distribution --> Cross Linux from Scratch
3. Registered Linux user #413054
4. (C)LFS user #17727.
5. Ask smart --> http://www.catb.org/%7Eesr/faqs/smart-questions.html

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.009 seconds, 9 queries executed - Memory usage: 524.59 KiB (Peak: 525.43 KiB) ]