problems linking kdesktop

Stefan Gehn sgehn at
Sat Jul 19 12:23:13 BST 2003


Yesterday I did a make clean in kdebase and removed all Makefile + 
to make sure I don't have old makefile cruft left and started from scratch 
using unsermake. Now I cannot link kdesktop anymore.
The errors are:

/bin/sh ./libtool --silent --mode=link --tag=CXX g++  -L/usr/X11R6/lib -L/usr/
local/kde/lib  -module -avoid-version -module -no-undefine   d  -R /usr/
local/kde/lib -R /usr/X11R6/lib  -o ./kdesktop/ ./
kdesktop/kdesktop_la_closure.lo ./kdesktop/kdeinit_kdesk ./

*** Warning: Linking the executable ./kdesktop/ against the 
loadable module
*** is not portable!
./kdesktop/.libs/ In function `main':
: multiple definition of `main'
./kdesktop/.libs/kdesktop_la_closure.o(.text+0x0): first defined here
/usr/bin/ld: Warning: size of symbol `main' changed from 13 in ./kdesktop/.
libs/kdesktop_la_closure.o to 46 in ./kdesktop/.libs/kdeinit_
collect2: ld returned 1 exit status
make: *** [kdesktop/] Error 1

Anybody knows why this happens? My system is using glibc 2.3.1, in case that's 
important :)

Bye, Stefan aka mETz
-- | ICQ#51123152 | Moege der Pinguin mit euch sein

More information about the kde-core-devel mailing list