[MPlayer-users] no cdda cddb

John Brown johnbrown105 at hotmail.com
Wed Nov 8 14:23:16 CET 2006


Raena Lea-Shannon wrote:
>On Wednesday 08 November 2006 02:47, mail at kraymer.de wrote:
>>>On Wednesday 08 November 2006 01:21, John Brown wrote:
>>>>Raena Lea-Shannon  wrote:
>>>>>Running Ubuntu Dapper for x64
>>>>>Mplayer cannot find cds in the cdrom/dvd/rw drive
>>>>>I have searched posts and docs and checked the config.log and cannot
>>>>>see the
>>>>>problem. Mplayer has no trouble reading dvds in the same drive. It
>>>>>worked OK witj older mplayer on the same machine.
>>>>>
>>>>>error/stdout log is
>>>>>
>>>>>MPlayer 1.0rc1-4.0.3 (C) 2000-2006 MPlayer Team
>>>>>CPU: AMD Athlon(tm) 64 Processor 3800+ (Family: 15, Model: 47,
>>>>>Stepping:
>>>>>2) CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
>>>>>Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
>>>><snip>
>>>>
>>>>>Playing cdda://.
>>>>>get_path('sub/') -> '/home/raena/.mplayer/sub/'
>>>>>[file] No filename
>>>>>Failed to open cdda://.
>>>>You need to install cdparanoia or libcdio and rebuild MPlayer.
>>>>
>>>>
>>>I installed cdparanoia and checked that libcdio was there and I have
>>>tried  compiling with --with-cdparanoialibdir=/usr/lib/ and still
>>>mplayer will not  see the cd.
>>
>>Do you have the according -dev packages too? They are needed for
>>compilation.
>>
>>
>
>I did not, so I installed them and the confog.log now shows cdparanoia OK 
>but will not make. Here is the make log:
>.0 -lglib-2.0 -L/usr/lib -lesd -laudiofile -lm  -laudio -lXt  -lXext -lX11  
>-lpthread
>stream/stream.a(stream_cdda.o): In function `open_cdda':stream_cdda.c:
>(.text+0x84): undefined reference to `cdio_cddap_identify'
>:stream_cdda.c:(.text+0x9c): undefined reference to 
>`cdio_cddap_verbose_set'
>:stream_cdda.c:(.text+0xb0): undefined reference to `cdio_cddap_open'
>:stream_cdda.c:(.text+0xcc): undefined reference to `cdio_cddap_tracks'
>:stream_cdda.c:(.text+0x1a6): undefined reference to `cdio_cddap_tracks'
>:stream_cdda.c:(.text+0x1dd): undefined reference to 
>`cdio_cddap_track_firstsector'
>:stream_cdda.c:(.text+0x1f7): undefined reference to 
>`cdio_cddap_track_lastsector'
>:stream_cdda.c:(.text+0x202): undefined reference to `cdio_paranoia_init'
>:stream_cdda.c:(.text+0x24c): undefined reference to 
>`cdio_paranoia_modeset'
>:stream_cdda.c:(.text+0x260): undefined reference to 
>`cdio_paranoia_overlapset'
>:stream_cdda.c:(.text+0x26f): undefined reference to `cdio_paranoia_seek'
>:stream_cdda.c:(.text+0x331): undefined reference to `cdio_cddap_close'
>:stream_cdda.c:(.text+0x369): undefined reference to `cdio_cddap_open'
>:stream_cdda.c:(.text+0x381): undefined reference to 
>`cdio_cddap_disc_firstsector'
>:stream_cdda.c:(.text+0x398): undefined reference to 
>`cdio_cddap_disc_lastsector'
>:stream_cdda.c:(.text+0x479): undefined reference to 
>`cdio_cddap_track_firstsector'
>:stream_cdda.c:(.text+0x49e): undefined reference to 
>`cdio_cddap_track_firstsector'
>:stream_cdda.c:(.text+0x4ab): undefined reference to 
>`cdio_cddap_track_lastsector'
>:stream_cdda.c:(.text+0x5c4): undefined reference to `cdio_cddap_speed_set'
>:stream_cdda.c:(.text+0x627): undefined reference to `cdio_cddap_close'
>stream/stream.a(stream_cdda.o): In function `fill_buffer':stream_cdda.c:
>(.text+0x688): undefined reference to `cdio_paranoia_read'
>stream/stream.a(stream_cdda.o): In function `seek':stream_cdda.c:
>(.text+0x854): undefined reference to `cdio_paranoia_seek'
>stream/stream.a(stream_cdda.o): In function `close_cdda':stream_cdda.c:
>(.text+0x87a): undefined reference to `cdio_paranoia_free'
>:stream_cdda.c:(.text+0x882): undefined reference to `cdio_cddap_close'

The cdparanoia libraries are not being found. You can try adding them 
manually to EXTRA_LIB in MPlayer's config.mak and then run "make" again.

I noticed from an earlier post that you are adding  
--with-cdparanoialibdir=/usr/lib/. Is there a particular reason for that? It 
would probably be better if you let MPlayer autodetect it, and if it is not 
detected, then you make the necessary changes so that it is found.

Or you can try what works for me. I don't use cdparanoia. I am on Windows, 
where it cannot be compiled (at least with Mingw32/MSYS). However, I have 
enabled CD playing by installing libcdio. For now, since *libcdio* was found 
automatically, "make uninstall" cdparanoia,  "make distclean" MPlayer, and 
configure MPlayer without any extra options relating to cdparanoia or 
libcdio. It should find and use libcdio.

_________________________________________________________________
Try Search Survival Kits: Fix up your home and better handle your cash with 
Live Search! 
http://imagine-windowslive.com/search/kits/default.aspx?kit=improve&locale=en-US&source=hmtagline




More information about the MPlayer-users mailing list