26 Oct 2010 20:50
Re: Issue compiling mplayer-checkout-2010-10-23 on ARMv7
Reimar Döffinger <Reimar.Doeffinger <at> gmx.de>
2010-10-26 18:50:10 GMT
2010-10-26 18:50:10 GMT
On Tue, Oct 26, 2010 at 09:50:56AM +0200, Yves Caniou wrote: > Le Sunday 24 October 2010 11:23:36 Reimar Döffinger, vous avez écrit : > > On Sun, Oct 24, 2010 at 05:57:43AM +0200, Yves Caniou wrote: > > > I have a sharp PC-T1, with ubuntu jaunty, which doesn't have mplayer > > > packaged. I took the mplayer-checkout-2010-10-23 tarball and tried to > > > compile it, without success. > > > > > > $>./configure --disable-largefiles --disable-mencoder > > > --prefix=/home/ycaniou/bin/mplayer > > > > > > 0) First, the proc seems to have "vfp" and "neon", but configure says > > > that it is not able to. The code used to test this returns an error. > > > > When compiling for ARM you always have to specify the target CPU type via > > --extra-cflags. > > Using the following command line to configure, then make, halts on an error > > $>./configure --disable-largefiles --disable-mencoder --prefix=/home/ycaniou/bin/mplayer --extra-cflags="-march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -pipe" --enable-armvfp --enable-neon > [...] > AS arm/mdct_neon.o > CC arm/mpegvideo_arm.o > arm/mpegvideo_arm.c:33: error: size of array 'x_H263_AIC' is negative > make[1]: *** [arm/mpegvideo_arm.o] Error 1 > make[1]: Leaving directory > `/media/disk/mplayer-checkout-2010-10-23/ffmpeg/libavcodec' > make: *** [ffmpeg/libavcodec/libavcodec.a] Erreur 2 The H263_AIC define in libavcodec/arm/asm-offsets has the wrong value. You can try modifying by it e.g. +-4, +8, ... to find a working value.
RSS Feed