[FFmpeg-user] FFmpeg build issues on Ubuntu 13.10 (32 Bit)
Saurabh Prajapati
saurabh31084 at gmail.com
Sat Mar 1 15:01:50 CET 2014
Hi Support,
I need to build "FFmpeg" library for android application. So I referred
following thread which shows how to build ffmpeg using NDK r9.
http://www.roman10.net/how-to-build-ffmpeg-with-ndk-r9/
First, I downloaded latest NDK r9 (
http://dl.google.com/android/ndk/android-ndk-r9c-linux-x86.tar.bz2) for
Ubuntu (32 Bit). I also downloaded latest FFmpeg source code from Git (
https://github.com/FFmpeg/FFmpeg/archive/master.zip). I have performed the
steps as per documentation and got following error on executing "
*build_android.sh*" file. I attached necessary documents (in ZIP format)
which I think you need to resolve this issue or suggest me to fix error by
proper way.
--------------------------------------------------------------------------------
saurabh at saurabh:~/Desktop/adt/android-ndk-r9c/sources/FFmpeg$
./build_android.shyasm/nasm not found or too old. Use --disable-yasm for a
crippled build.
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
ffmpeg-user at ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solving the problem.
./build_android.sh: line 16:
--prefix=/home/saurabh/Desktop/adt/android-ndk-r9c/sources/FFmpeg/android/arm:
No such file or directory
./build_android.sh: line 18: --enable-shared: command not found
./build_android.sh: line 20: --disable-static: command not found
./build_android.sh: line 22: --disable-doc: command not found
./build_android.sh: line 24: --disable-ffmpeg: command not found
./build_android.sh: line 26: --disable-ffplay: command not found
./build_android.sh: line 28: --disable-ffprobe: command not found
./build_android.sh: line 30: --disable-ffserver: command not found
./build_android.sh: line 32: --disable-avdevice: command not found
./build_android.sh: line 34: --disable-doc: command not found
./build_android.sh: line 36: --disable-symver: command not found
./build_android.sh: line 38:
--cross-prefix=/home/saurabh/Desktop/adt/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-:
No such file or directory
./build_android.sh: line 40: --target-os=linux: command not found
./build_android.sh: line 42: --arch=arm: command not found
./build_android.sh: line 44: --enable-cross-compile: command not found
./build_android.sh: line 46:
--sysroot=/home/saurabh/Desktop/adt/android-ndk-r9c/platforms/android-9/arch-arm/:
No such file or directory
./build_android.sh: line 48: --extra-cflags=-Os -fpic -marm: command not
found
./build_android.sh: line 50: --extra-ldflags=: command not found
Makefile:2: config.mak: No such file or directory
Makefile:53: /common.mak: No such file or directory
Makefile:94: /libavutil/Makefile: No such file or directory
Makefile:94: /library.mak: No such file or directory
Makefile:96: /doc/Makefile: No such file or directory
Makefile:179: /tests/Makefile: No such file or directory
make: *** No rule to make target `/tests/Makefile'. Stop.
Makefile:2: config.mak: No such file or directory
Makefile:53: /common.mak: No such file or directory
Makefile:94: /libavutil/Makefile: No such file or directory
Makefile:94: /library.mak: No such file or directory
Makefile:96: /doc/Makefile: No such file or directory
Makefile:179: /tests/Makefile: No such file or directory
make: *** No rule to make target `/tests/Makefile'. Stop.
Makefile:2: config.mak: No such file or directory
Makefile:53: /common.mak: No such file or directory
Makefile:94: /libavutil/Makefile: No such file or directory
Makefile:94: /library.mak: No such file or directory
Makefile:96: /doc/Makefile: No such file or directory
Makefile:179: /tests/Makefile: No such file or directory
make: *** No rule to make target `/tests/Makefile'. Stop.
--------------------------------------------------------------------------------
*Work around an Error:*
1) I have renamed "*linux-x86*" folder name to "*linux-x86_64*" in "
*TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86*"
path due to "Ubuntu 32 Bit".
2) I have placed "*android-ndk-r9c*" folder to "/Desktop/adt/" path to
match the $NDK variable value.
--------------------------------------------------------------------------------
I spent around a week to build "FFmpeg" for android but no luck. Please
reply me on it as soon as possible with solution.
Thanks,
Saurabh P.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Build_Documents.zip
Type: application/zip
Size: 73281 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20140301/2ff171d9/attachment.zip>
More information about the ffmpeg-user
mailing list