Cross compiling for android

Kurt McAlpine kurt at linux.com
Thu Jan 15 10:52:07 PST 2015


Hi Anton,

I'm attempting to compile subsurface for Android but I have encountered an
error when I run build.sh

This is my error:

/home/kurt/workspace/subsurface/src/ndk-arm/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -llzma
collect2: error: ld returned 1 exit status
Makefile:1066: recipe for target 'testSchemas' failed
make[2]: *** [testSchemas] Error 1
make[2]: *** Waiting for unfinished jobs....
/home/kurt/workspace/subsurface/src/ndk-arm/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -llzma
collect2: error: ld returned 1 exit status
/home/kurt/workspace/subsurface/src/ndk-arm/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -llzma
collect2: error: ld returned 1 exit status
Makefile:1102: recipe for target 'xmlcatalog' failed
make[2]: *** [xmlcatalog] Error 1
Makefile:1106: recipe for target 'xmllint' failed
make[2]: *** [xmllint] Error 1
make[2]: Leaving directory '/home/kurt/workspace/subsurface/src/libxml2-build-arm'
Makefile:1429: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/kurt/workspace/subsurface/src/libxml2-build-arm'
Makefile:847: recipe for target 'all' failed
make: *** [all] Error 2

Am I missing something obvious?
I've installed QT 5.4 for android and I am using android-ndk-10d

Kurt


More information about the subsurface mailing list