Hi,

I desperately try to compile FFMpeg to use it on Android.

I have found an brief explanation from a Chinese guy who uses that configure
line :

[code]
./configure --target-os=linux --arch=armv41 --enable-cross-compile
--cc=/home/jb/Sdk/android-ndk-1.5_r1/build/prebuilt/linux-x86/arm-eabi-4.2.1/bin/arm-eabi-gcc
--cross-prefix=/home/jb/Sdk/android-ndk-1.5_r1/build/prebuilt/linux-x86/arm-eabi-4.2.1/bin
--nm=/home/jb/Sdk/android-ndk-1.5_r1/build/prebuilt/linux-x86/arm-eabi-4.2.1/bin/arm-eabi-nm
--extra-cflags="-fPIC -DANDROID " --extra-ldflags="-s -nostdlib -Bdynamic
-Wl,-T,armelf.x -Wl,-dynamic-linker,/system/bin/linker -lc -lm -ldl
crtbegin.o crtend.o " --disable-static --enable-shared --disable-static
--enable-shared
[/code]

But I have an error from the configure file. It seems that he can't try the
generated file...

[code]
b...@laptop:~/Sdk/ffmpeg_android$ ./configure --target-os=linux --arch=armv41
--enable-cross-compile
--cc=/home/jb/Sdk/android-ndk-1.5_r1/build/prebuilt/linux-x86/arm-eabi-4.2.1/bin/arm-eabi-gcc
--cross-prefix=/home/jb/Sdk/android-ndk-1.5_r1/build/prebuilt/linux-x86/arm-eabi-4.2.1/bin
--nm=/home/jb/Sdk/android-ndk-1.5_r1/build/prebuilt/linux-x86/arm-eabi-4.2.1/bin/arm-eabi-nm
--extra-cflags="-fPIC -DANDROID " --extra-ldflags="-s -nostdlib -Bdynamic
-Wl,-T,armelf.x -Wl,-dynamic-linker,/system/bin/linker -lc -lm -ldl
crtbegin.o crtend.o " --disable-static --enable-shared --disable-static
--enable-shared
/home/jb/Sdk/android-ndk-1.5_r1/build/prebuilt/linux-x86/arm-eabi-4.2.1/bin/arm-eabi-gcc
is unable to create an executable file.
C compiler test failed.

If you think configure made a mistake, make sure you are using the latest
version from SVN.  If the latest version fails, report the problem to the
[email protected] mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.err" produced by configure as this will help
solving the problem.
[/code]

How can I fix that ??

Thank you for your help

-- 
Jb Collet
-----------------------------------------------------------
Etudiant en Informatique
Université de Namur
-----------------------------------------------------------
Contact :
+32 (0)499 35 43 37
[email protected]
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to