Page 1 of 1

[Solved] Android build failed: touch .ffmpeg contribs: make failed

Posted: 17 Dec 2017 00:50
by user456

Code: Select all

make[1]: Leaving directory `/home/osboxes/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/ffmpeg' touch .ffmpeg contribs: make failed

Re: Android build failed: touch .ffmpeg contribs: make failed

Posted: 17 Dec 2017 00:55
by user456
next try another failed

Code: Select all

touch .gnutls contribs: make failed

Re: Android build failed: touch .ffmpeg contribs: make failed

Posted: 17 Dec 2017 00:59
by user456
one more

Code: Select all

make: *** [.protobuf] Error 2 contribs: make failed
why does it happen to me?

Re: Android build failed: touch .ffmpeg contribs: make failed

Posted: 17 Dec 2017 10:15
by user456
my gettext (GNU gettext-runtime) 0.19.7 https://stackoverflow.com/questions/302 ... untu-12-04
is ok
so the problem in something different

Re: Android build failed: touch .ffmpeg contribs: make failed

Posted: 17 Dec 2017 10:17
by user456
full log

*** No ANDROID_ABI defined architecture: using ARMv7
VLC source found
Configuring
ABI: armeabi-v7a
API: 9
PATH: /home/osboxes/vlc-android/toolchains/arm/bin:/home/osboxes/bin:/home/osboxes/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/osboxes/Android/Sdk/platform-tools:/home/osboxes/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
VLC_CXXFLAGS: -std=gnu++11 -g -O2 -fstrict-aliasing -funsafe-math-optimizations
Building tools
You are ready to build VLC and its contribs
make: `.gas' is up to date.
Building the contribs
Generating EGL pkg-config file
Generating GLESv2 pkg-config file
Guessing build system... x86_64-linux-gnu
Packages licensing... GPL version 3, with advertisement clauses
Creating configuration file... config.mak
Bootstrap completed.
Run "make" to start compilation.

....

google/protobuf/any_test.proto:31:10: Unrecognized syntax identifier "proto3". This parser only recognizes "proto2".
make[3]: *** [unittest_proto_middleman] Error 1
make[3]: Leaving directory `/home/osboxes/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/protobuf/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/osboxes/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/protobuf'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/osboxes/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/protobuf'
make: *** [.protobuf] Error 2
contribs: make failed

Re: Android build failed: touch .ffmpeg contribs: make failed

Posted: 17 Dec 2017 11:12
by user456
I needed to update my protoc

https://github.com/google/protobuf/blob ... /README.md

I built it ok, trying again with 3.5

Re: Android build failed: touch .ffmpeg contribs: make failed

Posted: 17 Dec 2017 12:53
by user456
finally building success