Re: arts fails to build on OpenSolaris

[email protected]
Newsgroups gmane.comp.kde.solaris
Message-ID <[email protected]>
On Sat, 4 Mar 2006 23:00:42 -0500
Stefan Teleman <[email protected]> wrote:

> On Saturday 04 March 2006 22:37, [email protected] 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:

ftp://ftp.kde.og/pub/kde/stable/3.4.3/contrib/Solaris/SUNSTUDIO10/SOURCE.PATCHES

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
oundserver'
/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
rts-1.5.1/mcop/.libs/libmcop.so.1)
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?

___________________________________________________
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.