+ -
当前位置:首页 → 问答吧 → 【求助】2410+mplayer

【求助】2410+mplayer

时间:2006-05-26

来源:互联网

上咀下蒌了MPlayer-1.0pre7try2.tar.tar
解檫
configure??下
./configure --host-cc=gcc --cc=arm-linux-gcc --target=arm-armv4l-linux --enable-static --prefix=/tmp/mplayer --disable-win32 --disable-dvdread --enable-fbdev --disable-mencoder --disable-live 2>&1 | tee logfile
可以?利make出mplayer
就跟咀路上真的一? 只能跑 -nosound

但是??有些不同 因?我在QT上mediaplayer播放mpeg是有?音的 ??就不是UDA1341driver?铨

就爬文找到--enable-mad
加上去
?铨跑出?了
ad_libmad.c找不到mad.h

上咀抓了libmad-0.15.1b.tar.gz
解檫
OK make 擂理咄行
到了link 又办生?铨

arm-linux-gcc -I../libvo -I../../libvo -W -Wall -Wno-unused-parameter -O2 -g -I. -o mplayer mplayer.o mp_msg.o cpudetect.o codec-cfg.o spudec.o playtree.o playtreeparser.o asxparser.o vobsub.o subreader.o sub_cc.o find_sub.o m_config.o m_option.o parser-cfg.o m_struct.o edl.o unrarlib.o mixer.o parser-mpcmd.o subopt-helper.o libvo/libvo.a libao2/libao2.a libmpcodecs/libmpcodecs.a libaf/libaf.a libmpdemux/libmpdemux.a input/libinput.a postproc/libswscale.a osdep/libosdep.a libavcodec/libavcodec.a libavformat/libavformat.a -lmad -static -lnsl libfaad2/libfaad2.a liba52/liba52.a libmpeg2/libmpeg2.a tremor/libvorbisidec.a -static -lnsl -static -lpthread -ldl -lm
/usr/local/arm/3.3.2/lib/gcc-lib/arm-linux/3.3.2/../../../../arm-linux/bin/ld: cannot find -lmad
collect2: ld returned 1 exit status
make: *** [mplayer] Error 1

?怎?解?阿????[email="[email protected]"][/email]      

作者: fox1213   发布时间: 2006-05-26