[FFmpeg-user] Cross-compile ffmpeg with android ndk and libspeex fails

Moritz Barsnick barsnick at gmx.net
Tue Sep 20 20:16:53 EEST 2016


On Tue, Sep 20, 2016 at 17:24:29 +0200, Carl Eugen Hoyos wrote:
> If you believe that /usr/local/lib/libspeex.a is the library for arm

That is obviously the big doubt which Marcin doesn't understand: Is
/usr/local/lib/libspeex.a the static lib for native Mac OS (the one he
used successfully for the native build), or the cross library for ARM
Android?

On Linux,
$ objdump -p /usr/local/lib/libspeex.a
does give some insight.

Marcin, you need to compile libspeex.a for ARM first, with the same
croos toolchain you are using for ffmpeg. And you probably wouldn't
install it into /usr/local/, that's a directory tree classically used
by the native system.

Moritz


More information about the ffmpeg-user mailing list