[FFmpeg-user] ffmpeg0.10.2 crosscompile for Android-8, cygwin, ndk-r7c

roemer kleinerroemer at hotmail.com
Wed Apr 25 10:38:34 CEST 2012


Hey there!

I'm really stuck in compiling ffmpeg0.10.2 for android. As the post title
says, I'm currently trying to do so on Windows 7 with cygwin.

The problem is, that the compiler check in the configure script fails:

config.log:

BEGIN /tmp/ffconf.cyCUGQnr.c
    1	int main(void){ return 0; }
END /tmp/ffconf.cyCUGQnr.c
/cygdrive/c/Android/android-ndk-r7c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/bin/arm-linux-androideabi-gcc
--sysroot=/cygdrive/c/Android/android-ndk-r7c/platforms/android-8/arch-arm
-I/cygdrive/c/Android/android-ndk-r7c/platforms/android-8/arch-arm/usr/include
-c -o /tmp/ffconf.ONaZN5TG.o /tmp/ffconf.cyCUGQnr.c
arm-linux-androideabi-gcc.exe: /tmp/ffconf.cyCUGQnr.c: No such file or
directory
arm-linux-androideabi-gcc.exe: no input files
C compiler test failed.

It seems like the test file is not created correctly, but I don't think
that's a cygwin issue, because I had the same problems on Ubuntu.

and further more I geht the warning:
WARNING:
/cygdrive/c/Android/android-ndk-r7c/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/bin/arm-linux-androideabi-pkg-config
not found, library detection may fail.

which appeared on Ubuntu too.

I've attached my build script which also calls the configure script.

I'd really appreciate some help here!

Cheers

http://ffmpeg-users.933282.n4.nabble.com/file/n4585952/build_android.sh
build_android.sh 

--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/ffmpeg0-10-2-crosscompile-for-Android-8-cygwin-ndk-r7c-tp4585952p4585952.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list