Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


Hi, 
I'm trying to build LO project for Android on Linux machine (Debian 8).

I followed all wiki instructions and i finally building LO for Linux but when i try to build 
Android apk i have some problems.

If i launch make in the root dir with autogen.input sets to --with-distro=LibreOfficeAndroid i have 
this report:

Making all in src
  CC     fcxml.lo
libtool: compile:  
/home/bayway/Documenti/libreoffice/external/android-ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc
 -mthumb -march=armv7-a -mfloat-abi=softfp -mfpu=neon -Wl,--fix-cortex-a8 -ffunction-sections 
-fdata-sections 
-L/home/bayway/Documenti/libreoffice/external/android-ndk/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a
 --sysroot=/home/bayway/Documenti/libreoffice/external/android-ndk/platforms/android-15/arch-arm 
-Wno-psabi -fuse-ld=gold -DHAVE_CONFIG_H -I. -I.. -I.. -I../src 
-I/home/bayway/Documenti/libreoffice/workdir/UnpackedTarball/freetype/instdir/include/freetype2 
-I/home/bayway/Documenti/libreoffice/workdir/UnpackedTarball/freetype/instdir/include 
-I/usr/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wnested-externs -fno-strict-aliasing 
-DFC_CACHEDIR=\"/usr/local/var/cache/fontconfig\" -DFONTCONFIG_PATH=\"/usr/local/etc/fonts\" 
-DHAVE_GCC_VISIBILITY_FEATURE -fvisibility=hidden -MT fcxml.lo -MD -MP -MF .deps/fcxml.Tpo -c 
fcxml.c -o fcxml.o
In file included from /usr/include/libxml2/libxml/parser.h:810:0,
                 from fcxml.c:32:
/usr/include/libxml2/libxml/encoding.h:28:19: fatal error: iconv.h: No such file or directory
 #include <iconv.h>
                   ^
compilation terminated.
Makefile:468: set di istruzioni per l'obiettivo "fcxml.lo" non riuscito
make[5]: *** [fcxml.lo] Errore 1
Makefile:354: set di istruzioni per l'obiettivo "all" non riuscito
make[4]: *** [all] Errore 2
Makefile:447: set di istruzioni per l'obiettivo "all-recursive" non riuscito
make[3]: *** [all-recursive] Errore 1
Makefile:330: set di istruzioni per l'obiettivo "all" non riuscito
make[2]: *** [all] Errore 2
/home/bayway/Documenti/libreoffice/external/fontconfig/ExternalProject_fontconfig.mk:22: set di 
istruzioni per l'obiettivo 
"/home/bayway/Documenti/libreoffice/workdir/ExternalProject/fontconfig/build" non riuscito
make[1]: *** [/home/bayway/Documenti/libreoffice/workdir/ExternalProject/fontconfig/build] Errore 1
Makefile:247: set di istruzioni per l'obiettivo "build" non riuscito
make: *** [build] Errore 2

Other side if i launch make in android dir i have this one:

Updated local.properties
Updated file ../../Bootstrap/../AppCompat-v7/proguard-project.txt
make[1]: ***  Nessuna regola per generare l'obiettivo 
"/home/bayway/Documenti/libreoffice/workdir/UnpackedTarball/curl/lib/.libs/*.a", necessario per 
"obj/local/armeabi-v7a/liblo-native-code.so".  Arresto.
make[1]: uscita dalla directory "/home/bayway/Documenti/libreoffice/android/experimental/LOAndroid3"
/home/bayway/Documenti/libreoffice/android/CustomTarget_lo_android.mk:17: set di istruzioni per 
l'obiettivo 
"/home/bayway/Documenti/libreoffice/workdir/CustomTarget/android/experimental/LOAndroid3/done" non 
riuscito
make: *** 
[/home/bayway/Documenti/libreoffice/workdir/CustomTarget/android/experimental/LOAndroid3/done] 
Errore 2

What can i do? Thanks a lot.
Massimiliano


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.