[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-multimedia
Subject: Re: showstopper in the kdemultimedia package
From: Martin Vogt <mvogt () rhrk ! uni-kl ! de>
Date: 2000-08-09 16:44:54
[Download RAW message or body]
On Wed, Aug 09, 2000 at 04:05:32PM +0200, Martin Vogt wrote:
> On Wed, Aug 09, 2000 at 03:36:16PM +0200, Martin Vogt wrote:
> > On Wed, Aug 09, 2000 at 02:07:46PM +0200, Martin Vogt wrote:
> > >
> > >
> > >
> > > Hello,
> > >
> > >
> > > Yesterday I updated artsd from the 27.7 snap to 8.8.
> > >
> > > Mp3 crashed with SEGFAULT , mpeg video as well.
> > > Everything crashed.
> > >
> >
> > Maybe false alarm.
> > I have now checked the artd 9.8 snap, this seems to
> > work with the mpeglib/mpeglib_artsplug in the CVS.
> >
> > Is there a difference between the artsd snapshots and
> > the artsd in the CVS?
> >
>
> It seems to be the case:
> The artsd from KDE cvs is not linked against pthread,
> the artsd from the daily snap page, is.
>
Just checked the todays checkout from KDE CVS:
* now artsd is linked again against pthread.
fine, everything works again, but what happened yesterday?
Martin
> The ldd output:
> --------------
>
> artsd from KDE-CVS:
>
> mpeglib_artsplug]$ ldd /opt/kde-cvs/bin/artsd
> libsoundserver_idl.so.0 => /opt/kde-cvs/lib/libsoundserver_idl.so.0 (0x40014000)
> libkmedia2_idl.so.0 => /opt/kde-cvs/lib/libkmedia2_idl.so.0 (0x4002e000)
> libartsflow.so.0 => /opt/kde-cvs/lib/libartsflow.so.0 (0x40043000)
> libartsflow_idl.so.0 => /opt/kde-cvs/lib/libartsflow_idl.so.0 (0x400bc000)
> libmcop.so.0 => /opt/kde-cvs/lib/libmcop.so.0 (0x40116000)
> libdl.so.2 => /lib/libdl.so.2 (0x401aa000)
> libaudiofile.so.0 => /opt/kde-cvs/lib/libaudiofile.so.0 (0x401ae000)
> libstdc++-libc6.1-2.so.3 => /usr/lib/libstdc++-libc6.1-2.so.3 (0x401c0000)
> libm.so.6 => /lib/libm.so.6 (0x4020f000)
> libc.so.6 => /lib/libc.so.6 (0x4022d000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
>
>
> artsd from daily snap page:
> libsoundserver_idl.so.0 => /tmp/arts/lib/libsoundserver_idl.so.0 (0x40014000)
> libkmedia2_idl.so.0 => /tmp/arts/lib/libkmedia2_idl.so.0 (0x4002e000)
> libartsflow.so.0 => /tmp/arts/lib/libartsflow.so.0 (0x40043000)
> libartsflow_idl.so.0 => /tmp/arts/lib/libartsflow_idl.so.0 (0x400bc000)
> libmcop.so.0 => /tmp/arts/lib/libmcop.so.0 (0x40116000)
>
>
> libpthread.so.0 => /lib/libpthread.so.0 (0x401aa000)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
>
> libdl.so.2 => /lib/libdl.so.2 (0x401bd000)
> libaudiofile.so.0 => /opt/kde-cvs/lib/libaudiofile.so.0 (0x401c1000)
> libstdc++-libc6.1-2.so.3 => /usr/lib/libstdc++-libc6.1-2.so.3 (0x401d3000)
> libm.so.6 => /lib/libm.so.6 (0x40222000)
> libc.so.6 => /lib/libc.so.6 (0x40241000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
>
>
>
> > > Nothing worked!
> > >
> > > The reason is that somewhere between my 27.7 snap and 8.8
> > > artsd is not more linked against -lpthread.
> > >
> > >
> > > This fix enables (again) that artsd links
> > > under Linux with pthread.
> > >
> > > The fix below add a test for the OS
> > > in the configure.in.in and a ARTSPTHREAD
> > > environment variable in the Makefile.am
> > >
> > > We should put this fix in very quickly...
> > >
> > > regards,
> > >
> > > Martin
> > >
> > >
> > > Here are my changes with let it work on Linux.
> > >
> > >
> > > in the configure.in.in:
> > > -----------------------
> > >
> > > AC_MSG_CHECKING(Checking OS type)
> > > AC_SUBST(OS_TYPE)
> > > OS_TYPE=`name -s`
> > >
> > > case "$OS_TYPE" in
> > > AIX)
> > > AC_CHECK_LIB(pthread, pthread_create, [ARTSPTHREAD="-lpthread"])
> > > ;;
> > >
> > >
> > > Linux)
> > > AC_CHECK_LIB(pthread, pthread_create, [ARTSPTHREAD="-lpthread"])
> > > ;;
> > >
> > > *)
> > > AC_MSG_RESULT([Artsd will compile without thread])
> > > ;;
> > > esac
> > >
> > >
> > > AC_SUBST(ARTSPTHREAD)
> > >
> > >
> > > And in /arts/soundserver/Makefile.am (line 29):
> > > -----------------------------------------------
> > >
> > > artsd_LDADD = libsoundserver_idl.la $(FLOWLIBS) $(ARTSPTHREAD)
> > >
> > >
> > >
> > > _______________________________________________
> > > Kde-multimedia mailing list
> > > Kde-multimedia@master.kde.org
> > > http://master.kde.org/mailman/listinfo/kde-multimedia
> > _______________________________________________
> > Kde-multimedia mailing list
> > Kde-multimedia@master.kde.org
> > http://master.kde.org/mailman/listinfo/kde-multimedia
> _______________________________________________
> Kde-multimedia mailing list
> Kde-multimedia@master.kde.org
> http://master.kde.org/mailman/listinfo/kde-multimedia
_______________________________________________
Kde-multimedia mailing list
Kde-multimedia@master.kde.org
http://master.kde.org/mailman/listinfo/kde-multimedia
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic