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>::assign(char &, char const &)mcopidl.o
istream::ios virtual table ../mcop/.libs/libmcop.so
ostream::write(char const *, int) mcopidl.o
string_char_traits<char>::compare(char const *, char const *, unsigned int)mcopidl.o
_IO_getc ../mcop/.libs/libmcop.so
ostream::operator<<(ostream &(*)(ostream &))mcopidl.o
ifstream::~ifstream(void) ../mcop/.libs/libmcop.so
endl(ostream &) mcopidl.o
string_char_traits<char>::set(char *, char const &, unsigned int)mcopidl.o
string_char_traits<char>::eos(void) mcopidl.o
istream::_skip_ws(void) ../mcop/.libs/libmcop.so
cerr mcopidl.o
streambuf::sungetc(void) ../mcop/.libs/libmcop.so
ostream::operator<<(char const *) mcopidl.o
ostream::operator<<(long) ../mcop/.libs/libmcop.so
string_char_traits<char>::copy(char *, char const *, unsigned int)mcopidl.o
ifstream::ios virtual table ../mcop/.libs/libmcop.so
string_char_traits<char>::length(char const *)mcopidl.o
fstreambase::fstreambase(int, char const *, int, int)../mcop/.libs/libmcop.so
ostream::flush(void) ../mcop/.libs/libmcop.so
string_char_traits<char>::move(char *, char const *, unsigned int)mcopidl.o
ios virtual table ../mcop/.libs/libmcop.so
ld: fatal: Symbol referencing errors. No output written to .libs/mcopidl
collect2: ld returned 1 exit status
make[2]: *** [mcopidl] Error 1
make[2]: Leaving directory `/home/telematics/user/tmw/kde-build/arts-1.2.0/mcopidl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/telematics/user/tmw/kde-build/arts-1.2.0'
make: *** [all] 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[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: fatal: recording name conflict: file `/usr/lib/libintl.so' and file `/bham/pd/packages/gettext-0.10.39/lib/libintl.so' provide identical dependency names: libintl.so.1 (possible multiple inclusion of the same 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
ld: fatal: File processing errors. No output written to .libs/mcopidl
collect2: ld returned 1 exit status
make[2]: *** [mcopidl] Error 1
make[2]: Leaving directory `/home/telematics/user/tmw/kde-build/arts-1.2.0/mcopidl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/telematics/user/tmw/kde-build/arts-1.2.0'
make: *** [all] 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.