[mad-dev] Mad on the BlueCat Linux for Ep7312

Healy Yang Healy_Yang@China-SSI.com
Sat, 15 Dec 2001 18:37:33 +0800


This is a multi-part message in MIME format.

------=_NextPart_000_0048_01C18597.8F311900
Content-Type: text/plain;
	charset="utf-8"
Content-Transfer-Encoding: 8bit

Hi all,

I run into trouble when I try to configure the Madplay under my cross-platform
development.
After I untar the package I do follwing step to setup the Madplay entironment.

export CC=arm-lynx-linux-bluecat-gcc
export RANLIB=arm-lynx-linux-bluecat-ranlib
export LD=arm-lynx-linux-bluecat-ld
export NM=arm-lynx-linux-bluecat-nm

./configure --build=i386-linux --host=arm-linux --target
=arm-linux --enable-fbm=arm -enable-sso --prefix=/bluecat/cdt --exec-prefix=/blu
ecat/cdt

then the config procedure and make procedure pass smoothly but when make install
I trap into the trouble
I reported yesterday:

make[1]: Entering directory `/bluecat/mad/po'
if test -r "../././././mkinstalldirs"; then \
  ../././././mkinstalldirs /usr/local/share; \
else \
  /bin/sh ../././mkinstalldirs /usr/local/share; \
fi
../././././../././././mkinstalldirs: Can't open
../././././../././././mkinstalldirs

I modified the makefile maually today by delete the following line in makefile

SUBDIRS = intl po $(libz) libid3tag libmad $(winamp)
the make install pass and all thing seem OK.

But when I try to run the madplay on my target board(Ep7312) the follwing
message display

bash# ./madplay -o raw:- ./funky.mp3 >/dev/null
MPEG Audio Decoder 0.14.2 (beta) - Copyright (C) 2000-2001 Robert Leslie
2373 frames decoded (0:01:01.9), -2.2 dB peak amplitude, 0 clipped samples
bash#

But there have not any noise during this procedure when the BlueCat demo run OK.

There some question confuse me,
1) What's the function of directory under mad name po,msvc++ and intl ?
2) Is there anything wrong with my ./configure procedure?

Pls give me advice.

Thank for you help and Merry Xmas.

With regards, healy yang          E-mail:healy_yang@china-SSI.com
____________________________________________________________
Sichuan Starlight Internet-appliances Ltd.   升威信息电器公司
Tel: (86-28) 5185891                Fax: (86-28) 5136351

------=_NextPart_000_0048_01C18597.8F311900
Content-Type: text/html;
	charset="utf-8"
Content-Transfer-Encoding: quoted-printable

=EF=BB=BF<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dutf-8">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Hi all,</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>I run into trouble when I try to configure the =
Madplay under=20
my cross-platform development.</FONT></DIV>
<DIV><FONT size=3D2>After I untar the package I do follwing step to =
setup the=20
Madplay entironment.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>export CC=3Darm-lynx-linux-bluecat-gcc</FONT></DIV>
<DIV><FONT size=3D2>export =
RANLIB=3Darm-lynx-linux-bluecat-ranlib</FONT></DIV>
<DIV><FONT size=3D2>export LD=3Darm-lynx-linux-bluecat-ld</FONT></DIV>
<DIV><FONT size=3D2>export NM=3Darm-lynx-linux-bluecat-nm</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>./configure --build=3Di386-linux --host=3Darm-linux =
--target=20
=3Darm-linux --enable-fbm=3Darm -enable-sso --prefix=3D/bluecat/cdt=20
--exec-prefix=3D/bluecat/cdt<BR></FONT><FONT size=3D2></FONT></DIV>
<DIV><FONT size=3D2>then the config procedure and make procedure pass =
smoothly but=20
when make install I trap into the trouble</FONT></DIV>
<DIV><FONT size=3D2>I reported yesterday:</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>make[1]: Entering directory `/bluecat/mad/po'<BR>if =
test -r=20
"../././././mkinstalldirs"; then \<BR>&nbsp; ../././././mkinstalldirs=20
/usr/local/share; \<BR>else \<BR>&nbsp; /bin/sh ../././mkinstalldirs=20
/usr/local/share; \<BR>fi<BR>../././././../././././mkinstalldirs: Can't =
open=20
../././././../././././mkinstalldirs</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>I modified the makefile maually today by delete the =
following=20
line in makefile</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>SUBDIRS =3D intl<U> <STRONG><FONT =
size=3D4>po</FONT></STRONG></U>=20
$(libz) libid3tag libmad $(winamp) </FONT></DIV>
<DIV><FONT size=3D2>the make install pass and all thing seem =
OK.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>But when I try to run the madplay on my target =
board(Ep7312)=20
the follwing message display</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV>
<DIV><FONT size=3D2>bash# ./madplay -o raw:- ./funky.mp3 =
&gt;/dev/null<BR>MPEG=20
Audio Decoder 0.14.2 (beta) - Copyright (C) 2000-2001 Robert =
Leslie<BR>2373=20
frames decoded (0:01:01.9), -2.2 dB peak amplitude, 0 clipped=20
samples</FONT></DIV>
<DIV><FONT size=3D2>bash#</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>But there have not any noise during this procedure =
when the=20
BlueCat demo run OK.</FONT></DIV></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>There some question confuse me,</FONT></DIV>
<DIV><FONT size=3D2>1) What's the function of directory under mad name =
po,msvc++=20
and intl ?</FONT></DIV>
<DIV><FONT size=3D2>2) Is there anything wrong with my ./configure=20
procedure?</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>Pls give me advice.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>Thank for you help and Merry Xmas.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>With regards, healy=20
yang&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
E-mail:healy_yang@china-SSI.com<BR>______________________________________=
______________________&nbsp;=20
<BR>Sichuan Starlight Internet-appliances Ltd.&nbsp;&nbsp; =
=E5=8D=87=E5=A8=81=E4=BF=A1=E6=81=AF=E7=94=B5=E5=99=A8=E5=85=AC=E5=8F=B8<=
BR>Tel:=20
(86-28) =
5185891=E3=80=80=E3=80=80=E3=80=80=E3=80=80=E3=80=80&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
Fax: (86-28) 5136351</FONT></DIV></BODY></HTML>

------=_NextPart_000_0048_01C18597.8F311900--