problems linking kdesktop
Stefan Gehn
sgehn at gmx.net
Sat Jul 19 12:23:13 BST 2003
Moin,
Yesterday I did a make clean in kdebase and removed all Makefile + Makefile.in
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.la.closure ./
kdesktop/kdesktop_la_closure.lo ./kdesktop/kdeinit_kdesk top.la.lo ./
kdesktop/libkdeinit_kdesktop.la
*** Warning: Linking the executable ./kdesktop/kdesktop.la.closure against the
loadable module
*** libkdeinit_kdesktop.so is not portable!
./kdesktop/.libs/kdeinit_kdesktop.la.o(.text+0x0): 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_ kdesktop.la.o
collect2: ld returned 1 exit status
make: *** [kdesktop/kdesktop.la.closure] Error 1
Anybody knows why this happens? My system is using glibc 2.3.1, in case that's
important :)
Bye, Stefan aka mETz
--
sgehn_AT_gmx.net | ICQ#51123152 | Moege der Pinguin mit euch sein
More information about the kde-core-devel
mailing list