Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

我按照教程编译没通过,不知道是不是少了什么文件 #9

Open
wz1228556153 opened this issue Oct 25, 2017 · 4 comments

Comments

@wz1228556153
Copy link

root@ubuntu:/home/wangzhong/ndkwork/ffmpeg-compile-shared-library-for-android-master/source/ffmpeg# ./build_android_arm.sh
/home/djia/android/android-ndk-r10/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-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 Git. 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.log" produced by configure as this will help
solve the problem.
Makefile:2: config.mak: No such file or directory
Makefile:59: /common.mak: No such file or directory
Makefile:100: /libavutil/Makefile: No such file or directory
Makefile:100: /library.mak: No such file or directory
Makefile:102: /doc/Makefile: No such file or directory
Makefile:185: /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:59: /common.mak: No such file or directory
Makefile:100: /libavutil/Makefile: No such file or directory
Makefile:100: /library.mak: No such file or directory
Makefile:102: /doc/Makefile: No such file or directory
Makefile:185: /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:59: /common.mak: No such file or directory
Makefile:100: /libavutil/Makefile: No such file or directory
Makefile:100: /library.mak: No such file or directory
Makefile:102: /doc/Makefile: No such file or directory
Makefile:185: /tests/Makefile: No such file or directory
make: *** No rule to make target '/tests/Makefile'. Stop.
root@ubuntu:/home/wangzhong/ndkwork/ffmpeg-compile-shared-library-for-android-master/source/ffmpeg#

@stori1
Copy link

stori1 commented Dec 11, 2017

先执行./configure才能生成config.mak文件 后面就不会报错了,我刚踩了这个坑

@GongKuiJun
Copy link

我执行了./configure 根目录文件夹列表
CONTRIBUTING.md RELEASE_NOTES libavcodec
COPYING.GPLv2 VERSION libavdevice
COPYING.GPLv3 build_android.sh libavfilter
COPYING.LGPLv2.1 compat libavformat
COPYING.LGPLv3 config.asm libavresample
CREDITS config.fate libavutil
Changelog config.h libpostproc
INSTALL.md config.log libswresample
LICENSE.md config.mak libswscale
MAINTAINERS configure presets
Makefile doc tests
README.md ffbuild tools
RELEASE fftools
但是ffbuild文件夹下 没有文件config.mak

@PapaMadeleine2022
Copy link

PapaMadeleine2022 commented Oct 19, 2022

先执行./configure才能生成config.mak文件 后面就不会报错了,我刚踩了这个坑

@stori1 我使用 ffmpeg-5.1android-ndk-r22b
ffmpeg-5.1目录下我先执行【./configure --disable-x86asm】能生成config.mak文件 然后build,但是报错:
Makefile:113: ffbuild/library.mak: No such file or directory make: *** No rule to make target 'ffbuild/library.mak'. Stop. Makefile:113: ffbuild/library.mak: No such file or directory make: *** No rule to make target 'ffbuild/library.mak'. Stop. Makefile:113: ffbuild/library.mak: No such file or directory make: *** No rule to make target 'ffbuild/library.mak'. Stop.
ffbuild/library.mak这个文件怎么生成呢?

@PapaMadeleine2022
Copy link

先执行./configure才能生成config.mak文件 后面就不会报错了,我刚踩了这个坑

@stori1 我使用 ffmpeg-5.1android-ndk-r22b。 在ffmpeg-5.1目录下我先执行【./configure --disable-x86asm】能生成config.mak文件 然后build,但是报错: Makefile:113: ffbuild/library.mak: No such file or directory make: *** No rule to make target 'ffbuild/library.mak'. Stop. Makefile:113: ffbuild/library.mak: No such file or directory make: *** No rule to make target 'ffbuild/library.mak'. Stop. Makefile:113: ffbuild/library.mak: No such file or directory make: *** No rule to make target 'ffbuild/library.mak'. Stop.ffbuild/library.mak这个文件怎么生成呢?

我更换使用ffmpeg-4.0android-ndk-r21e 现在成功编译通过了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants