[FFmpeg-user] ffmpeg complie

徐亮亮 243165084 at qq.com
Tue Oct 21 10:26:56 CEST 2014


#!/bin/bash 
NDK=/home/xull/dennis/android-ndk-r9d 
SYSROOT=$NDK/platforms/android-8/arch-arm/ 
TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64 

function build_one 
{ 
./configure \ 
--prefix=$PREFIX \ 
--enable-shared \ 
--disable-static \ 
--disable-doc \ 
--disable-ffserver \ 
--enable-cross-compile \ 
--cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi- \ 
--target-os=linux \ 
--arch=arm \ 
--sysroot=$SYSROOT \ 
--extra-cflags="-Os -fpic $ADDI_CFLAGS" \ 
--extra-ldflags="$ADDI_LDFLAGS" \ 
$ADDITIONAL_CONFIGURE_FLAG 
} 
CPU=arm 
PREFIX=$(pwd)/android/$CPU 
ADDI_CFLAGS="-marm" 
build_one


/home/xull/dennis/android-ndk-r9d/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc is unable to create an executable file. 
C compiler test failed. 


Hello, please help me.



FYI
vincent
联系电话:+86 13761019596
邮箱:243165084 at qq.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 20365 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20141021/9796b42a/attachment.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 168790 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20141021/9796b42a/attachment.obj>


More information about the ffmpeg-user mailing list