Preparation:
Download the following source code package
{Libid3tag, libmad, madplay}
Http://sourceforge.net/project/showfiles.php? Group_id = 12349
{Zlib: needed by libid3tag}
Http://www.zlib.net/zlib-1.2.3.tar.gz
1.
This library is required for compiling zlib because libid3tag
./Configure -- prefix =/usr/local/ARM/2.95.3/ARM-Linux
Modify makefile
AR =/usr/local/ARM/2.95.3/bin/ARM-Linux-ar RC
Cc =/usr/local/ARM/2.95.3/bin/ARM-Linux-gcc
Ranlib =/usr/local/ARM/2.95.3/bin/ARM-Linux-ranlib
Make
Make install
2.
Compile libid3tag
./Configure -- Host = arm-Linux cc = arm-Linux-GCC -- disable-debugging -- disable-shared -- prefix =/usr/local/ARM/2.95.3/ARM-Linux
Make
Make install
3.
Compile libmad
. /Configure -- enable-FPM = arm -- Host = arm-Linux -- disable-shared -- disable-debugging -- prefix =/usr/local/ARM/2.95.3/ARM-Linux cc = arm -Linux-gcc
Make
Make install
4.
CompileMadplay
./Configure -- Host = arm-Linux cc = arm-Linux-GCC -- disable-debugging -- disable-shared
Make
However, dynamic connections are obtained.
RmMadplay
Copy the last connection command of make, add-static at the end, and then run it to get the program for static connection.
(Dynamic Connections cannot run on the arm board)