Cross-compilation record system information of ffmpeg Library: Ubuntu Release 10.04 host compiler version: liwei @ liwei :~ $ Gcc-vUsing built-in specs. Target: i486-linux-gnu............ Gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) Cross-compiler version: liwei @ liwei :~ $ Arm-linux-gcc-vUsing built-in specs. Target: arm-linux-uclibc............ Gcc version 4.2.11. go to the ffmpeg directory and configure it in the following way: $. /configure -- arch = arm -- target-OS = linux -- cc = arm-linux-gcc -- enable-cross-compile -- enable-shared -- disable-network -- disable-armv6-disable-armv6t2 -- disable -ffmpeg -- disable-ffplay -- disable-ffserver -- enable-avfilter -- enable-gpl -- enable-swscale -- enable-postproc -- enable-gpl -- enable-pthreads: must specify target arch and OS when cross-compilingIf you think configure made a mistake, make sure you are using the latestversion from Git. if the latest version fails, report the problem to theffmpeg-user@ffmpeg.org mailing list or IRC # ffmpeg on irc.freenode.net. include the log file "config. log "produced by configure as this will helpsolving the problem. pass. /configure-help find the relevant configuration options, pass the linux to this option, the configuration through 2. copy the target file: copy the following header file to/home/liwei/ffmpeg_install/include (the actual header file installed in the system directory when the decoder library is installed) /usr/local/include/* copy the following dynamic library file to/home/liwei/ffmpeg_install/lib: ffmpeg/libavcodec. so.53ffmpeg/libavfilter. so.2ffmpeg/libpostproc. so.52ffmpeg/libavformat. so.53ffmpeg/libswresample. sow.ffmpeg/libavdevice. so.53ffmpeg/libavutil. so.51ffmpeg/libswscale. so.2 copy the following static library file to/home/liwei/ffmpeg_install/lib: ffmpeg/libavcodec. affmpeg/libavfilter. affmpeg/libpostproc. affmpeg/libavformat. affmpeg/libswresample. affmpeg/libavdevice. affmpeg/libavutil. affmpeg/libswscale. a uses the arm-linux-strip tool to remove debugging information from the dynamic library: $ cd/home/liwei/ffmpeg_install/lib/$ arm-linux-strip *. so