[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-solaris
Subject:    Re: [kde-solaris] compilation error on Solaris 2.6
From:       Eva Brucherseifer <eva () kde ! org>
Date:       2001-08-29 8:44:25
[Download RAW message or body]

Hi Lei,

there are installation instructions for KDE on Solaris at
http://www.nada.kth.se/hacks/kde2solaris2-6.html

About your problem they say:

<cite>
Several files under kdelibs/arts/{mcop,x11} and 
kdemultimedia/arts/modules/freeverb/objectcache_impl.cc need to be compiled 
with make CXX="g++ -g", otherwise you get this error: 
/usr/ccs/bin/as: "/var/tmp/ccku2fxY.s", line 4071: error: can't compute value 
of an expression involving an external symbol


The following was fixed in KDE 2.1: kdelibs/dcop/dcopc.c need to be compiled 
with make CC="gcc -ansi", otherwise you get this error: 
/usr/local/hacks/src2/kde/kdelibs/dcop/dcopc.c:206: `sz_' undeclared (first 
use in this function)
...
</cite>

hope it works,
eva



On Wednesday 29 August 2001 04:00, Lei YIN wrote:
> Hi, there:
>
> If you received this quesion twice, I am sorry about that coz it's
> the first time I came here I sent the same question to this list while I
> were not a member of this list yet.
>
> When I tried to compile kdemultimedia-2.2, I met the compilation error in:
> kdemultimedia-2.2/arts/modules directory
>
> The error is shown as:
> ----
> c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../arts/runtime -I../../arts/midi
> -I../../arts/midi -I../../arts/gui/common -I../../arts/gui/common
> -I./freeverb -I/tools/local/sparc-solaris/kde-2.2/include/arts
> -I/tools/local/sparc-solaris/kde-2.2/include
> -I/tools/local/sparc-solaris/qt/include
> -I/tools/local/sparc-solaris/include -D_REENTRANT
> -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4
> -I/tools/local/sparc-solaris/kde-2.2/include -I/usr/demo/SOUND/include -O2
> -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT
> -DQT_NO_ASCII_CAST -c objectcache_impl.cc  -fPIC -DPIC -o
> .libs/objectcache_impl.o
> /usr/ccs/bin/as: "/var/tmp/cczgYKZb.s", line 2056: error: can't compute
> value of an expression involving an external symbol
> make[4]: *** [objectcache_impl.lo] Error 1
> -----
>
> Actually, the first time I tried to compile this directory, the error was
> different with this one, it's known as:
> ----
> ld: warning: relocation error: R_SPARC_32: file .libs/objectcache_impl.o:
>         external symbolic relocation against non-allocatable section .stab;
>         cannot be processed at runtime: relocation ignored
> Undefine
> ----
>
> So, are these two errors caused by compiler "gcc"? Could you please tell me
> how to fix it?
>
> Thanks in advance.
>
> Regards,
>
> Leo
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
> ___________________________________________________
> This message is from the kde-solaris mailing list.
> Account management:  http://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:  http://mail.kde.org/mailman/listinfo/kde-solaris.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic