You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Monday, February 16th 2004, 5:58pm

Arts build crashes on Solaris 8

When trying to compile arts on solaris 8, the build process crashes out with the following messages :

[code:1]
make[2]: Entering directory `/home/telematics/user/tmw/kde-build/arts-1.2.0/mcopidl'
/bin/bash ../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -fno-exceptions -fno-check-new -fno-common -ftemplate-depth-99 -O0 -o mcopidl -L/home/telematics/software/qt32/lib -L/home/telematics/software/kde320/lib -L/home/telematics/software/misclibs/lib -L/home/telematics/software/cups/lib mcopidl.o yacc.o scanner.o namespace.o ../mcop/libmcop.la
ld: warning: file /bham/pd/packages/gettext-0.10.39/lib/libintl.so: linked to /bham/pd/lib/libintl.so: attempted multiple inclusion of file
ld: warning: file /bham/pd/packages/gcc-3.0/lib/gcc-lib/sparc-sun-solaris2.8/3.0/../../../libstdc++.so: linked to /bham/pd/packages/gcc-3.0/lib/libstdc++.so: attempted multiple inclusion of file
Undefined first referenced
symbol in file
string_char_traits<char>&#58;&#58;assign&#40;char &, char const &&#41;mcopidl.o
istream&#58;&#58;ios virtual table ../mcop/.libs/libmcop.so
ostream&#58;&#58;write&#40;char const *, int&#41; mcopidl.o
string_char_traits<char>&#58;&#58;compare&#40;char const *, char const *, unsigned int&#41;mcopidl.o
_IO_getc ../mcop/.libs/libmcop.so
ostream&#58;&#58;operator<<&#40;ostream &&#40;*&#41;&#40;ostream &&#41;&#41;mcopidl.o
ifstream&#58;&#58;~ifstream&#40;void&#41; ../mcop/.libs/libmcop.so
endl&#40;ostream &&#41; mcopidl.o
string_char_traits<char>&#58;&#58;set&#40;char *, char const &, unsigned int&#41;mcopidl.o
string_char_traits<char>&#58;&#58;eos&#40;void&#41; mcopidl.o
istream&#58;&#58;_skip_ws&#40;void&#41; ../mcop/.libs/libmcop.so
cerr mcopidl.o
streambuf&#58;&#58;sungetc&#40;void&#41; ../mcop/.libs/libmcop.so
ostream&#58;&#58;operator<<&#40;char const *&#41; mcopidl.o
ostream&#58;&#58;operator<<&#40;long&#41; ../mcop/.libs/libmcop.so
string_char_traits<char>&#58;&#58;copy&#40;char *, char const *, unsigned int&#41;mcopidl.o
ifstream&#58;&#58;ios virtual table ../mcop/.libs/libmcop.so
string_char_traits<char>&#58;&#58;length&#40;char const *&#41;mcopidl.o
fstreambase&#58;&#58;fstreambase&#40;int, char const *, int, int&#41;../mcop/.libs/libmcop.so
ostream&#58;&#58;flush&#40;void&#41; ../mcop/.libs/libmcop.so
string_char_traits<char>&#58;&#58;move&#40;char *, char const *, unsigned int&#41;mcopidl.o
ios virtual table ../mcop/.libs/libmcop.so
ld&#58; fatal&#58; Symbol referencing errors. No output written to .libs/mcopidl
collect2&#58; ld returned 1 exit status
make&#91;2&#93;&#58; *** &#91;mcopidl&#93; Error 1
make&#91;2&#93;&#58; Leaving directory `/home/telematics/user/tmw/kde-build/arts-1.2.0/mcopidl'
make&#91;1&#93;&#58; *** &#91;all-recursive&#93; Error 1
make&#91;1&#93;&#58; Leaving directory `/home/telematics/user/tmw/kde-build/arts-1.2.0'
make&#58; *** &#91;all&#93; Error 1
[/code:1]
I can change my LD_LIBRARY_PATH to prevent this error, but I just end up with a different one instead eg :
[code:1]
Making all in mcopidl
make&#91;2&#93;&#58; Entering directory `/home/telematics/user/tmw/kde-build/arts-1.2.0/mcopidl'
/bin/bash ../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -fno-exceptions -fno-check-new -fno-common -ftemplate-depth-99 -O0 -o mcopidl -L/home/telematics/software/qt32/lib -L/home/telematics/software/kde320/lib -L/home/telematics/software/misclibs/lib -L/home/telematics/software/cups/lib mcopidl.o yacc.o scanner.o namespace.o ../mcop/libmcop.la
ld&#58; fatal&#58; recording name conflict&#58; file `/usr/lib/libintl.so' and file `/bham/pd/packages/gettext-0.10.39/lib/libintl.so' provide identical dependency names&#58; libintl.so.1 &#40;possible multiple inclusion of the same file&#41;
ld&#58; warning&#58; file /bham/pd/packages/gcc-3.0/lib/gcc-lib/sparc-sun-solaris2.8/3.0/../../../libstdc++.so&#58; linked to /bham/pd/packages/gcc-3.0/lib/libstdc++.so&#58; attempted multiple inclusion of file
ld&#58; fatal&#58; File processing errors. No output written to .libs/mcopidl
collect2&#58; ld returned 1 exit status
make&#91;2&#93;&#58; *** &#91;mcopidl&#93; Error 1
make&#91;2&#93;&#58; Leaving directory `/home/telematics/user/tmw/kde-build/arts-1.2.0/mcopidl'
make&#91;1&#93;&#58; *** &#91;all-recursive&#93; Error 1
make&#91;1&#93;&#58; Leaving directory `/home/telematics/user/tmw/kde-build/arts-1.2.0'
make&#58; *** &#91;all&#93; Error 1
[/code:1]

