在Ubuntu 16.04.2中,VLC for Android版本失败了

时间:2017-07-14 16:45:15

标签: android linux build vlc vlc-android

我尝试根据本手册构建适用于Android的VLC:https://wiki.videolan.org/AndroidCompile/但我失败了。我是Linux的新手,所以我不明白出了什么问题。 我使用最新的Android SDK和NDK r14b(最新的r15b脚本也失败了,但有一个不同的错误,无法找到一些.py脚本)。

kage@kage-VirtualBox:~/Android/vlc/vlc-android$ ./compile.sh
*** No ANDROID_ABI defined architecture: using ARMv7
VLC source not found, cloning
Cloning into 'vlc'...
remote: Counting objects: 523700, done.
remote: Compressing objects: 100% (99603/99603), done.
remote: Total 523700 (delta 426785), reused 517889 (delta 421819)
Receiving objects: 100% (523700/523700), 181.35 MiB | 2.75 MiB/s, done.
Resolving deltas: 100% (426785/426785), done.
Checking connectivity... done.
Configuring
ABI:        armeabi-v7a
API:        9
PATH:       /home/kage/Android/vlc/vlc-android/toolchains/arm/bin:/home/kage/bin:/home/kage/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/kage/Android/Sdk/platform-tools:/home/kage/Android/Sdk/tools:/home/kage/Android/Sdk/platform-tools:/home/kage/Android/Sdk/tools:/home/kage/Android/Sdk/platform-tools:/home/kage/Android/Sdk/tools
EXTRA_CFLAGS:      -march=armv7-a -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -MMD -MP -fpic -ffunction-sections -funwind-tables -fstack-protector-strong -Wno-invalid-command-line-argument -Wno-unused-command-line-argument -no-canonical-prefixes -fno-integrated-as
VLC_CFLAGS:        -std=gnu11 -g -O2 -fstrict-aliasing -funsafe-math-optimizations
Building tools
yasm not found
To-be-built packages: yasm
/home/kage/Android/vlc/vlc-android/toolchains/arm/bin/make: 1: /home/kage/Android/vlc/vlc-android/toolchains/arm/bin/make: Syntax error: ")" unexpected
/home/kage/Android/vlc/vlc-android/toolchains/arm/bin/make: 1: /home/kage/Android/vlc/vlc-android/toolchains/arm/bin/make: Syntax error: ")" unexpected
buildsystem tools: make

但我安装了yasm:

kage@kage-VirtualBox:~/Android/vlc/vlc-android$ yasm --version
yasm 1.3.0
Compiled on May  6 2015.
Copyright (c) 2001-2014 Peter Johnson and other Yasm developers.
Run yasm --license for licensing overview and summary.

请帮我解决这个问题!

0 个答案:

没有答案