mplayer移植
轉自:http://bbs.gkong.com/archive.aspx?ID=286721
編譯器:arm-linux-gcc(4.3.2)
Pc平臺:ubuntu
在移植之前有必要先說明一下幾個問題:
Mplayer是自帶的mp3lib庫來進行mp3解碼的,但是arm系列的cpu,一般都沒浮點運算單元,而mplayer的mp3解碼預設使用mp3lib,這個是浮點運算庫,arm上肯定跑不了。所以使用libmad庫應該就沒問題了,所以需要提前移植libmad庫。
(1)準備工作
①下載庫檔案libmad-0.15.1b.tar.gz並解壓到 /usr/local/libmad
②下載Mplayer的tar包,官方下載地址