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

morgan henning morgan at hitechtx.com
Wed Sep 19 22:41:05 CEST 2007


Yeah, I tried that before I posted to the list :)  This is what I get when 
I try running the compilation command for just that object, and part of 
the reason I am confused.  Please advise if I am missing something:

morgan:/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 -lart_lgpl_2
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
morgan:/tmp/kdelibs-3.5.7/kdecore $

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

On Wed, 19 Sep 2007, Stefan Teleman wrote:

> On 9/19/07, morgan henning <morgan at hitechtx.com> wrote:
>
>> 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 ??
>
> This one is just a warning, and it's harmless.
>
> Add -lart_lgpl_2 to the link line. The linker should find it by
> default since it's in /usr/lib and you are building 32-bit.
>
> --Stefan
>
> -- 
> Stefan Teleman
> KDE e.V.
> stefan.teleman at gmail.com
> ___________________________________________________
> This message is from the kde-solaris mailing list.
> Account management:  https://mail.kde.org/mailman/listinfo/kde-solaris.
> Archives: http://lists.kde.org/.
> More info: http://www.kde.org/faq.html.
>


More information about the kde-solaris mailing list