Hi ,
we tried for mp3 decoder --with ffmpeg -- which requires "ffplay" and again it depend on "SDL and X" there we are not able to fix. Then we tried with gstreamer -- there we are not abe to add plugins -- "gst-launch playbin" -- not able to add and to able to play -- with other commands in gstream and ffmpeg -- saying decoder is missing -- then finally came to madplay.
Madplay :
we tried with madplay -- with zlib,libidtg,limad and mad -- while cross compiling we got these error.
error:
/tmp/ccJaUp5j.s: Assembler messages:
/tmp/ccJaUp5j.s:2691: Error: selected processor does not support Thumb mode `rsc r0,r0,#0'
/tmp/ccJaUp5j.s:2893: Error: selected processor does not support Thumb mode `rsc r8,r8,#0'
/tmp/ccJaUp5j.s:3554: Error: selected processor does not support Thumb mode `rsc r0,r0,#0'
/tmp/ccJaUp5j.s:3756: Error: selected processor does not support Thumb mode `rsc r8,r8,#0'
make[2]: *** [synth.lo] Error 1
make[2]: Leaving directory `/home/cyient/Audio/madplay/src-arm/libmad-0.15.1b'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/cyient/Audio/madplay/src-arm/libmad-0.15.1b'
make: *** [install] Error 2
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /usr/bin/install -c
------------------ install script ---------------------
please correct me if i am doing any thing wrong:
#!/bin/sh
mkdir src-arm
mkdir target-arm
MADPLAY_DIR=$PWD
SRC_DIR=src-arm
TARGET_DIR=$MADPLAY_DIR/target-arm
tar xvzf libid3tag-0.15.1b.tar.gz -C $SRC_DIR
tar xvzf libmad-0.15.1b.tar.gz -C $SRC_DIR
tar xvzf madplay-0.15.2b.tar.gz -C $SRC_DIR
tar xvzf zlib-1.1.4.tar.gz -C $SRC_DIR
export PATH=/home/vk29835/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin:$PATH
export CC=arm-linux-gnueabihf-gcc
cd $SRC_DIR/zlib-1.1.4
./configure --prefix=$TARGET_DIR
make && make install
cd ../..
cd $SRC_DIR/libid3tag-0.15.1b
./configure --host=arm --prefix=$TARGET_DIR CPPFLAGS=-I$TARGET_DIR/include LDFLAGS=-L$TARGET_DIR/lib
make;make install
cd ../../
cd $SRC_DIR/libmad-0.15.1b
sed -i -e '/fforce-mem/d' configure //-- if not this line -- unknown command throwing by compiler.
./configure --host=arm --prefix=$TARGET_DIR CPPFLAGS=-I$TARGET_DIR/include LDFLAGS=-L$TARGET_DIR/lib
make;make install
cd ../..
cd $SRC_DIR/madplay-0.15.2b
./configure --host=arm --prefix=$TARGET_DIR CPPFLAGS=-I$TARGET_DIR/include LDFLAGS=-L$TARGET_DIR/lib
make;make install
cd ../../