[kde-solaris] arts fails to build on OpenSolaris

segv at netctl.net segv at netctl.net
Sun Mar 5 14:14:45 CET 2006

On Sat, 4 Mar 2006 23:00:42 -0500
Stefan Teleman <steleman at nyc.rr.com> wrote:

> On Saturday 04 March 2006 22:37, segv at netctl.net wrote:
> > Hi, I'm building audio/arts from NetBSD's pkgsrc on OpenSolaris
> > with SunStudio 11 compilers. It fails with the following message.
> > Any ideas how to fix this?
> >
> > /opt/pkg.obj/audio/arts/work.e450-dsl/arts-1.5.1/mcop/.libs/libmcop
> >.so: linked to ../mcop/.libs/libmcop.so: attempted multiple
> > inclusion of file Undefined                       first referenced
> >  symbol                             in file
> > gsl_g_log                          
> > ../flow/gsl/.libs/libgsl.a(gslartsthreads.o)
> > gsl_g_print_fd         
> >              ../flow/gsl/.libs/libgsl.a(gslartsthreads.o) ld:
> > fatal: Symbol referencing errors. No output written
> > to .libs/libartsflow.so.1.0.0 gmake[3]: 
> You may want to review the SunStudio arts patches for KDE 3.4.3 (arts 
> hasn't changed between arts-1.4.3 and arts-1.5.1).

Thanks for the pointers, I have applied all patches located at:


It fixed the problem described above, however it now fails in the following stage:

Making all in soundserver
gmake[2]: Entering directory `/opt/pkg.obj/audio/arts/work.e450-lan/arts-1.5.1/s
/bin/ksh ../libtool --silent --tag=CXX --mode=link CC  -DNDEBUG -DNO_DEBUG -xO3 
-xtarget=ultra -features=%all -I/opt/pkg/include -I/opt/pkg/qt3/include -DGLX_GL
XEXT_LEGACY -I/opt/pkg/include/freetype2 -I/usr/include    -L/opt/pkg/qt3/lib -L
/opt/pkg/lib -Wl,-R/opt/pkg/qt3/lib -Wl,-R/opt/pkg/lib -L/usr/lib -Wl,-R/usr/lib
 -L/usr/openwin/lib -Wl,-R/usr/openwin/lib -o libkmedia2_idl.la -rpath /opt/pkg/
lib -no-undefined  -version-info 1:0 -L/opt/pkg/lib -L/opt/pkg/qt3/lib -L/usr/op
enwin/lib   -mt -L/opt/pkg/qt3/lib -L/opt/pkg/lib -Wl,-R/opt/pkg/qt3/lib -Wl,-R/
opt/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/openwin/lib -Wl,-R/usr/openwin/lib 
kmedia2.lo ../flow/libartsflow.la -lintl -liconv
Undefined                       first referenced
 symbol                             in file
Arts::EnumDef Arts::Object_skel::_queryEnum(const std::string &) .libs/kmedia2.o
  (symbol belongs to implicit dependency /opt/pkg.obj/audio/arts/work.e450-lan/a
Arts::Type::_staticTypeCount    .libs/kmedia2.o  (symbol belongs to implicit dep
endency /opt/pkg.obj/audio/arts/work.e450-lan/arts-1.5.1/mcop/.libs/libmcop.so.1

and loads of other errors referring to libmcop.so.1

Maybe libmcop.so.1 is not included during link stages in the Makefile? Any idea how to fix this?

More information about the kde-solaris mailing list