文章开头,不得不膜拜一下老外们的奉献分享精神!开发移动平台播放器,VLC-android是一个非常值得参考的开源项目,该文记录下实际的VLC-Android的编译运行过程!
该项目的下载网址是:http://mirrors.ustc.edu.cn/videolan-ftp/vlc-android/1.7.5/VLC-Android-1.7.5.tar.gz, 以下的过程记录基于在Fedora 18 kde定制版上的编译运行过程。
1,
确保一些工具的安装:
yum install automake ant autopoint cmake build-essential libtool patch pkg-config protobuf-compiler ragel subversion unzip git
Note: VLC的默认编译配置是需要gettext 0.19.3的,但是运行gettext --version,发现版本太低,如下所示:
[root@localhost gradle-2.6]# gettext --version
gettext (GNU gettext-runtime) 0.18.3
版权所有 (C) 1995-1997, 2000-2007 Free Software Foundation, Inc.
授权协议 GPLv3+: GNU GPL 版本 3 或之后版本 <http://gnu.org/licenses/gpl.html>
这是*软件: 你有修改和再发布的*。
本软件在法律允许的范围内不提供任何担保。
由 Ulrich Drepper 编写。
需要修改配置,具体是修改vlc/contrib/contrib-android-arm-linux-androideabi/libgpg-error/configure.ac文件的158行,把0.19.3改为当前gettext的版本
2,配置Android编译环境:
export ANDROID_SDK=/path/to/android-sdk
export ANDROID_NDK=/path/to/android-ndk
export PATH=$PATH:$ANDROID_SDK/platform-tools:$ANDROID_SDK/tools
3,搞清楚您的设备ABI类型,
- For a normal (2012-2015 consumer phone or tablet) device (e.g. Cortex-A8 or Cortex-A9)
armeabi-v7a
- For a Tegra2 device (no NEON)
armeabi-v7a
- For an ARMv6 device
armeabi
- For an ARMv6 device that does not support FPU
armeabi-nofpu
- For an ARMv5 device or the Android Emulator
armeabi-v5
- For a x86 device (e.g. Android-x86, Google TV, Logitech TV, Android x86 smartphones, etc)
x86
- For a MIPS device (i.e. Ainol Novo tablets):
mips
This value must be passed to the compile.sh script
4,执行compile.sh开始编译,编译过程中需要配置gradle项目管理工具并下载vlc源码,一般情况下,不能够直接下载gradle工具,我是开启了*工具才下载成功的。(PS:由此可见,GCD ZF就是想把我们国人与世隔绝,方便搞愚昧百姓的*,强烈*新闻*的权利遭受侵犯!)
sh compile.sh -a <ABI>compile.sh的执行过程,就是整个的编译过程,大致过程如下:
a. 下载vlc代码:compile.sh的42行 git clone git://git.videolan.org/vlc.git vlc。
b. 并check out vlc代码到e75d2024这个版本:compile.sh的44行 git checkout -B android ${TESTED_HASH}
c. 编译所有需要的第三方库,先下载再编译,这个过程需要很长时间,还可能下载不成功,如果无法下载某些库,就手动下载下来,并放到这个目录下即可:android/vlc/contrib/tarballs。
d. vlc的Configuring。
e. vlc的编译,配置参数在compile-libvlc.sh 里面
f. 编译android部分代码并链接vlc so库。
PS:编译中遇到的问题:
1,vlc/contrib/contrib-android-arm-linux-androideabi/libgpg-error/src/mkerrcodes.h有字符错误,这个问题是用awk工具从mkerrcodes.awk生成的,可能生成脚本写的有问题,我是先把mkerrcodes.h修改正确(参考注释里指明的格式),然后注释掉Makefile.am和Makefile.in中调用awk生成这个文件的语句,才过关的.
mkerroces.h的正确格式:
/* Output of mkerrcodes.awk. DO NOT EDIT. */
static struct
{
int err;
const char *err_sym;
} err_table[] =
{
{ 7, "GPG_ERR_E2BIG" },
{ 13, "GPG_ERR_EACCES" },
{ 98, "GPG_ERR_EADDRINUSE" },
{ 99, "GPG_ERR_EADDRNOTAVAIL" },
{ 68, "GPG_ERR_EADV" },
{ 97, "GPG_ERR_EAFNOSUPPORT" },
{ 11, "GPG_ERR_EAGAIN" },
{ 114, "GPG_ERR_EALREADY" },
{ 52, "GPG_ERR_EBADE" },
{ 9, "GPG_ERR_EBADF" },
{ 77, "GPG_ERR_EBADFD" },
{ 74, "GPG_ERR_EBADMSG" },
{ 53, "GPG_ERR_EBADR" },
{ 56, "GPG_ERR_EBADRQC" },
{ 57, "GPG_ERR_EBADSLT" },
{ 59, "GPG_ERR_EBFONT" },
{ 16, "GPG_ERR_EBUSY" },
{ 125, "GPG_ERR_ECANCELED" },
{ 10, "GPG_ERR_ECHILD" },
{ 44, "GPG_ERR_ECHRNG" },
{ 70, "GPG_ERR_ECOMM" },
{ 103, "GPG_ERR_ECONNABORTED" },
{ 111, "GPG_ERR_ECONNREFUSED" },
{ 104, "GPG_ERR_ECONNRESET" },
{ 35, "GPG_ERR_EDEADLK" },
{ 35, "GPG_ERR_EDEADLOCK" },
{ 89, "GPG_ERR_EDESTADDRREQ" },
{ 33, "GPG_ERR_EDOM" },
{ 73, "GPG_ERR_EDOTDOT" },
{ 122, "GPG_ERR_EDQUOT" },
{ 17, "GPG_ERR_EEXIST" },
{ 14, "GPG_ERR_EFAULT" },
{ 27, "GPG_ERR_EFBIG" },
{ 112, "GPG_ERR_EHOSTDOWN" },
{ 113, "GPG_ERR_EHOSTUNREACH" },
{ 43, "GPG_ERR_EIDRM" },
{ 84, "GPG_ERR_EILSEQ" },
{ 115, "GPG_ERR_EINPROGRESS" },
{ 4, "GPG_ERR_EINTR" },
{ 22, "GPG_ERR_EINVAL" },
{ 5, "GPG_ERR_EIO" },
{ 106, "GPG_ERR_EISCONN" },
{ 21, "GPG_ERR_EISDIR" },
{ 120, "GPG_ERR_EISNAM" },
{ 51, "GPG_ERR_EL2HLT" },
{ 45, "GPG_ERR_EL2NSYNC" },
{ 46, "GPG_ERR_EL3HLT" },
{ 47, "GPG_ERR_EL3RST" },
{ 79, "GPG_ERR_ELIBACC" },
{ 80, "GPG_ERR_ELIBBAD" },
{ 83, "GPG_ERR_ELIBEXEC" },
{ 82, "GPG_ERR_ELIBMAX" },
{ 81, "GPG_ERR_ELIBSCN" },
{ 48, "GPG_ERR_ELNRNG" },
{ 40, "GPG_ERR_ELOOP" },
{ 124, "GPG_ERR_EMEDIUMTYPE" },
{ 24, "GPG_ERR_EMFILE" },
{ 31, "GPG_ERR_EMLINK" },
{ 90, "GPG_ERR_EMSGSIZE" },
{ 72, "GPG_ERR_EMULTIHOP" },
{ 36, "GPG_ERR_ENAMETOOLONG" },
{ 119, "GPG_ERR_ENAVAIL" },
{ 100, "GPG_ERR_ENETDOWN" },
{ 102, "GPG_ERR_ENETRESET" },
{ 101, "GPG_ERR_ENETUNREACH" },
{ 23, "GPG_ERR_ENFILE" },
{ 55, "GPG_ERR_ENOANO" },
{ 105, "GPG_ERR_ENOBUFS" },
{ 50, "GPG_ERR_ENOCSI" },
{ 61, "GPG_ERR_ENODATA" },
{ 19, "GPG_ERR_ENODEV" },
{ 2, "GPG_ERR_ENOENT" },
{ 8, "GPG_ERR_ENOEXEC" },
{ 37, "GPG_ERR_ENOLCK" },
{ 67, "GPG_ERR_ENOLINK" },
{ 123, "GPG_ERR_ENOMEDIUM" },
{ 12, "GPG_ERR_ENOMEM" },
{ 42, "GPG_ERR_ENOMSG" },
{ 64, "GPG_ERR_ENONET" },
{ 65, "GPG_ERR_ENOPKG" },
{ 92, "GPG_ERR_ENOPROTOOPT" },
{ 28, "GPG_ERR_ENOSPC" },
{ 63, "GPG_ERR_ENOSR" },
{ 60, "GPG_ERR_ENOSTR" },
{ 38, "GPG_ERR_ENOSYS" },
{ 15, "GPG_ERR_ENOTBLK" },
{ 107, "GPG_ERR_ENOTCONN" },
{ 20, "GPG_ERR_ENOTDIR" },
{ 39, "GPG_ERR_ENOTEMPTY" },
{ 118, "GPG_ERR_ENOTNAM" },
{ 88, "GPG_ERR_ENOTSOCK" },
{ 95, "GPG_ERR_ENOTSUP" },
{ 25, "GPG_ERR_ENOTTY" },
{ 76, "GPG_ERR_ENOTUNIQ" },
{ 6, "GPG_ERR_ENXIO" },
{ 95, "GPG_ERR_EOPNOTSUPP" },
{ 75, "GPG_ERR_EOVERFLOW" },
{ 1, "GPG_ERR_EPERM" },
{ 96, "GPG_ERR_EPFNOSUPPORT" },
{ 32, "GPG_ERR_EPIPE" },
{ 71, "GPG_ERR_EPROTO" },
{ 93, "GPG_ERR_EPROTONOSUPPORT" },
{ 91, "GPG_ERR_EPROTOTYPE" },
{ 34, "GPG_ERR_ERANGE" },
{ 78, "GPG_ERR_EREMCHG" },
{ 66, "GPG_ERR_EREMOTE" },
{ 121, "GPG_ERR_EREMOTEIO" },
{ 85, "GPG_ERR_ERESTART" },
{ 30, "GPG_ERR_EROFS" },
{ 108, "GPG_ERR_ESHUTDOWN" },
{ 94, "GPG_ERR_ESOCKTNOSUPPORT" },
{ 29, "GPG_ERR_ESPIPE" },
{ 3, "GPG_ERR_ESRCH" },
{ 69, "GPG_ERR_ESRMNT" },
{ 116, "GPG_ERR_ESTALE" },
{ 86, "GPG_ERR_ESTRPIPE" },
{ 62, "GPG_ERR_ETIME" },
{ 110, "GPG_ERR_ETIMEDOUT" },
{ 109, "GPG_ERR_ETOOMANYREFS" },
{ 26, "GPG_ERR_ETXTBSY" },
{ 117, "GPG_ERR_EUCLEAN" },
{ 49, "GPG_ERR_EUNATCH" },
{ 87, "GPG_ERR_EUSERS" },
{ 11, "GPG_ERR_EWOULDBLOCK" },
{ 18, "GPG_ERR_EXDEV" },
{ 54, "GPG_ERR_EXFULL" },
};
同时注释Makefile.am:
# # It is correct to use $(CPP). We want the host's idea of the error codes.
# mkerrcodes.h: Makefile mkerrcodes.awk $(gpg_extra_headers)
# $(AWK) -f $(srcdir)/mkerrcodes1.awk $(srcdir)/errnos.in >_$@
# $(CPP) $(CPPFLAGS) $(extra_cppflags) -P _$@ | grep GPG_ERR_ | \
# $(AWK) -f $(srcdir)/mkerrcodes.awk >$@
# -rm _$@
注释Makefile.in
# # It is correct to use $(CPP). We want the host's idea of the error codes.
# mkerrcodes.h: Makefile mkerrcodes.awk $(gpg_extra_headers)
# $(AWK) -f $(srcdir)/mkerrcodes1.awk $(srcdir)/errnos.in >_$@
# $(CPP) $(CPPFLAGS) $(extra_cppflags) -P _$@ | grep GPG_ERR_ | \
# $(AWK) -f $(srcdir)/mkerrcodes.awk >$@
# -rm _$@
2,
cpp: error: unrecognized command line option '-mfpu=vfpv3-d16'
cpp: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
cpp: error: unrecognized command line option '-mthumb'
cpp: error: unrecognized command line option '-mfloat-abi=softfp'
9,进入libvlc目录编译android库的时候遇到z库错误,如下图所示:
解决办法是修改 $(vlc-android)/libvlc/Android.mk
原来:
LOCAL_LDLIBS := -L$(VLC_CONTRIB)/lib \
$(VLC_MODULES) \
$(VLC_BUILD_DIR)/lib/.libs/libvlc.a \
$(VLC_BUILD_DIR)/src/.libs/libvlccore.a \
$(VLC_BUILD_DIR)/compat/.libs/libcompat.a \
-ldl -lz -lm -llog \
-ldvbpsi -lmatroska -lebml -ltag \
-logg -lFLAC -ltheora -lvorbis \
-la52 -lsoxr \
-lavformat -lavcodec -lswscale -lavutil -lpostproc -lgsm -lopenjpeg \
-lliveMedia -lUsageEnvironment -lBasicUsageEnvironment -lgroupsock \
-lspeex -lspeexdsp \
-lxml2 -lpng -lgnutls -lgcrypt -lgpg-error \
-lnettle -lhogweed -lgmp \
-lharfbuzz -lfreetype -liconv -lass -lfribidi -lopus \
-lEGL -lGLESv2 -ljpeg \
-ldvdnav -ldvdread -ldvdcss \
-ldsm -ltasn1 \
-lmad \
-lzvbi \
-lssh2 \
-lmodplug \
-lupnp -lthreadutil -lixml \
-larchive \
-lnfs\
$(EXTRA_LDFLAGS)
修改为:
LOCAL_LDLIBS := -L$(VLC_CONTRIB)/lib \
$(VLC_MODULES) \
$(VLC_BUILD_DIR)/lib/.libs/libvlc.a \
$(VLC_BUILD_DIR)/src/.libs/libvlccore.a \
$(VLC_BUILD_DIR)/compat/.libs/libcompat.a \
$(VLC_CONTRIB)/lib/libz.a\
-ldl -lz -lm -llog \
-ldvbpsi -lmatroska -lebml -ltag \
-logg -lFLAC -ltheora -lvorbis \
-la52 -lsoxr \
-lavformat -lavcodec -lswscale -lavutil -lpostproc -lgsm -lopenjpeg \
-lliveMedia -lUsageEnvironment -lBasicUsageEnvironment -lgroupsock \
-lspeex -lspeexdsp \
-lxml2 -lpng -lgnutls -lgcrypt -lgpg-error \
-lnettle -lhogweed -lgmp \
-lharfbuzz -lfreetype -liconv -lass -lfribidi -lopus \
-lEGL -lGLESv2 -ljpeg \
-ldvdnav -ldvdread -ldvdcss \
-ldsm -ltasn1 \
-lmad \
-lzvbi \
-lssh2 \
-lmodplug \
-lupnp -lthreadutil -lixml \
-larchive \
-lnfs\
$(EXTRA_LDFLAGS)
注意,红色字体为新添加。
10,出现libtool方面的错误,如下所示:
configure.in:20: warning: macro 'AM_PROG_LIBTOOL' not found in library
autoreconf: configure.in: tracing
autoreconf: configure.in: tracing
autoreconf: configure.in: not using Libtool
autoreconf: running: /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/build/bin/autoconf --include=/opt/Android/VLC-Android-2.0.5/vlc/contrib/arm-linux-androideabi/share/aclocal --force
autoreconf: configure.in: not using Libtool
autoreconf: running: /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/build/bin/autoconf --include=/opt/Android/VLC-Android-2.0.5/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: /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/build/bin/autoconf failed with exit status: 1
make: *** [.a52] 错误 1
make: *** 正在等待未完成的任务....
configure.in:20: error: possibly undefined macro: AM_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/build/bin/autoconf failed with exit status: 1
说明是libtool的几个宏定义有问题,解决办法是把机器上原有的libtool删除掉,让编译脚本自动下载libtool编译安装,可能libtool版本不对,不过这个解决办法还真管用!
11,gnutls出现错误,怎么解决的,我也说不上来,就是把自己下载一个gnutls-3.2.21来替代3.4.13,并解压在contrib-android-arm-linux-androideabi下,然后再编译就莫名其妙过了这道坎;
12,编译harfbuzz 又出现了严重的问题,
cd harfbuzz && env NOCONFIGURE=1 sh autogen.sh
checking for ragel... /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/build/bin/ragel
checking for pkg-config... /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/build/bin/pkg-config
checking for libtoolize... /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/build/bin/glibtoolize
checking for gtkdocize... /usr/bin/gtkdocize
gtkdocize: too many arguments
usage: gtkdocize [ --copy ] [ --docdir DIR ] [ --flavour {legacy|legacy-flat|no-tmpl|no-tmpl-flat} ]
make: *** [.harfbuzz] 错误 1
contribs: make failed
直接把harfbuzz下面的autogen.sh修改注释掉这个检测完事:
# if which gtkdocize ; then
# gtkdocize --copy || exit 1
# else
# echo "*** No gtkdocize (gtk-doc) found, skipping documentation ***"
# echo "EXTRA_DIST = " > gtk-doc.make
# fi
13,编译live555出现如下错误提示:
Makefile:506: *** Download and check target not defined for .sum-luac。 停止
分析Makefile文件发现问题原因是不知道什么原因导致.sum-luac创建失败,只能在vlc/contrib/contrib-android-arm-linux-androideabi/目录下新建一个.sum-luac
14,
# # Generate dependencies for cmBootstrapCommands1.cxx
# for file in `grep "#include.*cm[^.]*.cxx" "${cmake_source_dir}/Source/cmBootstrapCommands1.cxx" | sed "s/.* \"\(.*\)\"/\1/"`; do
# cmBootstrapCommands1Deps="${cmBootstrapCommands1Deps} `cmake_escape "${cmake_source_dir}/Source/$file"`"
# done
# cmBootstrapCommands1Deps=`echo $cmBootstrapCommands1Deps`
# for file in `grep "#include.*cm[^.]*.cxx" "${cmake_source_dir}/Source/cmBootstrapCommands2.cxx" | sed "s/.* \"\(.*\)\"/\1/"`; do
# cmBootstrapCommands2Deps="${cmBootstrapCommands2Deps} `cmake_escape "${cmake_source_dir}/Source/$file"`"
# done
# cmBootstrapCommands2Deps=`echo $cmBootstrapCommands2Deps`
cmBootstrapCommands1Deps="/opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmAddCustomCommandCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmAddCustomTargetCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmAddDefinitionsCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmAddDependenciesCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmAddExecutableCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmAddLibraryCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmAddSubDirectoryCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmAddTestCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmBreakCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmBuildCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmCMakeMinimumRequired.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmCMakePolicyCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmCommandArgumentsHelper.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmConfigureFileCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmContinueCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmCoreTryCompile.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmCreateTestSourceList.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmDefinePropertyCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmElseCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmEnableLanguageCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmEnableTestingCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmEndForEachCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmEndFunctionCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmEndIfCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmEndMacroCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmEndWhileCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmExecProgramCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmExecuteProcessCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmFindBase.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmFindCommon.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmFileCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmFindFileCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmFindLibraryCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmFindPackageCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmFindPathCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmFindProgramCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmForEachCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmFunctionCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmPathLabel.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmSearchPath.cxx "
cmBootstrapCommands2Deps="/opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmConditionEvaluator.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmExpandedCommandArgument.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmGetCMakePropertyCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmGetDirectoryPropertyCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmGetFilenameComponentCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmGetPropertyCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmGetSourceFilePropertyCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmGetTargetPropertyCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmHexFileConverter.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmIfCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmIncludeCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmIncludeDirectoryCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmIncludeRegularExpressionCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmInstallFilesCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmInstallCommandArguments.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmInstallCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmInstallTargetsCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmLinkDirectoriesCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmListCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmMacroCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmMakeDirectoryCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmMarkAsAdvancedCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmMathCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmMessageCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmOptionCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmProjectCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmReturnCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmSeparateArgumentsCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmSetCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmSetDirectoryPropertiesCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmSetPropertyCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmSetSourceFilesPropertiesCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmSetTargetPropertiesCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmSetTestsPropertiesCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmGetTestPropertyCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmSiteNameCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmStringCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmSubdirCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmTargetLinkLibrariesCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmTimestamp.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmTryCompileCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmTryRunCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmUnsetCommand.cxx /opt/Android/VLC-Android-2.0.5/vlc/extras/tools/cmake/Source/cmWhileCommand.cxx"
15,找不到ncurses.h
修改f vlc/contrib/src/ncurses/rules.mak:
##ifdef HAVE_MACOSX
PKGS += ncurses
##endif
到了链接libvlc.so阶段,链接不成功很多的库,同样要做类似修改,若修改rule.mak还是不成功,则会是compile-libvlc.sh的选项的问题,例如mepg2修改后还是不成功,经过检查,
发现是因为compile-libvlc.sh里设置了--diable-mpeg2,需要改成--enable-mpeg2;
16,../../modules/gui/eject.c:50:26: fatal error: scsi/scsi.h: No such file or directory
从 /usr/include/下拷贝scsi文件夹到vlc/contrib/arm-linux-androideabi/include/下
最后,给出编译成功的过程日志,这时vlc代码都已经下载完毕,并且编译好了众多的第三方库:
[root@localhost VLC-Android-1.7.5]# ./compile.sh
VLC source found
Configuring
ABI: armeabi-v7a
API: android-9
SYSROOT: /opt/Android/android-ndk-r10b//platforms/android-9/arch-arm
PATH: /opt/Android/android-ndk-r10b//toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin:/usr/java/jdk1.8.0_73//bin:/usr/java/jdk1.8.0_73//jre/bin:/opt/Android/android-sdk-linux//platform-tools/:/opt/Android/android-sdk-linux//tools:/opt/Android/android-ndk-r10b//:/usr/share/ant//bin:/usr/lib/qt-3.3/bin:/usr/local/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin:/root/bin
CFLAGS: -g -O2 -fstrict-aliasing -funsafe-math-optimizations -mlong-calls
EXTRA_CFLAGS: -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -I/opt/Android/android-ndk-r10b//sources/cxx-stl/gnu-libstdc++/4.8/include -I/opt/Android/android-ndk-r10b//sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a/include
Building tools
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... i686-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'.
which: no autopoint in (/opt/Android/VLC-Android-1.7.5/vlc/extras/tools/build/bin:/opt/Android/android-ndk-r10b//toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin:/usr/java/jdk1.8.0_73//bin:/usr/java/jdk1.8.0_73//jre/bin:/opt/Android/android-sdk-linux//platform-tools/:/opt/Android/android-sdk-linux//tools:/opt/Android/android-ndk-r10b//:/usr/share/ant//bin:/usr/lib/qt-3.3/bin:/usr/local/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin:/root/bin)
make: '.gettext' is up to date.
make: Nothing to be done for 'all'.
Building
make all-recursive
make[1]: Entering directory '/opt/Android/VLC-Android-1.7.5/vlc/build-android-arm-linux-androideabi'
Making all in compat
make[2]: Entering directory '/opt/Android/VLC-Android-1.7.5/vlc/build-android-arm-linux-androideabi/compat'
make all-am
make[3]: Entering directory '/opt/Android/VLC-Android-1.7.5/vlc/build-android-arm-linux-androideabi/compat'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/opt/Android/VLC-Android-1.7.5/vlc/build-android-arm-linux-androideabi/compat'
make[2]: Leaving directory '/opt/Android/VLC-Android-1.7.5/vlc/build-android-arm-linux-androideabi/compat'
Making all in doc
make[2]: Entering directory '/opt/Android/VLC-Android-1.7.5/vlc/build-android-arm-linux-androideabi/doc'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/opt/Android/VLC-Android-1.7.5/vlc/build-android-arm-linux-androideabi/doc'
Making all in po
make[2]: Entering directory '/opt/Android/VLC-Android-1.7.5/vlc/build-android-arm-linux-androideabi/po'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/opt/Android/VLC-Android-1.7.5/vlc/build-android-arm-linux-androideabi/po'
Making all in share
make[2]: Entering directory '/opt/Android/VLC-Android-1.7.5/vlc/build-android-arm-linux-androideabi/share'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/opt/Android/VLC-Android-1.7.5/vlc/build-android-arm-linux-androideabi/share'
Making all in src
make[2]: Entering directory '/opt/Android/VLC-Android-1.7.5/vlc/build-android-arm-linux-androideabi/src'
GEN stamp-revision
make all-am
make[3]: Entering directory '/opt/Android/VLC-Android-1.7.5/vlc/build-android-arm-linux-androideabi/src'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/opt/Android/VLC-Android-1.7.5/vlc/build-android-arm-linux-androideabi/src'
make[2]: Leaving directory '/opt/Android/VLC-Android-1.7.5/vlc/build-android-arm-linux-androideabi/src'
Making all in modules
make[2]: Entering directory '/opt/Android/VLC-Android-1.7.5/vlc/build-android-arm-linux-androideabi/modules'
make all-recursive
make[3]: Entering directory '/opt/Android/VLC-Android-1.7.5/vlc/build-android-arm-linux-androideabi/modules'
Making all in .
make[4]: Entering directory '/opt/Android/VLC-Android-1.7.5/vlc/build-android-arm-linux-androideabi/modules'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/opt/Android/VLC-Android-1.7.5/vlc/build-android-arm-linux-androideabi/modules'
Making all in gui/macosx
make[4]: Entering directory '/opt/Android/VLC-Android-1.7.5/vlc/build-android-arm-linux-androideabi/modules/gui/macosx'
make all-am
make[5]: Entering directory '/opt/Android/VLC-Android-1.7.5/vlc/build-android-arm-linux-androideabi/modules/gui/macosx'
make[5]: Nothing to be done for 'all-am'.
make[5]: Leaving directory '/opt/Android/VLC-Android-1.7.5/vlc/build-android-arm-linux-androideabi/modules/gui/macosx'
make[4]: Leaving directory '/opt/Android/VLC-Android-1.7.5/vlc/build-android-arm-linux-androideabi/modules/gui/macosx'
make[3]: Leaving directory '/opt/Android/VLC-Android-1.7.5/vlc/build-android-arm-linux-androideabi/modules'
make[2]: Leaving directory '/opt/Android/VLC-Android-1.7.5/vlc/build-android-arm-linux-androideabi/modules'
Making all in lib
make[2]: Entering directory '/opt/Android/VLC-Android-1.7.5/vlc/build-android-arm-linux-androideabi/lib'
make all-am
make[3]: Entering directory '/opt/Android/VLC-Android-1.7.5/vlc/build-android-arm-linux-androideabi/lib'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/opt/Android/VLC-Android-1.7.5/vlc/build-android-arm-linux-androideabi/lib'
make[2]: Leaving directory '/opt/Android/VLC-Android-1.7.5/vlc/build-android-arm-linux-androideabi/lib'
Making all in test
make[2]: Entering directory '/opt/Android/VLC-Android-1.7.5/vlc/build-android-arm-linux-androideabi/test'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/opt/Android/VLC-Android-1.7.5/vlc/build-android-arm-linux-androideabi/test'
make[2]: Entering directory '/opt/Android/VLC-Android-1.7.5/vlc/build-android-arm-linux-androideabi'
make[2]: Leaving directory '/opt/Android/VLC-Android-1.7.5/vlc/build-android-arm-linux-androideabi'
make[1]: Leaving directory '/opt/Android/VLC-Android-1.7.5/vlc/build-android-arm-linux-androideabi'
Generating static module list
Building NDK
Android NDK: WARNING:jni/Android.mk:anw.10: non-system libraries in linker flags: -lhardware
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
Android NDK: WARNING:jni/Android.mk:anw.13: non-system libraries in linker flags: -lhardware
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
Android NDK: WARNING:jni/Android.mk:anw.14: non-system libraries in linker flags: -lhardware
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
Android NDK: WARNING:jni/Android.mk:anw.18: non-system libraries in linker flags: -lhardware
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
Android NDK: WARNING:jni/Android.mk:anw.21: non-system libraries in linker flags: -lhardware
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
Android NDK: WARNING:jni/Android.mk:iomx.10: non-system libraries in linker flags: -lgcc -lstagefright -lmedia -lbinder
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
Android NDK: WARNING:jni/Android.mk:iomx.13: non-system libraries in linker flags: -lgcc -lstagefright -lmedia -lbinder
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
Android NDK: WARNING:jni/Android.mk:iomx.14: non-system libraries in linker flags: -lgcc -lstagefright -lmedia -lbinder
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
Android NDK: WARNING:jni/Android.mk:vlcjni: non-system libraries in linker flags: /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libcroppadd_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libvolume_neon_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libsubsdec_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libnfs_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/librawdv_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libplaylist_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libsubsusf_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libadjust_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libsimple_channel_mixer_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libavio_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libxml_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libtcp_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libnuv_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libaccess_mms_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libattachment_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libsvcdsub_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libvobsub_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/librar_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/liblpcm_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libyuy2_i422_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libaccess_concat_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libhds_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libequalizer_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libvc1_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libgles2_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libmjpeg_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libgaussianblur_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libdts_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libpacketizer_flac_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libpacketizer_mpeg4audio_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libpva_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/librotate_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libextract_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libpacketizer_mpegvideo_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libpacketizer_avparser_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libpacketizer_dirac_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libtheora_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libandroid_logger_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libhqdn3d_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libdvdread_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/librv32_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libspeex_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libtelx_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libdtstospdif_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libpacketizer_hevc_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/librawvideo_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libandroid_window_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libnsv_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libinflate_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libmarq_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libchorus_flanger_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libvdr_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libi420_rgb_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libaes3_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libcache_block_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libdsm_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libmpeg_audio_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libfile_logger_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libdiracsys_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libopus_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libcache_read_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libvoc_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libchain_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libspatializer_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/librawvid_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libdemuxdump_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libaccess_archive_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libavcodec_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/liboldmovie_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libyuy2_i420_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libantiflicker_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libwave_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libty_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libchroma_yuv_neon_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libh26x_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libyuvp_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libblend_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libugly_resampler_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libscaletempo_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libmediacodec_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libconsole_logger_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libstl_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libadaptive_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libmod_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libcaf_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libmkv_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libcdg_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libhttps_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libscale_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libafile_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libiomx_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libasf_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libfilesystem_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libi420_yuy2_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libpacketizer_vc1_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/liba52_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libes_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libdolby_surround_decoder_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libdecomp_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libegl_android_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libspudec_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libupnp_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libamem_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libcvdsub_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libandroid_native_window_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libhttp_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libdummy_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libgrey_yuv_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libdvdnav_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libuleaddvaudio_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libsoxr_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libsdp_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libscte18_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libedgedetection_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libyuv_rgb_neon_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/liba52tospdif_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libanaglyph_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libaiff_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libmpgv_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libscte27_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libdvbsub_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libadpcm_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libxa_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libinvert_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libsepia_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libkaraoke_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libheadphone_channel_mixer_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libpng_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libttml_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libflac_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libzvbi_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libimem_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libavi_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libimage_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libsyslog_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/librawaud_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libpacketizer_mpeg4video_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libcompressor_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libsubsdelay_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libaudio_format_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libplaintext_keystore_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libjpeg_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libwav_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libaraw_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libfreeze_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libi422_yuy2_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libtrivial_channel_mixer_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/liba52tofloat32_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libgradfun_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/liblibass_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libzip_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/librtp_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libdeinterlace_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libmono_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libnsc_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libinteger_mixer_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libaccess_realrtsp_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libi422_i420_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libfingerprinter_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libswscale_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libts_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libdemux_cdg_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libtransform_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libtaglib_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libpostproc_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libau_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libprefetch_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libvmem_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libdemux_stl_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libmad_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libudp_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libpacketizer_h264_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libsftp_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libg711_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libshm_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libsubsttml_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libavformat_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libnormvol_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/liblive555_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libtimecode_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libpacketizer_mlp_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libcanvas_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libmp4_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libcolorthres_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libgnutls_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libgain_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libfloat_mixer_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libogg_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libsubtitle_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libopensles_android_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libvhs_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libcc_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libremap_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libvorbis_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libfolder_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libsubstx3g_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libstereo_widen_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libftp_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/librecord_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libtta_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libflacsys_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libandroid_audiotrack_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libparam_eq_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libps_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/liblogo_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libfreetype_plugin.a /opt/Android/VLC-Android-1.7.5/.modules/build-android-arm-linux-androideabi/libfps_plugin.a /opt/Android/VLC-Android-1.7.5/vlc/build-android-arm-linux-androideabi/lib/.libs/libvlc.a /opt/Android/VLC-Android-1.7.5/vlc/build-android-arm-linux-androideabi/src/.libs/libvlccore.a /opt/Android/VLC-Android-1.7.5/vlc/build-android-arm-linux-androideabi/compat/.libs/libcompat.a -ldvbpsi -lmatroska -lebml -ltag -logg -lFLAC -ltheora -lvorbis -la52 -lsoxr -lavformat -lavcodec -lswscale -lavutil -lpostproc -lgsm -lopenjpeg -lliveMedia -lUsageEnvironment -lBasicUsageEnvironment -lgroupsock -lspeex -lspeexdsp -lxml2 -lpng -lgnutls -lgcrypt -lgpg-error -lnettle -lhogweed -lgmp -lharfbuzz -lfreetype -liconv -lass -lfribidi -lopus -ljpeg -ldvdnav -ldvdread -ldvdcss -ldsm -ltasn1 -lmad -lzvbi -lssh2 -lmodplug -lupnp -lthreadutil -lixml -larchive -lnfs -lgnustl_static
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
make: Entering directory `/opt/Android/VLC-Android-1.7.5/libvlc'
[armeabi-v7a] Gdbserver : [arm-linux-androideabi-4.8] libs/armeabi-v7a/gdbserver
[armeabi-v7a] Gdbsetup : libs/armeabi-v7a/gdb.setup
[armeabi-v7a] Install : libanw.10.so => libs/armeabi-v7a/libanw.10.so
[armeabi-v7a] Install : libanw.13.so => libs/armeabi-v7a/libanw.13.so
[armeabi-v7a] Install : libanw.14.so => libs/armeabi-v7a/libanw.14.so
[armeabi-v7a] Install : libanw.18.so => libs/armeabi-v7a/libanw.18.so
[armeabi-v7a] Install : libanw.21.so => libs/armeabi-v7a/libanw.21.so
[armeabi-v7a] Install : libiomx.10.so => libs/armeabi-v7a/libiomx.10.so
[armeabi-v7a] Install : libiomx.13.so => libs/armeabi-v7a/libiomx.13.so
[armeabi-v7a] Install : libiomx.14.so => libs/armeabi-v7a/libiomx.14.so
[armeabi-v7a] Compile thumb : vlcjni <= libvlcjni.c
[armeabi-v7a] SharedLibrary : libvlcjni.so
[armeabi-v7a] Install : libvlcjni.so => libs/armeabi-v7a/libvlcjni.so
make: Leaving directory `/opt/Android/VLC-Android-1.7.5/libvlc'
Download https://jcenter.bintray.com/com/android/databinding/compiler/1.0-rc4/compiler-1.0-rc4.pom
Download https://jcenter.bintray.com/com/android/databinding/baseLibrary/1.0-rc3/baseLibrary-1.0-rc3.pom
Download https://jcenter.bintray.com/com/android/databinding/compiler/1.0-rc4/compiler-1.0-rc4.jar
:libvlc:preBuild UP-TO-DATE
:libvlc:preReleaseBuild UP-TO-DATE
:libvlc:compileReleaseNdk UP-TO-DATE
:libvlc:compileLint
:libvlc:copyReleaseLint UP-TO-DATE
:libvlc:checkReleaseManifest
:libvlc:prepareReleaseDependencies
:libvlc:compileReleaseAidl
:libvlc:compileReleaseRenderscript
:libvlc:generateReleaseBuildConfig
:libvlc:generateReleaseAssets UP-TO-DATE
:libvlc:mergeReleaseAssets
:libvlc:generateReleaseResValues
:libvlc:generateReleaseResources
:libvlc:packageReleaseResources
:libvlc:processReleaseManifest
:libvlc:processReleaseResources
:libvlc:generateReleaseSources
:libvlc:compileReleaseJavaWithJavac
注: /opt/Android/VLC-Android-1.7.5/libvlc/src/org/videolan/libvlc/util/VLCUtil.java使用或覆盖了已过时的 API。
注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
注: /opt/Android/VLC-Android-1.7.5/libvlc/src/org/videolan/libvlc/VLCObject.java使用了未经检查或不安全的操作。
注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
:libvlc:extractReleaseAnnotations
:libvlc:mergeReleaseProguardFiles
:libvlc:processReleaseJavaRes UP-TO-DATE
:libvlc:transformClassesAndResourcesWithExtractJarsForRelease
:libvlc:transformResourcesWithMergeJavaResForRelease
:libvlc:packageReleaseClassesJar
:libvlc:packageReleaseJniLibs
:libvlc:packageReleaseRenderscript UP-TO-DATE
:libvlc:transformClassesWithLocalJarForRelease
:libvlc:syncReleaseLocalJar UP-TO-DATE
:libvlc:bundleRelease
:vlc-android:preBuild UP-TO-DATE
:vlc-android:preVanillaARMv7DebugBuild UP-TO-DATE
:vlc-android:checkVanillaARMv7DebugManifest
:vlc-android:preChromeARMv5DebugBuild UP-TO-DATE
:vlc-android:preChromeARMv5ReleaseBuild UP-TO-DATE
:vlc-android:preChromeARMv6fpuDebugBuild UP-TO-DATE
:vlc-android:preChromeARMv6fpuReleaseBuild UP-TO-DATE
:vlc-android:preChromeARMv6nofpuDebugBuild UP-TO-DATE
:vlc-android:preChromeARMv6nofpuReleaseBuild UP-TO-DATE
:vlc-android:preChromeARMv7DebugBuild UP-TO-DATE
:vlc-android:preChromeARMv7ReleaseBuild UP-TO-DATE
:vlc-android:preChromeARMv8DebugBuild UP-TO-DATE
:vlc-android:preChromeARMv8ReleaseBuild UP-TO-DATE
:vlc-android:preChromeMIPS64DebugBuild UP-TO-DATE
:vlc-android:preChromeMIPS64ReleaseBuild UP-TO-DATE
:vlc-android:preChromeMIPSDebugBuild UP-TO-DATE
:vlc-android:preChromeMIPSReleaseBuild UP-TO-DATE
:vlc-android:preChromeX86DebugBuild UP-TO-DATE
:vlc-android:preChromeX86ReleaseBuild UP-TO-DATE
:vlc-android:preChromeX86_64DebugBuild UP-TO-DATE
:vlc-android:preChromeX86_64ReleaseBuild UP-TO-DATE
:vlc-android:preTvARMv5DebugBuild UP-TO-DATE
:vlc-android:preTvARMv5ReleaseBuild UP-TO-DATE
:vlc-android:preTvARMv6fpuDebugBuild UP-TO-DATE
:vlc-android:preTvARMv6fpuReleaseBuild UP-TO-DATE
:vlc-android:preTvARMv6nofpuDebugBuild UP-TO-DATE
:vlc-android:preTvARMv6nofpuReleaseBuild UP-TO-DATE
:vlc-android:preTvARMv7DebugBuild UP-TO-DATE
:vlc-android:preTvARMv7ReleaseBuild UP-TO-DATE
:vlc-android:preTvARMv8DebugBuild UP-TO-DATE
:vlc-android:preTvARMv8ReleaseBuild UP-TO-DATE
:vlc-android:preTvMIPS64DebugBuild UP-TO-DATE
:vlc-android:preTvMIPS64ReleaseBuild UP-TO-DATE
:vlc-android:preTvMIPSDebugBuild UP-TO-DATE
:vlc-android:preTvMIPSReleaseBuild UP-TO-DATE
:vlc-android:preTvX86DebugBuild UP-TO-DATE
:vlc-android:preTvX86ReleaseBuild UP-TO-DATE
:vlc-android:preTvX86_64DebugBuild UP-TO-DATE
:vlc-android:preTvX86_64ReleaseBuild UP-TO-DATE
:vlc-android:preVanillaARMv5DebugBuild UP-TO-DATE
:vlc-android:preVanillaARMv5ReleaseBuild UP-TO-DATE
:vlc-android:preVanillaARMv6fpuDebugBuild UP-TO-DATE
:vlc-android:preVanillaARMv6fpuReleaseBuild UP-TO-DATE
:vlc-android:preVanillaARMv6nofpuDebugBuild UP-TO-DATE
:vlc-android:preVanillaARMv6nofpuReleaseBuild UP-TO-DATE
:vlc-android:preVanillaARMv7ReleaseBuild UP-TO-DATE
:vlc-android:preVanillaARMv8DebugBuild UP-TO-DATE
:vlc-android:preVanillaARMv8ReleaseBuild UP-TO-DATE
:vlc-android:preVanillaMIPS64DebugBuild UP-TO-DATE
:vlc-android:preVanillaMIPS64ReleaseBuild UP-TO-DATE
:vlc-android:preVanillaMIPSDebugBuild UP-TO-DATE
:vlc-android:preVanillaMIPSReleaseBuild UP-TO-DATE
:vlc-android:preVanillaX86DebugBuild UP-TO-DATE
:vlc-android:preVanillaX86ReleaseBuild UP-TO-DATE
:vlc-android:preVanillaX86_64DebugBuild UP-TO-DATE
:vlc-android:preVanillaX86_64ReleaseBuild UP-TO-DATE
:vlc-android:prepareComAndroidDatabindingAdapters10Rc3Library
:vlc-android:prepareComAndroidDatabindingLibrary10Rc3Library
:vlc-android:prepareComAndroidSupportAppcompatV72311Library
:vlc-android:prepareComAndroidSupportCardviewV72311Library
:vlc-android:prepareComAndroidSupportDesign2311Library
:vlc-android:prepareComAndroidSupportPercent2311Library
:vlc-android:prepareComAndroidSupportPreferenceV72311Library
:vlc-android:prepareComAndroidSupportRecyclerviewV72311Library
:vlc-android:prepareComAndroidSupportSupportV42311Library
:vlc-android:prepareVLCAndroid175LibvlcUnspecifiedLibrary
:vlc-android:prepareVanillaARMv7DebugDependencies
:vlc-android:compileVanillaARMv7DebugAidl
:vlc-android:compileVanillaARMv7DebugRenderscript
:vlc-android:generateVanillaARMv7DebugAssets UP-TO-DATE
:vlc-android:mergeVanillaARMv7DebugAssets
:vlc-android:generateVanillaARMv7DebugResValues
:vlc-android:generateVanillaARMv7DebugResources
:vlc-android:mergeVanillaARMv7DebugResources
:vlc-android:processVanillaARMv7DebugManifest
Warning: /opt/Android/VLC-Android-1.7.5/vlc-android/flavors/vanilla/AndroidManifest.xml:32:5-95 Warning:
uses-permission#android.permission.READ_PHONE_STATE was tagged at AndroidManifest.xml:32 to remove other declarations but no other declaration present
/opt/Android/VLC-Android-1.7.5/vlc-android/flavors/vanilla/AndroidManifest.xml:32:5-95 Warning:
uses-permission#android.permission.READ_PHONE_STATE was tagged at AndroidManifest.xml:32 to remove other declarations but no other declaration present
:vlc-android:dataBindingLayoutsProcessVanillaARMv7DebugResources
:vlc-android:processVanillaARMv7DebugResources
:vlc-android:dataBindingInfoClassProcessVanillaARMv7DebugResources
:vlc-android:generateVanillaARMv7DebugBuildConfig
:vlc-android:generateVanillaARMv7DebugSources
:vlc-android:compileVanillaARMv7DebugJavaWithJavac
注: 某些输入文件使用或覆盖了已过时的 API。
注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
:vlc-android:compileVanillaARMv7DebugNdk UP-TO-DATE
:vlc-android:compileVanillaARMv7DebugSources
:vlc-android:transformClassesAndResourcesWithExtractJarsForVanillaARMv7Debug
:vlc-android:transformClassesWithDexForVanillaARMv7Debug
:vlc-android:processVanillaARMv7DebugJavaRes
:vlc-android:transformResourcesWithMergeJavaResForVanillaARMv7Debug
:vlc-android:validateDebugSigning
:vlc-android:packageVanillaARMv7Debug
:vlc-android:zipalignVanillaARMv7Debug
:vlc-android:assembleVanillaARMv7Debug
BUILD SUCCESSFUL
Total time: 5 mins 11.623 secs
This build could be faster, please consider using the Gradle Daemon: https://docs.gradle.org/2.6/userguide/gradle_daemon.html
PS> vlc-android 2.0.6遇到的新的问题
1,clang skipping ... libgnustl_static.a,解决最后的方式是去掉 compile-libvlc.sh中的
EXTRA_LDFLAGS="-L${ANDROID_NDK}/sources/cxx-stl/gnu-libstdc++/${GCCVER}/libs/${ANDROID_ABI} -lgnustl_static"
改为:
EXTRA_LDFLAGS="-L${ANDROID_NDK}/sources/cxx-stl/gnu-libstdc++/${GCCVER}/libs/${ANDROID_ABI}"
2,奇葩的错误:
/opt/Android/android-ndk-r11c//sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:62:35: error: use of undeclared identifier '_U'
static const mask upper = _U;
^
/opt/Android/android-ndk-r11c//sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:63:32: error: use of undeclared identifier '_L'
static const mask lower = _L;
^
/opt/Android/android-ndk-r11c//sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:64:32: error: use of undeclared identifier '_U'
static const mask alpha = _U | _L;
^
/opt/Android/android-ndk-r11c//sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:64:37: error: use of undeclared identifier '_L'
static const mask alpha = _U | _L;
^
/opt/Android/android-ndk-r11c//sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:65:32: error: use of undeclared identifier '_N'
static const mask digit = _N;
^
/opt/Android/android-ndk-r11c//sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:66:33: error: use of undeclared identifier '_X'
static const mask xdigit = _X | _N;
^
/opt/Android/android-ndk-r11c//sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:66:38: error: use of undeclared identifier '_N'
static const mask xdigit = _X | _N;
^
/opt/Android/android-ndk-r11c//sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:67:32: error: use of undeclared identifier '_S'
static const mask space = _S;
^
/opt/Android/android-ndk-r11c//sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:68:32: error: use of undeclared identifier '_P'
static const mask print = _P | _U | _L | _N | _B;
^
/opt/Android/android-ndk-r11c//sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:68:37: error: use of undeclared identifier '_U'
static const mask print = _P | _U | _L | _N | _B;
^
/opt/Android/android-ndk-r11c//sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:68:42: error: use of undeclared identifier '_L'
static const mask print = _P | _U | _L | _N | _B;
^
/opt/Android/android-ndk-r11c//sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:68:47: error: use of undeclared identifier '_N'
static const mask print = _P | _U | _L | _N | _B;
^
/opt/Android/android-ndk-r11c//sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:68:52: error: use of undeclared identifier '_B'
static const mask print = _P | _U | _L | _N | _B;
^
/opt/Android/android-ndk-r11c//sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:69:32: error: use of undeclared identifier '_P'
static const mask graph = _P | _U | _L | _N;
^
/opt/Android/android-ndk-r11c//sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:69:37: error: use of undeclared identifier '_U'
static const mask graph = _P | _U | _L | _N;
^
/opt/Android/android-ndk-r11c//sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:69:42: error: use of undeclared identifier '_L'
static const mask graph = _P | _U | _L | _N;
^
/opt/Android/android-ndk-r11c//sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:69:47: error: use of undeclared identifier '_N'
static const mask graph = _P | _U | _L | _N;
^
/opt/Android/android-ndk-r11c//sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:70:32: error: use of undeclared identifier '_C'
static const mask cntrl = _C;
^
/opt/Android/android-ndk-r11c//sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include/bits/ctype_base.h:71:32: error: use of undeclared identifier '_P'
static const mask punct = _P;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
打开错误的文件来源,注释写明是给solaris 2.5.1用的,跟现在没有关系,随便顶一下:
#define _U 0x01
#define _L 0x21
#define _N 0x41
#define _S 0x61
#define _P 0x81
#define _C 0xA1
#define _X 0xC1
#define _B 0xD1
3,../gnulib-lib/libgrt.a: could not read symbols: Archive has no index; run ranlib to add one,
c/contrib/arm-linux-androideabi/lib ../gnulib-lib/libgrt.a
../gnulib-lib/libgrt.a: could not read symbols: Archive has no index; run ranlib to add one
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [ngettext] 错误 1
make[2]: *** 正在等待未完成的任务....
libtool: link: clang -DINSTALLDIR=\"/opt/Android/VLC-Android-2.0.6/vlc/contrib/arm-linux-androideabi/bin\" -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -I/opt/Android/android-ndk-r11c//sources/cxx-stl/gnu-libstdc++/4.9/include -I/opt/Android/android-ndk-r11c//sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I/opt/Android/VLC-Android-2.0.6/vlc/contrib/arm-linux-androideabi/include -g -O2 -o gettext gettext-gettext.o -L/opt/Android/android-ndk-r11c//sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a -L/opt/Android/VLC-Android-2.0.6/vlc/contrib/arm-linux-androideabi/lib ../gnulib-lib/libgrt.a
../gnulib-lib/libgrt.a: could not read symbols: Archive has no index; run ranlib to add one
clang: error: linker command failed with exit code 1 (use -v to see invocation)
按照提示的去做呗,到/opt/Android/VLC-Android-2.0.6/vlc/contrib/contrib-android-arm-linux-androideabi/gettext/gettext-runtime/src下面运行一个命令:
#ranlib ../gnulib-lib/libgrt.a