Re: Playlests Broken in 2.2.5

Kristian Kvilekval <[email protected]> Tue, 24 Feb 2004 11:23:00 -0800
Newsgroups gmane.comp.audio.zinf.devel
Message-ID <1077650580.809.155.camel@krispc>
OK.. I think I've found the problem.

libhttp (where the symbol _ZN4HttpC1EP9FAContext ) is defined
is actually only included when the zinf ui is loaded.  In your
case the UI object is never loaded so voila, the linker never finds
it.

I've patched zinf- and tried it out.

Add this plm/playlist/pls/Makefile.am
  pls_plf_la_LIBADD = $(top_builddir)/lib/http/libhttp.la


Add this plm/playlist/m3u/Makefile.am
  m3u_plf_la_LIBADD = $(top_builddir)/lib/http/libhttp.la

Seems to work.

The id3 bug does seem to be an old version of libid3


On Tue, 2004-02-24 at 05:32, Steve Holmes wrote:
> I did the queries you asked for and it is below.
> Script started on Tue Feb 24 06:26:19 2004
> steve@lnx3:~$ uname -a
> 
> Linux lnx3 2.4.24 #1 Sun Feb 22 16:24:29 MST 2004 i686 unknown
> 
> steve@lnx3:~$ gcc -v
> 
> Reading specs from /usr/lib/gcc-lib/i486-slackware-linux/3.2.3/specs
> 
> Configured with: ../gcc-3.2.3/configure --prefix=/usr --enable-shared --enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --target=i486-slackware-linux --host=i486-slackware-linux
> 
> Thread model: posix
> 
> gcc version 3.2.3
> 
> steve@lnx3:~$ ldd zinf-2.2.5/plugins/id3lib.mdf
> 
> 	libz.so.1 => /usr/lib/./libz.so.1 (0x40008000)
> 
> 	libid3-3.8.so.0 => /usr/local/lib/libid3-3.8.so.0 (0x4001b000)
> 
> 	libstdc++.so.5 => /usr/lib/./libstdc++.so.5 (0x40073000)
> 
> 	libm.so.6 => /lib/libm.so.6 (0x40124000)
> 
> 	libc.so.6 => /lib/libc.so.6 (0x40147000)
> 
> 	libgcc_s.so.1 => /usr/lib/./libgcc_s.so.1 (0x4027d000)
> 
> 	libstdc++-libc6.2-2.so.3 => /usr/i486-slackware-linux/lib/libstdc++-libc6.2-2.so.3 (0x40286000)
> 
> 	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
> 
> steve@lnx3:~$ exit
> Script done on Tue Feb 24 06:29:35 2004
> 
> 
> On Mon, Feb 23, 2004 at 09:25:00PM -0800, Kristian Kvilekval wrote:
> > 
> > Sorry if you already posted this, but what sort of system are using.
> > 
> > $ uname -a
> > $ gcc -v 
> >  
> >   Do you have recent version of libid3?
> > $ ldd plugins/id3lib.mdf
> >         libz.so.1 => /usr/lib/libz.so.1 (0x40017000)
> >         libid3-3.8.so.2 => /usr/lib/libid3-3.8.so.2 (0x40029000)
> >         libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x40077000)
> >         libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x400db000)
> >         libm.so.6 => /lib/tls/libm.so.6 (0x40194000)
> >         libc.so.6 => /lib/tls/libc.so.6 (0x401b7000)
> >         libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x402f0000)
> >         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
> > 
> > 
> > Thanks.
> > 
> > 
> > On Mon, 2004-02-23 at 20:56, Steve Holmes wrote:
> > > Before I just read your message, I completely removed zinf from my
> > > system.  I then opened up the zinf-2.2.5 and did a make clean followed
> > > by a ./configure with no specified options.  I then did a make then
> > > ran the following script session.
> > > ----- begin script -----
> > > Script started on Mon Feb 23 21:43:42 2004
> > > steve@lnx3:~$ cd zinf-2.2.5
> > > 
> > > steve@lnx3:~/zinf-2.2.5$ base/zinf -ui cmdline ~/acbri.m3u
> > > 
> > > ./plugins/m3u.plf: undefined symbol: _ZN4HttpC1EP9FAContext
> > > 
> > > ./plugins/pls.plf: undefined symbol: _ZN4HttpC1EP9FAContext
> > > 
> > > ./plugins/id3lib.mdf: undefined symbol: _ZNK9ID3_Frame5GetIDEv
> > > 
> > > 
> > > 
> > > Command Line Interface
> > > 
> > > 
> > > 
> > >  * q    Quit
> > > 
> > >  * +/=  Next Song
> > > 
> > >  * -    Prev Song
> > > 
> > >  * p    Pause / UnPause
> > > 
> > >  * s    Shuffle
> > > 
> > > 
> > > 
> > >  * f    Fast forward 10 seconds
> > > 
> > >  * F    Fast forward 1 min
> > > 
> > >  * j    Fast forward 10 min
> > > 
> > > 
> > > 
> > >  * b    Skip backwards 10 seconds
> > > 
> > >  * B    Skip backwards 1 min
> > > 
> > >  * J    Skip backwards 10 min
> > > 
> > > 
> > > 
> > >  * h    Print these usage instructions
> > > 
> > >  * ?    Print info including current location in file
> > > 
> > > 
> > > 
> > > >Skipped corrupted file.
> > > 
> > > steve@lnx3:~/zinf-2.2.5$ exit
> > > Script done on Mon Feb 23 21:45:42 2004
> > > 
> > > So the plugins directory is all newly compiled modules.
> > > 
> > > On Mon, Feb 23, 2004 at 06:30:43PM -0800, Kristian G. Kvilekval wrote:
> > > > Sorry in that case you are fine, 
> > > > under a source install it will go into /usr/local.   
> > > > It does appear to a be a problem with the http input. 
> > > > 
> > > > I did the following and it working fine.
> > > > 
> > > > $ echo  http://acbradio.org:8550 > /home/music/test.m3u
> > > > $ zinf /home/music/test.m3u
> > > > 
> > > > which is doesn't work for you.  The symbols it is looking
> > > > should be there.  Could you check the install dates for
> > > > those plugins?
> > > > 
> > > > 
> > > > On Mon, 2004-02-23 at 18:06, Steve Holmes wrote:
> > > > > I did a raw configure/make/make install to build and I deleted my
> > > > > .zinf directory before running it.
> > > > > ----- configure options -----
> > > > > #!/bin/sh
> > > > > # Configure zinf audio player version 2.2.5
> > > > > ./configure --enable-cmdline --disable-esd --disable-esdtest --disable-arts --disable-gdk_pixbuftest --disable-orbittest
> > > > > 
> > > > > With this setup, /usr/local/... appears to be the default.
> > > > > 
> > > > > On Mon, Feb 23, 2004 at 05:49:48PM -0800, Kristian G. Kvilekval wrote:
> > > > > > How did you install zinf?   Using a debian or rpm package you should 
> > > > > > not even be searching /usr/local.  Are you using an old preference file?
> > > > > > It is best to always delete and reset your preferences after a new
> > > > > > install of zinf (smooth upgrades just haven't been a priority lately).
> > > > > > 
> > > > > > In this case,  you can try to modify your library 
> > > > > > path in ~/.zinf/preferences to point to the new installation or 
> > > > > > try removing all old instances of zinf and your ~/.zinf directory.
> > > > > > Reinstall your package.   
> > > > > > 
> > > > > > To Make sure you are getting the right one, try 
> > > > > > 
> > > > > > $ which zinf 
> > > > > > /usr/bin/zinf
> > > > > > 
> > > > > > and rerun from the zinf top. 
> > > > > > 
> > > > > > $ zinf
> > > > > > 
> > > > > > Hope that works for you.   
> > > > > > 
> > > > > > On Mon, 2004-02-23 at 17:34, Steve Holmes wrote:
> > > > > > > On Mon, Feb 23, 2004 at 03:21:05PM -0800, Kristian G. Kvilekval wrote:
> > > > > > > > I have *not* been able to confirm this bug.
> > > > > > > > 
> > > > > > > > I launched 
> > > > > > > > 
> > > > > > > >  zinf -ui cmdline /home/music/bjork-telegram.m3u
> > > > > > > > 
> > > > > > > > and was able to play normally.
> > > > > > > > 
> > > > > > > > "Corrupted file" occurs usually when zinf cannot
> > > > > > > > find the correct input plugin for the audio data.
> > > > > > > > What is in you m3u file?
> > > > > > > 
> > > > > > > I will insert the file below:
> > > > > > > http://acbradio.org:8550
> > > > > > > 
> > > > > > > I do wonder if the following errors have something to do with this?
> > > > > > > Whenever I start zinf, I get the following errors before it will play
> > > > > > > a single file; they seem to relate possibly.
> > > > > > > /usr/local/lib/zinf/plugins/m3u.plf: undefined symbol: _ZN4HttpC1EP9FAContext
> > > > > > > /usr/local/lib/zinf/plugins/pls.plf: undefined symbol: _ZN4HttpC1EP9FAContext
> > > > > > > /usr/local/lib/zinf/plugins/id3lib.mdf: undefined symbol: _ZNK9ID3_Frame5GetIDEv
> > > > > > > 
> > > > > > > Thanks for any help.
> > > > > > -- 
> > > > > > email:[email protected] office:(805)893-4276 http://www.cs.ucsb.edu/~kris
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > -------------------------------------------------------
> > > > > > SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> > > > > > Build and deploy apps & Web services for Linux with
> > > > > > a free DVD software kit from IBM. Click Now!
> > > > > > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> > > > > > _______________________________________________
> > > > > > Zinf-devel mailing list
> > > > > > [email protected]
> > > > > > https://lists.sourceforge.net/lists/listinfo/zinf-devel
> > > > > > 
> > > > > > 
> > > > -- 
> > > > email:[email protected] office:(805)893-4276 http://www.cs.ucsb.edu/~kris
> > > > 
> > > > 
> > > > 
> > > > -------------------------------------------------------
> > > > SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> > > > Build and deploy apps & Web services for Linux with
> > > > a free DVD software kit from IBM. Click Now!
> > > > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> > > > _______________________________________________
> > > > Zinf-devel mailing list
> > > > [email protected]
> > > > https://lists.sourceforge.net/lists/listinfo/zinf-devel
> > > > 
> > > > 
> > -- 
> > Kristian G. Kvilekval
> > email:[email protected] office:(805)893-4276 http://www.cs.ucsb.edu/~kris
> > 
> > 
> > 
> > -------------------------------------------------------
> > SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> > Build and deploy apps & Web services for Linux with
> > a free DVD software kit from IBM. Click Now!
> > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> > _______________________________________________
> > Zinf-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/zinf-devel
> > 
> > 
-- 
Kristian G. Kvilekval
email:[email protected] office:(805)893-4276 http://www.cs.ucsb.edu/~kris



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click