[kde-solaris] Building KDE 3.5.7 on Solaris Express (SXDE)

morgan henning morgan at hitechtx.com
Wed Sep 19 09:04:27 CEST 2007


Hi... I've been beating my head on this for a while.  Granted, I've been 
up a while, but I don't get what the error is.  I am building KDE 3.5.7 on 
an AMD64 machine.  I'm building it all as 32-bit code.  I am using GCC 
4.1.2 (hand built on this machine).  I get this error when I try to build 
kdelibs:

gmake[4]: Entering directory `/tmp/kdelibs-3.5.7/kdecore'
/bin/bash ../libtool --silent --tag=CXX --mode=link g++  -Wno-long-long 
-Wundef -Wall -W -Wpointer-arith -O2 -Wno-non-virtual-dtor -fno-exceptions 
-fno-check-new -fno-common  -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST 
-DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION     -o kde-config -R 
/usr/local/lib -R /usr/local/lib -R /usr/local/lib  kde-config.o 
./libkdecore.la
ld: warning: file /usr/local/lib/libstdc++.so: attempted multiple 
inclusion of file
Undefined                       first referenced
   symbol                             in file
art_free(void*)                     ./.libs/libkdecore.so
art_alloc(unsigned int)             ./.libs/libkdecore.so
art_realloc(void*, unsigned int)    ./.libs/libkdecore.so
ld: fatal: Symbol referencing errors. No output written to 
.libs/kde-config
collect2: ld returned 1 exit status
gmake[4]: *** [kde-config] Error 1
gmake[4]: Leaving directory `/tmp/kdelibs-3.5.7/kdecore'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/tmp/kdelibs-3.5.7/kdecore'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/tmp/kdelibs-3.5.7/kdecore'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/tmp/kdelibs-3.5.7'
gmake: *** [all] Error 2

I am guessing these undefined symbols are in libart_lgpl_2.so, but I am 
lacking the proper syntax to tell the build where to find them.  The 
library doesn't have any permissions issues.  It's 32-bit.  My 
LD_LIBRARY_PATH is set properly.  Does anyone have some words of wisdom, 
or a post I can look back on ??  I didn't find much via Google that helped 
out, although I did find some interesting things...

Is is safe to ignore the, "ld: warning: file /usr/local/lib/libstdc++.so: 
attempted multiple inclusion of file" warning ??

Thanks in advance !!

-------------------
Morgan Henning
morgan at hitechtx.com


More information about the kde-solaris mailing list