madplay with alsa mode?

"Feng Ye" <[email protected]> Sat, 10 Oct 2009 23:05:59 -0700
Newsgroups gmane.comp.audio.mad.devel
Message-ID <9383297B60843144AC17878B479520F110AEECD8FE@SJEXCHCCR01.corp.ad.broadcom.com>
--_000_9383297B60843144AC17878B479520F110AEECD8FESJEXCHCCR01co_
Content-Type: text/plain;
 charset=us-ascii
Content-Transfer-Encoding: quoted-printable

Hello there,

I am having madplay compilation issue when using alsa mode (--with-alsa).
All packages I used are the latest ones:
 - ALSA lib version is 1.0.21a
 - mad lib version 0.15.1b
 - id3tag lib version 0.15.1b
 - madplay version 0.15.2b

The compilation errors are:
 audio_alsa.c:90: undefined reference to `snd_pcm_hw_params_set_rate_near@A=
LSA_0.9'<mailto:`snd_pcm_hw_params_set_rate_near@ALSA_0.9'>
 audio_alsa.c:100: undefined reference to `snd_pcm_hw_params_set_buffer_tim=
e_near@ALSA_0.9'<mailto:`snd_pcm_hw_params_set_buffer_time_near@ALSA_0.9'>
 ...

Has anyone seen this?



Thanks,
Feng


--_000_9383297B60843144AC17878B479520F110AEECD8FESJEXCHCCR01co_
Content-Type: text/html;
 charset=us-ascii
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2900.3603" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D361055805-11102009>Hello=20
there,</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D361055805-11102009></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D361055805-11102009>I am=20
having&nbsp;madplay compilation issue when using alsa mode=20
(--with-alsa).</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D361055805-11102009>All packa=
ges I used=20
are the latest ones:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D361055805-11102009>&nbsp;-&n=
bsp;ALSA=20
lib version is 1.0.21a</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D361055805-11102009>&nbsp;- m=
ad lib=20
version 0.15.1b</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D361055805-11102009>&nbsp;- i=
d3tag lib=20
version 0.15.1b</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D361055805-11102009>&nbsp;- m=
adplay=20
version 0.15.2b</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D361055805-11102009></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D361055805-11102009>The compi=
lation=20
errors are:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D361055805-11102009>&nbsp;audio_alsa.c:90: undefined reference to <A=
=20
href=3D"mailto:`snd_pcm_hw_params_set_rate_near@ALSA_0.9'">`snd_pcm_hw_para=
ms_set_rate_near@ALSA_0.9'</A></SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D361055805-11102009>&nbsp;audio_alsa.c:100: undefined reference to <=
A=20
href=3D"mailto:`snd_pcm_hw_params_set_buffer_time_near@ALSA_0.9'">`snd_pcm_=
hw_params_set_buffer_time_near@ALSA_0.9'</A></SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D361055805-11102009>&nbsp;...</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D361055805-11102009></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D361055805-11102009>Has anyon=
e seen=20
this?</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D361055805-11102009></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D361055805-11102009></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D361055805-11102009></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D361055805-11102009>Thanks,</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D361055805-11102009>Feng</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D361055805-11102009></SPAN></FONT>&nbsp;</DIV></BODY></HTML>

--_000_9383297B60843144AC17878B479520F110AEECD8FESJEXCHCCR01co_--