Discussion:
[Linphone-developers] build issue - libxml2 - android linphone
Marco Tessarotto
2018-11-20 08:08:08 UTC
Permalink
while building "master" from
https://github.com/BelledonneCommunications/linphone-android,
on linux debian 9.5, x86_64, using android platform 28.0.3, ndk r18, all
the depencies installed

./prepare succeeds,
make: starts building the submodule projects, but when it arrives at
libxml2 it gives the following error (attaching complete log file of build):

...
[ 39%] Building C object CMakeFiles/xml2.dir/nanohttp.c.o
[ 41%] Building C object CMakeFiles/xml2.dir/parser.c.o
/home/marco/git/linphone-android/submodules/externals/libxml2/parser.c:90:10:
fatal error: 'lzma.h' file not found
#include <lzma.h>
^~~~~~~~
1 error generated.

any clue on how to solve this issue?
do I need to build manually xz utils (which contains lzma) and put it in
the ndk?

thank you,
Marco T

Loading...