Build fails for KDE_3_2_BRANCH with Konstruct !!

Izo I at siol.net
Thu Jan 29 08:59:24 GMT 2004


I am posting this again, and please, I could really use some help with 
this problem. I have put some thoughts on it and what I understand is:

- qt is properly built and installed
- genembed is properly linked against the libs in right directories.

What consfuses me is that the ldd lt-genembed does not show dependencies 
properly (see the ldd line some 30 lines below). That could mean that 
the binary has not been linked with proper  -rpath's which is not the 
case (see the g++ line below)

I just can not go further on and would appreciate any help that can move 
my kde-3.2.0rc1 "project".

Izo



autobuilds at carlos:~/c/KDE/320/konstruct/kde/kdelibs/work/kdelibs-3.1.95/kstyles/keramik> 
make
/bin/sh ../../libtool --silent --mode=link --tag=CXX g++  
-Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith 
-Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align 
-Wconversion -Wchar-subscripts -O2 -I/usr/local/kde320/include 
-I/usr/local/qt-3.2.3/include -I/usr/X11R6/include 
-L/usr/local/kde320/lib -L/usr/local/qt-3.2.3/lib -L/usr/X11R6/lib 
-I/usr/local/kde320/include -I/usr/local/qt-3.2.3/include 
-I/usr/X11R6/include -L/usr/local/kde320/lib -L/usr/local/qt-3.2.3/lib 
-L/usr/X11R6/lib -I/usr/local/kde320/include 
-I/usr/local/qt-3.2.3/include -I/usr/X11R6/include 
-L/usr/local/kde320/lib -L/usr/local/qt-3.2.3/lib -L/usr/X11R6/lib -O2 
-pipe -O2 -pipe -O2 -pipe -Wformat-security -Wmissing-format-attribute 
-fno-exceptions -fno-check-new -fno-common  -DQT_CLEAN_NAMESPACE 
-DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION 
-UQT_NO_ASCII_CAST  -L/usr/local/kde320/lib -L/usr/X11R6/lib 
-L/usr/local/qt-3.2.3/lib -L/usr/local/kde320/lib -L/usr/X11R6/lib 
-L/usr/local/qt-3.2.3/lib -L/usr/local/kde320/lib -L/usr/X11R6/lib 
-L/usr/local/qt-3.2.3/lib  -o genembed -L/usr/X11R6/lib 
-L/usr/local/qt-3.2.3/lib -L/usr/local/kde320/lib  -R 
/usr/local/kde320/lib -R /usr/local/qt-3.2.3/lib -R /usr/X11R6/lib 
genembed.o ../../kdefx/libkdefx.la
g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith 
-Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align 
-Wconversion -Wchar-subscripts -O2 -I/usr/local/kde320/include 
-I/usr/local/qt-3.2.3/include -I/usr/X11R6/include 
-I/usr/local/kde320/include -I/usr/local/qt-3.2.3/include 
-I/usr/X11R6/include -I/usr/local/kde320/include 
-I/usr/local/qt-3.2.3/include -I/usr/X11R6/include -O2 -pipe -O2 -pipe 
-O2 -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions 
-fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST 
-DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -UQT_NO_ASCII_CAST -o 
.libs/genembed genembed.o  -L/usr/local/kde320/lib 
-L/usr/local/qt-3.2.3/lib -L/usr/X11R6/lib ../../kdefx/.libs/libkdefx.so 
-lqt-mt -lpng -lz -lXext -lX11 -lSM -lICE -lpthread -lXrender 
/usr/lib/./libstdc++.so -lm -lc -lgcc_s -Wl,--rpath 
-Wl,/usr/local/kde320/lib -Wl,--rpath -Wl,/usr/lib/. -Wl,--rpath 
-Wl,/usr/local/qt-3.2.3/lib -Wl,--rpath -Wl,/usr/X11R6/lib
pics=`ls ./pics/*.png 2>/dev/null` ;\
./genembed $pics > pixmaps.keramik
/home/autobuilds/c/KDE/320/konstruct/kde/kdelibs/work/kdelibs-3.1.95/kstyles/keramik/.libs/lt-genembed: 
relocation error: 
/home/autobuilds/c/KDE/320/konstruct/kde/kdelibs/work/kdelibs-3.1.95/kdefx/.libs/libkdefx.so.4: 
undefined symbol: _ZN18QMetaObjectCleanUpC1EPKcPFP11QMetaObjectvE
make: *** [keramikrc.h] Error 127
autobuilds at carlos:~/c/KDE/320/konstruct/kde/kdelibs/work/kdelibs-3.1.95/kstyles/keramik> 
mc

autobuilds at carlos:/hda6/home/autobuilds/c/KDE/320/konstruct/kde/kdelibs/work/kdelibs-3.1.95/kstyles/keramik> 
ldd genembed
        not a dynamic executable
