libkdefx / relocation error

Nils Holland nils at thunderbridge.de
Fri May 23 19:15:21 BST 2003


Hi folks,

I've always compiled my KDE myself, and just today I wanted to move over to 
the new 3.1.2. So on a machine with gcc 3.2.3 and all other stuff relatively 
current, I first grabbed and successfully installed QT 3.1.2. I then tried to 
build kdelibs-3.1.2, but had to see this:

root at gaffa:/usr/src/kde/kdelibs-3.1.2/kdefx # make
[...]
libtool: link: warning: `-version-info' is ignored for programs
/bin/sh ../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor 
-Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith 
-Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE 
-Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new  
-DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT    
-o libkdefx.la -rpath /opt/kde312/lib -R /opt/kde312/lib -R 
/usr/lib/qt312/lib -R /usr/X11R6/lib  -L/usr/X11R6/lib -L/usr/lib/qt312/lib 
-L/opt/kde312/lib  -no-undefined -version-info 5:0:1 kpixmap.lo 
kpixmapsplitter.lo kpixmapeffect.lo kimageeffect.lo kdrawutil.lo kstyle.lo 
-lqt-mt  -lpng -lz -lm -lXext -lX11  -lSM -lICE -lpthread -lXrender
/usr/bin/ld: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../libgcc_s.so: 
warning: unexpected redefinition of `__divdi3 at GLIBC_2.0'
/usr/bin/ld: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../libgcc_s.so: 
warning: unexpected redefinition of `__umoddi3 at GLIBC_2.0'
/usr/bin/ld: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../libgcc_s.so: 
warning: unexpected redefinition of `__udivdi3 at GLIBC_2.0'
/usr/bin/ld: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../libgcc_s.so: 
warning: unexpected redefinition of `__moddi3 at GLIBC_2.0'

Now, these "unexpected redefinition" warnings didn't stop the compile process 
and they also appeared elsewhere and not only when it comes to libkdefx. 
However, the libkdefx thing probably probably lead up to this:

Making all in keramik
make[3]: Entering directory `/usr/src/kde/kdelibs-3.1.2/kstyles/keramik'
/bin/sh ../../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor 
-Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith 
-Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE 
-Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new  
-DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_COMPAT 
-UQT_NO_ASCII_CAST   -o genembed -L/usr/X11R6/lib -L/usr/lib/qt312/lib 
-L/opt/kde312/lib  -R /opt/kde312/lib -R /usr/lib/qt312/lib -R /usr/X11R6/lib 
genembed.o ../../kdefx/libkdefx.la
pics=`ls ./pics/*.png 2>/dev/null` ;\
./genembed $pics > pixmaps.keramik
lt-genembed: relocation error: 
/usr/src/kde/kdelibs-3.1.2/kdefx/.libs/libkdefx.so.4: undefined symbol: 
_ZN18QMetaObjectCleanUpC1EPKcPFP11QMetaObjectvE
make[3]: *** [keramikrc.h] Error 127
make[3]: Leaving directory `/usr/src/kde/kdelibs-3.1.2/kstyles/keramik'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/kde/kdelibs-3.1.2/kstyles'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/kde/kdelibs-3.1.2'
make: *** [all] Error 2

Any ideas what's happening here and what I should look into to get this 
straight again?

Bye,
Nils <nils at thunderbridge.de>
http://www.thunderbridge.de

-- 
gaffa.thunderbridge.de
Linux 2.4.21-rc2 #5 Fri May 9 23:19:05 CEST 2003 i686
  8:09pm  up 5 days,  7:49,  3 users,  load average: 0.80, 0.86, 0.55

___________________________________________________
This message is from the kde mailing list.
Account management:  http://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list