編譯Mplayer
a. 配置.configure
# ./configure --host-cc=gcc --cc=arm-linux-gcc --target=arm --enable-static --disable-win32dll --disable-dvdread --disable-dvdread-internal --disable-dvdnav --disable-libdvdcss-internal --enable-fbdev --disable-mencoder --disable-live --disable-mp3lib --disable-mad --enable-libavcodec_a --language=zh_CN --disable-live 2>&1 | tee logfile
b. 編譯
# make CC=arm-linux-gcc
如果在编译的时候报错undefined reference to `clock_gettime' MPlayer。说明少库文件librt.so。并需要添加编译条件-ltr
http://www.arm9home.net/read.php?tid-8094.html