VLC for Android 编译错误 [英] Compiling error of VLC for Android
本文介绍了VLC for Android 编译错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我根据此页面为 Android 编译 VLC 时,步骤为:><块引用>
sh 编译.sh
我收到此错误:
<前>对于没有 FPU 的 ARMv6 设备:$出口NO_FPU=1对于 ARMv5 设备:$出口NO_ARMV6=1如果您打算使用发布版本,请运行compile.sh release"找到 VLC 源建筑工具./bootstrap: line 63: [: 6b: 预期的整数表达式您已准备好构建 VLC 及其贡献构建贡献生成 EGL pkg-config 文件生成 GLESv2 pkg-config 文件猜测构建系统... x86_64-redhat-linux正在创建配置文件... config.mak引导完成.运行make"开始编译.其他目标:* make install 与make"相同* 进行预构建获取并安装预构建的二进制文件* make list 列出包* make fetch 获取所需的源 tarball* make fetch-all 获取所有源 tarball* 使 distclean 清理所有内容并撤消引导程序* 使除源 tarball 之外的所有内容都保持干净* 清洁一切* make package 准备预建的包make: 什么都不用做`fetch'.mkdir -p --/home/heda/adt-bundle/android/vlc/contrib/arm-linux-androideabi/share/aclocal && cd a52dec && autoreconf -fiv -I/home/heda/adt-bundle/android/vlc/contrib/arm-linux-androideabi/share/aclocalautoreconf: 进入目录`.'autoreconf:configure.in:不使用 Gettextautoreconf: 运行: aclocal -I/home/heda/adt-bundle/android/vlc/contrib/arm-linux-androideabi/share/aclocal --forceaclocal:警告:autoconf 输入应命名为configure.ac",而不是configure.in"autoreconf:configure.in:跟踪autoreconf: configure.in: 不使用 Libtoolautoreconf:运行:/home/heda/adt-bundle/android/vlc/extras/tools/build/bin/autoconf --include=/home/heda/adt-bundle/android/vlc/contrib/arm-linux-androideabi/share/aclocal --forceconfigure.in:74: 错误:可能未定义的宏:AC_DISABLE_SHARED如果此令牌和其他令牌是合法的,请使用 m4_pattern_allow.请参阅 Autoconf 文档.configure.in:75: 错误:可能未定义的宏:AC_LIBTOOL_WIN32_DLLconfigure.in:76: 错误:可能未定义的宏:AC_PROG_LIBTOOLautoreconf:/home/heda/adt-bundle/android/vlc/extras/tools/build/bin/autoconf 失败,退出状态:1制作:*** [.a52] 错误 1 解决方案
我在安装不同的包时发生了类似的事情.修复方法是使用以下命令安装 libtool
:
$ sudo apt-get install libtool
然后运行:
$ ./auto_gen.sh
然后照常进行.
When I'm compiling VLC for Android according to this page, at the step of:
sh compile.sh
I get this error:
For an ARMv6 device without FPU: $ export NO_FPU=1 For an ARMv5 device: $ export NO_ARMV6=1 If you plan to use a release build, run 'compile.sh release' VLC source found Building tools ./bootstrap: line 63: [: 6b: integer expression expected You are ready to build VLC and its contribs Building the contribs Generating EGL pkg-config file Generating GLESv2 pkg-config file Guessing build system... x86_64-redhat-linux Creating configuration file... config.mak Bootstrap completed. Run "make" to start compilation. Other targets: * make install same as "make" * make prebuilt fetch and install prebuilt binaries * make list list packages * make fetch fetch required source tarballs * make fetch-all fetch all source tarballs * make distclean clean everything and undo bootstrap * make mostlyclean clean everything except source tarballs * make clean clean everything * make package prepare prebuilt packages make: Nothing to be done for `fetch'. mkdir -p -- /home/heda/adt-bundle/android/vlc/contrib/arm-linux-androideabi/share/aclocal && cd a52dec && autoreconf -fiv -I/home/heda/adt-bundle/android/vlc/contrib/arm-linux-androideabi/share/aclocal autoreconf: Entering directory `.' autoreconf: configure.in: not using Gettext autoreconf: running: aclocal -I /home/heda/adt-bundle/android/vlc/contrib/arm-linux-androideabi/share/aclocal --force aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: configure.in: tracing autoreconf: configure.in: not using Libtool autoreconf: running: /home/heda/adt-bundle/android/vlc/extras/tools/build/bin/autoconf --include=/home/heda/adt-bundle/android/vlc/contrib/arm-linux-androideabi/share/aclocal --force configure.in:74: error: possibly undefined macro: AC_DISABLE_SHARED If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.in:75: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL configure.in:76: error: possibly undefined macro: AC_PROG_LIBTOOL autoreconf: /home/heda/adt-bundle/android/vlc/extras/tools/build/bin/autoconf failed with exit status: 1 make: *** [.a52] Error 1
解决方案
A similar thing happened to me when installing a different package. The fix was to install libtool
with:
$ sudo apt-get install libtool
then run:
$ ./auto_gen.sh
then proceed as normal.
这篇关于VLC for Android 编译错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文