Cross compiling LibreOffice - x86_64 to aarch64

Michael Stahl mst at libreoffice.org
Mon Sep 2 09:09:23 UTC 2019


On 30.08.19 21:51, Ray Vine wrote:
>   
> I would like to cross compile LibreOffice for
> aarch64 to run on my RPi3.

> /w5/build-area/LO-6304/RepositoryModule_build.mk:12:
> *** Module does not exist:
> /w5/build-area/LO-6304/mysqlc/Module_mysqlc.mk.  Stop.
> make: *** [Makefile:299: cross-toolset] Error 2
> 
> That's correct as far as I can see - there is no
> mysqlc module, so:
> sed -i '/mysqlc/d ' RepositoryModule_build.mk

yes it should have been removed from this file when the library was 
moved to "connectivity". (actually i wonder how it was ever added to 
_build.mk, hopefully no build tool needs it?)

> takes me to the next error:
>
> [2]
> [CMP] animations/source/animcore/animcore
> /w5/build-area/LO-6304/solenv/gbuild/ComponentTarget.mk:50:
> *** No LIBFILENAME set at component target:
> /w5/build-area/LO-6304/workdir_for_build/ComponentTarget/animations/source/animcore/animcore.component.
>   Stop.
> make[1]: *** Waiting for unfinished jobs....
> make: *** [Makefile:295: cross-toolset] Error 2

looks like some library requires "animcore" but the module that contains 
Library_animcore.mk i.e. "animations" is missing in 
RepositoryModule_build.mk.

please fix these problems upload a patch to gerrit :)

https://wiki.documentfoundation.org/Development/gerrit


More information about the LibreOffice mailing list