[kde-solaris] Compiling arts-1.2.2 (kde 3.1.2)

Stefan Teleman steleman at nyc.rr.com
Sat Jun 14 17:56:09 CEST 2003


The problem now seems to be that libtool is calling the Sun ld 
explicitly to generate the *.la file, which is not going to work. :-)

I think the best (and easiest) thing to do, at this point, is to re-do 
a configure again [ :-( ]:

./configure [your favorite options] --with-pic --with-gnu-ld=no <-----

Make sure /usr/ccs/bin is in your path (configure runs as /bin/sh, so 
/usr/ccs/bin should be in your path before you start ./configure, so 
configure can pick it up.

Before you run configure again, you might want to do

find . -type f -name "libtool" -exec rm -f {} \; -print
find . -type f -name "Makefile" -exec rm -f {} \; -print

from the top of the arts source directory,  to get rid of any 
Makefiles and libtool files lingering around.

--Stefan

-----

On Saturday 14 June 2003 14:34, Basavaraj Karadakal wrote:
> Hi Stefan,
>      Thanks for the reply. I did a clean and
> reconfigured as follows
> ./configure --prefix=/home/users/tools/kde
> LD=/usr/ccs/bin/ld CCLD=/usr/ccs/bin/ld
> CXXLD=/usr/ccs/bin/ld
>
> When I build, now I see following error
>
> Making all in libltdl
> /home/users/tools/ksrc/arts-1.1.2/libltdl
> gmake[2]: Entering directory
> `/home/users/tools/ksrc/arts-1.1.2/libltdl'
> /bin/ksh ../libtool --silent --mode=compile gcc
> -DHAVE_CONFIG_H -I. -I. -I..   -DQT_THREAD_SUPPORT
> -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS
> -DSVR4  -O2   -c -o ltdl.lo `test -f 'ltdl.c' || echo
> './'`ltdl.c
> /bin/ksh ../libtool --silent --mode=link
> /usr/ccs/bin/ld  -O2     -o libltdlc.la   ltdl.lo -ldl
>
> libtool: link: unable to infer tagged configuration
> libtool: link: specify a tag with `--tag'
> gmake[2]: *** [libltdlc.la] Error 1
> gmake[2]: Leaving directory
> `/home/users/tools/ksrc/arts-1.1.2/libltdl'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory
> `/home/users/tools/ksrc/arts-1.1.2'
> gmake: *** [all] Error 2
>
> Am I missing some thing?
> Thanks
> -Raj
>
> --- Stefan Teleman <steleman at nyc.rr.com> wrote:
> > Are you using the GNU linker ? Do not use the GNU
> > linker on Solaris,
> > it's useless. Use the Sun linker (in
> > /usr/ccs/bin/ld).
> >
> > --Stefan
> >
> > -----
> >
> > On Saturday 14 June 2003 09:44, Basavaraj Karadakal
> >
> > wrote:
> > > Hi,
> > >    I am trying to compile arts-1.2.2 for solaris
> >
> > 2.7.
> >
> > > When I ran configure I got warning that the audio
> > > server could not be found on my system. I thought
> >
> > it's
> >
> > > safe to proceed and started the compilation. I am
> > > using gcc 2.9.5. I get following error
> > >
> > >
> > > libtool: link: warning: `-version-info' is ignored
> >
> > for
> >
> > > programs
> > > /bin/ksh ../libtool --silent --mode=link --tag=CXX
> >
> > g++
> >
> > >  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall
> > > -pedantic -W -Wpointer-arith -Wmissing-prototypes
> > > -Wwrite-strings -O2 -fno-exceptions -fno-check-new
> > > -ftemplate-depth-99    -o libmcop.la -rpath
> > > /home/users/tools/kde/lib -no-undefined
> >
> > -version-info
> >
> > > 1:0 buffer.lo connection.lo core.lo dispatcher.lo
> > > iomanager.lo object.lo socketconnection.lo
> > > tcpconnection.lo unixconnection.lo tcpserver.lo
> > > unixserver.lo objectmanager.lo factory.lo
> > > idlfilereg.lo ifacerepo_impl.lo mcoputils.lo
> > > startupmanager.lo md5.lo md5auth.lo
> >
> > referenceclean.lo
> >
> > > datapacket.lo asyncstream.lo notification.lo
> > > flowsystem.lo extensionloader.lo tmpglobalcomm.lo
> > > mcopconfig.lo connect.lo reference.lo type.lo
> > > trader_impl.lo dynamicrequest.lo anyref.lo
> >
> > loopback.lo
> >
> > > debug.lo delayedreturn.lo thread.lo
> >
> > dynamicskeleton.lo
> >
> > > -lsocket  -lnsl ../libltdl/libltdlc.la
> > > /usr/local/sparc-sun-solaris2.7/bin/ld:
> > > .libs/libmcop.so.1.0.0: undefined versioned symbol
> > > name __deregister_frame@@GCC_3.0
> > > /usr/local/sparc-sun-solaris2.7/bin/ld: failed to
> >
> > set
> >
> > > dynamic section sizes: Bad value
> > > collect2: ld returned 1 exit status
> > > gmake[2]: *** [libmcop.la] Error 1
> > > gmake[2]: Leaving directory
> > > `/home/users/tools/ksrc/arts-1.1.2/mcop'
> > > gmake[1]: *** [all-recursive] Error 1
> > > gmake[1]: Leaving directory
> > > `/home/users/tools/ksrc/arts-1.1.2'
> > > gmake: *** [all] Error 2
> > >
> > >
> > > can some one help me?
> > >
> > > Thanks
> > > -Raj
> > >
> > > __________________________________
> > > Do you Yahoo!?
> > > SBC Yahoo! DSL - Now only $29.95 per month!
> > > http://sbc.yahoo.com
> >
> > ___________________________________________________
> >
> > > 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.
> >
> > --
> > Stefan Teleman          'Nobody Expects the Spanish
> > Inquisition'
> > steleman at nyc.rr.com                          -Monty
> > Python
>
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com

-- 
Stefan Teleman          'Nobody Expects the Spanish Inquisition'
steleman at nyc.rr.com                          -Monty Python



More information about the kde-solaris mailing list