Arts 1.1.4 builds correctly using the same configure settings, build environment and compiler (gcc 2.95 - yes I know that gcc 3 is mentioned up in the debug output above), so I can only conclude that something has changed in the arts build process that is causing this error.

2

Tuesday, February 17th 2004, 2:21pm

Kdelibs crashes too....

I eventually gave up on arts and am now trying to compile kdelibs (using --without-arts), but am dismayed to discover that it also crashes out with similar errors :

[code:1]
Making all in client
make&#91;4&#93;&#58; Entering directory `/home/telematics/user/tmw/kde-build/kdelibs-3.2.0/dcop/client'
/bin/bash ../../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -L/home/telematics/software/qt32/lib -L/home/telematics/software/kde320/lib -L/home/telematics/software/misclibs/lib -L/home/telematics/software/cups/lib -L/bham/pd/packages/bzip2-1.0.2/lib/ -o dcop dcop.o -lqt-mt -lz -lpng -lz -lm -lXext -lX11 -lsocket -lnsl -lSM -lICE -lpthread ../libDCOP.la
ld&#58; warning&#58; file /bham/pd/packages/gcc-3.0/lib/gcc-lib/sparc-sun-solaris2.8/3.0/../../../libstdc++.so&#58; linked to /bham/pd/packages/gcc-3.0/lib/libstdc++.so&#58; attempted multiple inclusion of file
Undefined first referenced
symbol in file
__builtin_delete dcop.o &#40;symbol belongs to implicit dependency /bham/pd/packages/gcc-2.95.3/lib/libstdc++.so.2.10.0&#41;
__builtin_new dcop.o &#40;symbol belongs to implicit dependency /bham/pd/packages/gcc-2.95.3/lib/libstdc++.so.2.10.0&#41;
__builtin_vec_new dcop.o &#40;symbol belongs to implicit dependency /bham/pd/packages/gcc-2.95.3/lib/libstdc++.so.2.10.0&#41;
__builtin_vec_delete dcop.o &#40;symbol belongs to implicit dependency /bham/pd/packages/gcc-2.95.3/lib/libstdc++.so.2.10.0&#41;
__rtti_si dcop.o &#40;symbol belongs to implicit dependency /bham/pd/packages/gcc-2.95.3/lib/libstdc++.so.2.10.0&#41;
ld&#58; fatal&#58; Symbol referencing errors. No output written to .libs/dcop
collect2&#58; ld returned 1 exit status
make&#91;4&#93;&#58; *** &#91;dcop&#93; Error 1
make&#91;4&#93;&#58; Leaving directory `/home/telematics/user/tmw/kde-build/kdelibs-3.2.0/dcop/client'
make&#91;3&#93;&#58; *** &#91;all-recursive&#93; Error 1
make&#91;3&#93;&#58; Leaving directory `/home/telematics/user/tmw/kde-build/kdelibs-3.2.0/dcop'
make&#91;2&#93;&#58; *** &#91;all&#93; Error 1
make&#91;2&#93;&#58; Leaving directory `/home/telematics/user/tmw/kde-build/kdelibs-3.2.0/dcop'
make&#91;1&#93;&#58; *** &#91;all-recursive&#93; Error 1
make&#91;1&#93;&#58; Leaving directory `/home/telematics/user/tmw/kde-build/kdelibs-3.2.0'
make&#58; *** &#91;all&#93; Error 1
[/code:1]


I repeat that i'm using the same build environment that worked sucessfully for kde 3.1.4. If anybody out there has got any ideas as to why the kde build process might now be failing so badly on solaris, I would very much like to know. Otherwise I shall assume that this is a bug in 3.2 and report it to bugzilla.