Build libVLC for Android - make libxml2 error 77

This forum is about all development around libVLC.
user235
New Cone
New Cone
Posts: 2
Joined: 27 Oct 2020 11:18

Build libVLC for Android - make libxml2 error 77

Postby user235 » 27 Oct 2020 11:22

command to build:

Code: Select all

buildsystem/compile.sh -l -a all -r
last logs:

Code: Select all

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
How can I solve this issue?

SDK latest 30
NDK r21
Latest cloned vlc andorid git version

mfkl
Developer
Developer
Posts: 740
Joined: 13 Jun 2017 10:41

Re: Build libVLC for Android - make libxml2 error 77

Postby mfkl » 28 Oct 2020 04:53

Use the docker image made for this.
https://mfkl.github.io

user235
New Cone
New Cone
Posts: 2
Joined: 27 Oct 2020 11:18

Re: Build libVLC for Android - make libxml2 error 77

Postby user235 » 28 Oct 2020 14:58

Use the docker image made for this.
I downloaded https://code.videolan.org/videolan/dock ... an-android and built it but what to do next?

Code: Select all

-- Installing: /opt/tools/share/cmake-3.17/editors/emacs/cmake-mode.el -- Installing: /opt/tools/share/aclocal/cmake.m4 -- Installing: /opt/tools/share/cmake-3.17/completions/cmake -- Installing: /opt/tools/share/cmake-3.17/completions/cpack -- Installing: /opt/tools/share/cmake-3.17/completions/ctest Removing intermediate container ac13f808eba6 ---> b04abf483ce6 Step 10/12 : ENV LANG en_US.UTF-8 ---> Running in 848a58eddaef Removing intermediate container 848a58eddaef ---> 8f02cb9ca66f Step 11/12 : USER videolan ---> Running in 97ba9f880f33 Removing intermediate container 97ba9f880f33 ---> b39e35baa9ff Step 12/12 : RUN git config --global user.name "VLC Android" && git config --global user.email buildbot@videolan.org ---> Running in 50531aae594f Removing intermediate container 50531aae594f ---> c7c86c332bb1 Successfully built c7c86c332bb1

mfkl
Developer
Developer
Posts: 740
Joined: 13 Jun 2017 10:41

Re: Build libVLC for Android - make libxml2 error 77

Postby mfkl » 29 Oct 2020 12:51

Learn the basics on how to use docker, there are plenty of tutorials online, this section is about libvlc. You can then build libvlc inside the container.
https://mfkl.github.io


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 12 guests