我正在尝试构建从 git 下载的 android-ffmpeg-x264。链接https://github.com/halfninja/android-ffmpeg-x264
运行 ./config_make_everything.sh 后,我收到以下错误
错误:找不到 libx264
如果您认为 configure 出错了,请确保您使用的是 Git 的最新版本。如果最新版本失败,请将问题报告给 ffmpeg-user@ffmpeg.org 邮件列表或 irc.freenode.net 上的 IRC #ffmpeg。包括由 configure 生成的日志文件“config.log”,因为这将有助于解决问题。
<pre>
Makefile:1: config.mak: No such file or directory
libavutil/Makefile:1: libavutil/../config.mak: No such file or directory
libavutil/../subdir.mak:96: warning: overriding commands for target `libavutil/'
libavutil/../subdir.mak:26: warning: ignoring old commands for target `libavutil/'
libavutil/../subdir.mak:96: warning: overriding commands for target `libavutil/'
libavutil/../subdir.mak:96: warning: ignoring old commands for target `libavutil/'
tests/Makefile:44: /tests/fate.mak: No such file or directory
tests/Makefile:45: /tests/fate2.mak: No such file or directory
tests/Makefile:47: /tests/fate/aac.mak: No such file or directory
tests/Makefile:48: /tests/fate/als.mak: No such file or directory
tests/Makefile:49: /tests/fate/fft.mak: No such file or directory
tests/Makefile:50: /tests/fate/h264.mak: No such file or directory
tests/Makefile:51: /tests/fate/mp3.mak: No such file or directory
tests/Makefile:52: /tests/fate/vorbis.mak: No such file or directory
tests/Makefile:53: /tests/fate/vp8.mak: No such file or directory
make: *** No rule to make target `/tests/fate/vp8.mak'. Stop.
</pre>
config.log 包含
<pre>
ratecontrol.c:(.text+0xa400): undefined reference to `memset'
ratecontrol.c:(.text+0xa41c): undefined reference to `memset'
ratecontrol.c:(.text+0xa448): undefined reference to `__aeabi_l2d'
ratecontrol.c:(.text+0xa49c): undefined reference to `__aeabi_ldivmod'
ratecontrol.c:(.text+0xa4a0): undefined reference to `__aeabi_l2d'
ratecontrol.c:(.text+0xa4f8): undefined reference to `__aeabi_idivmod'
ratecontrol.c:(.text+0xa794): undefined reference to `__aeabi_l2d'
../x264/libx264.a(set.o): In function `x264_validate_levels':
set.c:(.text+0x200): undefined reference to `__aeabi_ldivmod'
set.c:(.text+0x334): undefined reference to `__aeabi_idiv'
../x264/libx264.a(set.o): In function `x264_sei_version_write':
set.c:(.text+0xeec): undefined reference to `strlen'
set.c:(.text+0xf10): undefined reference to `memcpy'
set.c:(.text+0xf3c): undefined reference to `sprintf'
set.c:(.text+0xf44): undefined reference to `strlen'
../x264/libx264.a(set.o): In function `scaling_list_write':
set.c:(.text+0x20b0): undefined reference to `memcmp'
set.c:(.text+0x2138): undefined reference to `memcmp'
set.c:(.text+0x2158): undefined reference to `memcmp'
../x264/libx264.a(set.o): In function `x264_pps_write':
set.c:(.text+0x5870): undefined reference to `memcmp'
set.c:(.text+0x5a7c): undefined reference to `memcmp'
../x264/libx264.a(set.o):set.c:(.text+0x5a9c): more undefined references to `memcmp' follow
../x264/libx264.a(macroblock.o): In function `x264_noise_reduction_update':
macroblock.c:(.text+0xe10): undefined reference to `__aeabi_uldivmod'
../x264/libx264.a(macroblock.o): In function `x264_predict_lossless_8x8_chroma':
macroblock.c:(.text+0x3224): undefined reference to `memcpy'
macroblock.c:(.text+0x323c): undefined reference to `memcpy'
../x264/libx264.a(cabac.o): In function `x264_macroblock_write_cabac':
cabac.c:(.text+0x2c58): undefined reference to `__assert2'
cabac.c:(.text+0x2dd8): undefined reference to `__assert2'
cabac.c:(.text+0x2f80): undefined reference to `__assert2'
cabac.c:(.text+0x3020): undefined reference to `__assert2'
../x264/libx264.a(rectangle.o): In function `x264_macroblock_cache_ref_1_1':
rectangle.c:(.text+0x1e4): undefined reference to `__assert2'
../x264/libx264.a(rectangle.o):rectangle.c:(.text+0x210): more undefined references to `__assert2' follow
ERROR: libx264 not found
</pre>
1.我正在使用 fedora 构建 ffmpeg 和 x264 2.NDK r7
任何成功构建代码的解决方案?