Konstruct problem building KDE 3.2.2

Brendon Oliver brendon.oliver at redsheriff.com
Fri Jun 4 07:02:46 CEST 2004


Hi all,

I wanted to build KDe 3.2.2 on my alpha box (Debian 3.0) using konstruct.
Everything has been compiling just fine until it gets to linking
libkontact in kdepim.  It barfs with the following error:

/bin/sh ../../libtool --silent --mode=link --tag=CXX g++ 
-Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W
-Wpointer-arith -Wwrite-strings -O2 -I/opt/kde3.2.2/include
-I/usr/local/qt/include -I/usr/X11R6/include -L/opt/kde3.2.2/lib
-L/usr/local/qt/lib -L/usr/X11R6/lib -I/opt/kde3.2.2/include
-I/usr/local/qt/include -I/usr/X11R6/include -L/opt/kde3.2.2/lib
-L/usr/local/qt/lib -L/usr/X11R6/lib
 -I/usr/local/include/freetype2 -I/usr/local/include/freetype2
-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 -L/opt/kde3.2.2/lib
-L/usr/X11R6/lib -L/usr/local/qt/lib -L/opt/kde3.2.2/lib -L/usr/X11R6/lib
-L/usr/local/qt/lib  -o kontact -L/usr/X11R6/lib -L/usr/local/qt/lib
-L/opt/kde3.2.2/lib  -R /opt/kde3.2.2/lib -R /usr/local/qt/lib -R
/usr/X11R6/lib -lkutils kontact.all_cpp.o  -lkparts
../../libkdepim/libkdepim.la ../../kontact/interfaces/libkpinterfaces.la
libkontact.la
/usr/bin/ld: .libs/kontact: hidden symbol `__dso_handle' in
/usr/lib/gcc-lib/alpha-linux/3.3.2/crtbegin.o is referenced by DSO
collect2: ld returned 1 exit status
make[5]: *** [kontact] Error 1
make[5]: Leaving directory
`/usr/local/src/konstruct/kde/kdepim/work/kdepim-3.2.2/kontact/src

I've googled for the error message about __dso_handle, but all the
solutions it turned up basically amount to "don't use /usr/bin/ld directly
to link, let g++ -shared do it for you", but given that the linking is
being performed via libtool, I'm not sure where to go from here.  Is it
possible to get libtool to use g++ instead of ld directly to do the
linking?

(I don't know if it's relevant or not, but the references is saw to my
problem were all on i386 platform, and none were kde-specific - all seemed
to be related to linking programs / libraries in general, so I'm hoping
it's not an alpha-specific issue).  As you can see from the messages, I'm
using gcc 3.3.2 to compile.

I did see one reference to updating binutils to the latest version, but
saw nothing to indicate whether that would actually fix the problem.  Up
until this point, everything has compiled beautifully.

Suggestions anyone?

Thanks & regards,

- Brendon



More information about the kde-quality mailing list