Re: Building KDE 3.5.7 on Solaris Express (SXDE)

morgan henning <[email protected]>
Newsgroups gmane.comp.kde.solaris
Message-ID <[email protected]>
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
[email protected]

On Wed, 19 Sep 2007, Stefan Teleman wrote:

> On 9/19/07, morgan henning <[email protected]> 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.
> [email protected]
> ___________________________________________________
> 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.
>
___________________________________________________
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.