autobuilds at carlos:/hda6/home/autobuilds/c/KDE/320/konstruct/kde/kdelibs/work/kdelibs-3.1.95/kstyles/keramik> 
ldd .libs/lt-genembed
        libkdefx.so.4 => 
/home/autobuilds/c/KDE/320/konstruct/kde/kdelibs/work/kdelibs-3.1.95/kdefx/.libs/libkdefx.so.4 
(0x40014000)
        libqt-mt.so.3 => /usr/lib/./libqt-mt.so.3 (0x4003f000)
        libpng12.so.0 => /usr/lib/./libpng12.so.0 (0x40662000)
        libz.so.1 => /lib/libz.so.1 (0x406a1000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x406b0000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x406be000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x407b6000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x407bf000)
        libpthread.so.0 => /lib/i686/libpthread.so.0 (0x407d6000)
        libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x407eb000)
        libstdc++.so.5 => /usr/lib/./libstdc++.so.5 (0x407f0000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x408a4000)
        libm.so.6 => /lib/i686/libm.so.6 (0x408ac000)
        libc.so.6 => /lib/i686/libc.so.6 (0x408cf000)
        libGL.so.1 => /usr/lib/./libGL.so.1 (0x409ed000)
        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x40bb7000)
        libdl.so.2 => /lib/libdl.so.2 (0x40bce000)
        libXft.so.1 => /usr/X11R6/lib/libXft.so.1 (0x40bd1000)
        libfreetype.so.6 => /usr/lib/./libfreetype.so.6 (0x40bfc000)
        libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x40c3e000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x40c46000)
autobuilds at carlos:/hda6/home/autobuilds/c/KDE/320/konstruct/kde/kdelibs/work/kdelibs-3.1.95/kstyles/keramik> 
echo $LD_LIBRARY_PATH
/usr/local/qt-3.2.3/lib:/usr/local/kde-3.2.0/lib
autobuilds at carlos:/hda6/home/autobuilds/c/KDE/320/konstruct/kde/kdelibs/work/kdelibs-3.1.95/kstyles/keramik> 
ls /usr/local/qt-3.2.3/lib
libdesignercore.a    libeditor.a    libqassistantclient.a    
libqt-mt.prl  libqt-mt.so.3    libqt-mt.so.3.2.3  libqui.so    
libqui.so.1.0    pkgconfig
libdesignercore.prl  libeditor.prl  libqassistantclient.prl  
libqt-mt.so   libqt-mt.so.3.2  libqui.prl         libqui.so.1  
libqui.so.1.0.0


Izo wrote:

> Platform:
> SuSE-8.1 (i686, kernel-2.4.19-4GB), Qt-3.2.3, gcc-3.2
> Konstruct CVS tag KDE_3_2_BRANCH
>
>
> Enviroment:
> export QTDIR=/usr/local/qt-3.2.3
> export KDEDIR=/usr/local/kde-3.2.0
>
> ACDIR=/usr/local/autoconf-2.57
> AMDIR=/usr/local/automake-1.7.8
>
> export QMAKESPEC=$QTDIR/mkspecs/linux-g++
>
> export LD_LIBRARY_PATH=$QTDIR/lib:$KDEDIR/lib
> export LIBRARY_PATH=$LD_LIBRARY_PATH
>
> export PATH=$KDEDIR/bin:$QTDIR/bin:$ACDIR/bin:$AMDIR/bin:$PATH
>
>
> Making meta/kde:
> .....
> .....
> .....
> Making all in keramik
> make[6]: Entering directory 
> `/hda6/home/autobuilds/c/KDE/320/konstruct/kde/kdelibs/work/kdelibs-3.1.95/kstyles/keramik' 
>
> pics=`ls ./pics/*.png 2>/dev/null` ;\
> ./genembed $pics > pixmaps.keramik
> /hda6/home/autobuilds/c/KDE/320/konstruct/kde/kdelibs/work/kdelibs-3.1.95/kstyles/keramik/.libs/lt-genembed: 
> relocation error: 
> /hda6/home/autobuilds/c/KDE/320/konstruct/kde/kdelibs/work/kdelibs-3.1.95/kdefx/.libs/libkdefx.so.4: 
> undefined symbol: _ZN18QMetaObjectCleanUpC1EPKcPFP11QMetaObjectvE
> make[6]: *** [keramikrc.h] Error 127
> make[6]: Leaving directory 
> `/hda6/home/autobuilds/c/KDE/320/konstruct/kde/kdelibs/work/kdelibs-3.1.95/kstyles/keramik' 
>
>
>
> What am I doing wrong ?
>
> Izo
>
> ___________________________________________________
> This message is from the kde mailing list.
> Account management:  https://mail.kde.org/mailman/listinfo/kde.
> Archives: http://lists.kde.org/.
> More info: http://www.kde.org/faq.html.
>
> .
>

___________________________________________________
This message is from the kde mailing list.
Account management:  https://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