[MPlayer-users] mplayer compile for arm?

Dennis Borgmann dennis.borgmann at googlemail.com
Thu Mar 24 13:59:34 CET 2011


Hi mplayer-users!

I have been trying to compile mplayer for ARM for some days now without
success. I cannot find any information about it on the internet, that
could help me out. I'd be pleased to just have a binary, but I even
couldn't find any of such. My target is a AT91-SAM9260. I am working
with MPlayer-1.0rc4. I do not need video, I just need audio, and of
audio, I only need the ability of mplayer to playback mp3-files.

This is my command to get to compile mplayer:

export CFLAGS="-mcpu=arm920t -O3"
make clean
CFLAGS=$CFLAGS ./configure --enable-cross-compile --cc=arm-linux-gcc \
--as=arm-linux-as --host-cc=gcc --target=arm-linux --prefix=$TGT \
--disable-network --disable-x11 --disable-gui --enable-armv5te \
--disable-armv6 --disable-armv6t2 --disable-armvfp --disable-neon \
--disable-iwmmxt --disable-libmpeg2 --disable-libmpeg2-internal \
--disable-mencoder --disable-tga --disable-pnm --disable-md5sum \
--disable-yuv4mpeg --disable-tv --disable-bitmap-font --disable-ftp \
--disable-real --disable-xanim --disable-v4l2 --disable-dvb \
--disable-fbdev --disable-dvdnav --disable-libdvdcss-internal \
--disable-dvdread-internal --disable-vcd --disable-tremor-internal \
--disable-faad-internal --disable-ossaudio --disable-mp3lib
make

Compile output stops at compiling libavformat:

(...)
CC    acelp_vectors.o
CC    adpcm.o
CC    adxdec.o
CC    alac.o
CC    allcodecs.o
CC    alsdec.o
/tmp/cc0PkSHM.s: Assembler messages:
/tmp/cc0PkSHM.s:277: rdhi, rdlo and rm must all be different
/tmp/cc0PkSHM.s:280: rdhi, rdlo and rm must all be different
/tmp/cc0PkSHM.s:367: rdhi, rdlo and rm must all be different
/tmp/cc0PkSHM.s:375: rdhi, rdlo and rm must all be different
/tmp/cc0PkSHM.s:386: rdhi, rdlo and rm must all be different
/tmp/cc0PkSHM.s:403: rdhi, rdlo and rm must all be different
/tmp/cc0PkSHM.s:415: rdhi, rdlo and rm must all be different
/tmp/cc0PkSHM.s:724: rdhi, rdlo and rm must all be different
/tmp/cc0PkSHM.s:795: rdhi, rdlo and rm must all be different
/tmp/cc0PkSHM.s:963: rdhi, rdlo and rm must all be different
/tmp/cc0PkSHM.s:1032: rdhi, rdlo and rm must all be different
CC    amrnbdec.o
CC    anm.o
CC    apedec.o
CC    arm/dcadsp_init_arm.o
AS    arm/dsputil_arm.o
CC    arm/dsputil_init_arm.o
CC    arm/dsputil_init_armv5te.o
CC    arm/fft_init_arm.o
CC    arm/h264dsp_init_arm.o
arm/h264dsp_init_arm.c: In function 'ff_h264dsp_init_arm':
arm/h264dsp_init_arm.c:125: warning: implicit declaration of function
'ff_h264dsp_init_neon'
CC    arm/h264pred_init_arm.o
arm/h264pred_init_arm.c: In function 'ff_h264_pred_init_arm':
arm/h264pred_init_arm.c:75: warning: implicit declaration of function
'ff_h264_pred_init_neon'
AS    arm/jrevdct_arm.o
CC    arm/mpegvideo_arm.o
CC    arm/mpegvideo_armv5te.o
AS    arm/mpegvideo_armv5te_s.o
arm/mpegvideo_armv5te_s.S: Assembler messages:
arm/mpegvideo_armv5te_s.S:43: Error: selected processor does not support
`ldrd r4,[r0,#0]'
arm/mpegvideo_armv5te_s.S:45: Error: selected processor does not support
`ldrd r6,[r0,#8]'
arm/mpegvideo_armv5te_s.S:50: Error: selected processor does not support
`smlatbne r9,r4,r1,r9'
arm/mpegvideo_armv5te_s.S:55: Error: selected processor does not support
`smlatbne lr,r5,r1,lr'
arm/mpegvideo_armv5te_s.S:60: Error: selected processor does not support
`smlabbne r4,r4,r1,r8'
arm/mpegvideo_armv5te_s.S:65: Error: selected processor does not support
`smlabbne r5,r5,r1,r8'
arm/mpegvideo_armv5te_s.S:75: Error: selected processor does not support
`smlatbne r9,r6,r1,r9'
arm/mpegvideo_armv5te_s.S:80: Error: selected processor does not support
`smlatbne lr,r7,r1,lr'
arm/mpegvideo_armv5te_s.S:85: Error: selected processor does not support
`smlabbne r6,r6,r1,r8'
arm/mpegvideo_armv5te_s.S:90: Error: selected processor does not support
`smlabbne r7,r7,r1,r8'
arm/mpegvideo_armv5te_s.S:98: Error: selected processor does not support
`ldrgtd r4,[r0,#0]'
arm/mpegvideo_armv5te_s.S:109: Error: selected processor does not
support `smlabbne r9,r9,r1,r8'
arm/mpegvideo_armv5te_s.S:113: Error: selected processor does not
support `smlabbne lr,lr,r1,r8'
make[1]: *** [arm/mpegvideo_armv5te_s.o] Error 1
make[1]: Leaving directory
`/home/dborgmann/downloads/MPlayer-1.0rc4/libavcodec'
make: *** [libavcodec/libavcodec.a] Error 2
#:~/downloads/MPlayer-1.0rc4$

How could I get to the point, where mplayer is compiled? What could be
my mistake?

Thank you a lot in advance for any hint.

Kind regards,
Dennis


More information about the MPlayer-users mailing list