[Ffmpeg-devel] [Help]Cross compiling for ARM--Problem with ffmpeg

Bo Liu platinum.liu
Tue Feb 6 17:42:49 CET 2007


I'm trying to cross-compile ffmpeg for a S3C2410, I downloaded ffmpeg
sources from the web. The version number is 0.4.9. The cross-compiler I've
got is arm-linux-gcc 2.95.3.
When I run make,appears this error:

/usr/local/arm/2.95.3/bin/arm-linux-gcc -I"/ffmpeg"/libswscale
-DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_ISOC9X_SOURCE -I"/ffmpeg" -I"/ffmpeg" -I"/ffmpeg"/libavutil
-fomit-frame-pointer -g -Wall -Wno-switch -Wpointer-arith -Wredundant-decls
-O3 -c -o huffyuv.o huffyuv.c
cc1: warning: -g with -fomit-frame-pointer may not give sensible debugging
huffyuv.c: In function `encode_422_bitstream':
huffyuv.c:688: internal error--unrecognizable insn:
(insn 207 203 211 (set (reg:SI 118)
(zero_extend:SI (mem:QI (plus:SI (reg:SI 116)
(subreg:SI (reg:DI 84) 0)) 0))) -1 (insn_list 203 (nil))
(expr_list:REG_DEAD (reg:SI 116)
(nil)))
make[1]: *** [huffyuv.o] Error 1
make[1]: Leaving directory `/ffmpeg/libavcodec'
make: *** [lib] Error 2

I don't know what caused this error. Is this because the version of
cross-compiler is too old??
Could you help me?

Sorry for the poor English. Thanks a lot.
-- 
Platinum.liu
Sichuan University




More information about the ffmpeg-devel mailing list