为 Android 构建 libVLC - 生成 libxml2 错误 77
Build libVLC for Android - make libxml2 error 77
构建命令:
buildsystem/compile.sh -l -a all -r
最后记录:
configure: WARNING: unrecognized options: --with-minimal checking
whether to enable maintainer-specific portions of Makefiles... yes
checking build system type... x86_64-pc-linux-gnu checking host system
type... arm-unknown-linux-androideabi checking for a BSD-compatible
install... /usr/bin/install -c checking whether build environment is
sane... yes checking for arm-linux-androideabi-strip...
arm-linux-androideabi-strip checking for a thread-safe mkdir -p...
/bin/mkdir -p checking for gawk... gawk checking whether make sets
$(MAKE)... yes checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for arm-linux-androideabi-gcc...
/home/test/Android/Sdk/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi17-clang
checking whether the C compiler works... no configure: error: in
/home/test/Downloads/vlc/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/libxml2': configure: error: C compiler cannot create executables See
config.log' for more details make: *** [../src/libxml2/rules.mak:51:
.libxml2] Error 77
我该如何解决这个问题?
SDK最新30,
NDK r21,
最新克隆的 vlc andorid git 版本
使用 docker 图片并遵循 CI 步骤。
构建命令:
buildsystem/compile.sh -l -a all -r
最后记录:
configure: WARNING: unrecognized options: --with-minimal checking whether to enable maintainer-specific portions of Makefiles... yes checking build system type... x86_64-pc-linux-gnu checking host system type... arm-unknown-linux-androideabi checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for arm-linux-androideabi-strip... arm-linux-androideabi-strip checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for arm-linux-androideabi-gcc... /home/test/Android/Sdk/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi17-clang checking whether the C compiler works... no configure: error: in
/home/test/Downloads/vlc/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/libxml2': configure: error: C compiler cannot create executables See
config.log' for more details make: *** [../src/libxml2/rules.mak:51: .libxml2] Error 77
我该如何解决这个问题?
SDK最新30, NDK r21, 最新克隆的 vlc andorid git 版本
使用 docker 图片并遵循 CI 步骤。