Compilation of LibreOffice for Android
Andreas Mantke
maand at gmx.de
Thu Apr 30 08:28:29 PDT 2015
Hello,
I tried to compile the current state of LibreOffice for Android from a
fresh git repository clone, but I was not successful The make process
stops with the following messages:
removed org.openoffice.Office.DataAccess/Drivers - saving 136
saved 3818 of 7422 bytes: 51%
/home/andi/android_development/android-ndk-r10d/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld.gold:
error:
/home/andi/libreoffice/gerritgit/androiddevelopment/instdir/program/libi18npoollo.a(OpenOffice_dat.o):
incompatible target
/home/andi/libreoffice/gerritgit/androiddevelopment/instdir/program/libi18npoollo.a(breakiterator_unicode.o):breakiterator_unicode.cxx:function
com::sun::star::i18n::BreakIterator_Unicode::loadICUBreakIterator(com::sun::star::lang::Locale
const&, short, short, char const*, rtl::OUString const&): error:
undefined reference to 'OpenOffice_dat'
collect2: error: ld returned 1 exit status
../../Bootstrap/Makefile.shared:102: die Regel für Ziel
„obj/local/armeabi-v7a/liblo-native-code.so“ scheiterte
make[2]: *** [obj/local/armeabi-v7a/liblo-native-code.so] Fehler 1
/home/andi/libreoffice/gerritgit/androiddevelopment/android/CustomTarget_lo_android.mk:17:
die Regel für Ziel
„/home/andi/libreoffice/gerritgit/androiddevelopment/workdir/CustomTarget/android/experimental/LOAndroid3/done“
scheiterte
make[1]: ***
[/home/andi/libreoffice/gerritgit/androiddevelopment/workdir/CustomTarget/android/experimental/LOAndroid3/done]
Fehler 2
Makefile:247: die Regel für Ziel „build“ scheiterte
I configured the build process with the following autoconfig command:
./autogen.sh --enable-werror --disable-dbgutil --enable-ccache
--with-android-sdk=/home/andi/Android/Sdk
--with-android-ndk=/home/andi/android_development/android-ndk-r10d
--with-android-ndk-toolchain-version=4.9
--with-build-platform-configure-options=--with-system-jpeg=no
--disable-gstreamer-1-0 --disable-gstreamer-0-10
--host=arm-linux-androidabi --disable-cairo-canvas --disable-cups
--disable-gconf --disable-gnome-vfs --disable-liblangtag --disable-odk
--disable-postgresql-sdbc --disable-python --disable-randr
--disable-randr-link --disable-systray --without-junit
--without-helppack-integration --enable-option-checking=fatal
--srcdir=/home/andi/lo/master-android-arm
I had a look at the configuration of the daily Android build and it's
configuration and adapted my configuration to it.
Maybe I forgot to set a further option or there is something else
missing on my openSuSE 13.2-x64?
Regards,
Andreas
--
## Freie Office-Suite für Linux, Mac, Windows
## http://LibreOffice.org
## Support the Document Foundation (http://documentfoundation.org)
## Meine Seite: http://www.amantke.de
More information about the LibreOffice
mailing list