[mad-dev] Mad on the BlueCat Linux for Ep7312
Sun, 16 Dec 2001 01:54:33 -0800
Healy Yang wrote:
> 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=/bluecat/cdt
Don't bother with --target. That's only used for building cross-compiler
tools. Also, you misspelled --enable-fpm.
> then the config procedure and make procedure pass smoothly but when make
> install I trap into the trouble
> I reported yesterday:
> make: Entering directory `/bluecat/mad/po'
> if test -r "../././././mkinstalldirs"; then \
> ../././././mkinstalldirs /usr/local/share; \
> else \
> /bin/sh ../././mkinstalldirs /usr/local/share; \
> ../././././../././././mkinstalldirs: Can't open
I don't understand why you get this error. `mkinstalldirs' should be in the
top-level directory of the MAD distribution. The shell commands look right,
but the invocation of mkinstalldirs doesn't.
If you only have trouble in the po directory, you could try configuring with
> I modified the makefile maually today by delete the following line in
> SUBDIRS = intl po $(libz) libid3tag libmad $(winamp)
> the make install pass and all thing seem OK.
Probably not the best course of action, but whatever works.
> 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
> But there have not any noise during this procedure when the BlueCat demo run
That's because you generated the noise on stdout (-o raw:-) and then
redirected it to the bit bucket (>/dev/null).
> There some question confuse me,
> 1) What's the function of directory under mad name po,msvc++ and intl ?
po = portable (internationalized message) object files, for NLS
msvc++ = Microsoft Visual C++ project files, for Win32
intl = GNU gettext support, for NLS
> 2) Is there anything wrong with my ./configure procedure?