Libreoffice android build error in ubuntu x86-64

Libreoffice switched to distro/collabora/cp-6.4 make compilation error:

checking for gcc… /home/xia/Android/Sdk/ndk/20.1.5948944/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -mthumb -march=armv7-a -mfloat-abi=softfp -mfpu=neon -Wl,–fix-cortex-a8 -target armv7a-linux-androideabi16 -no-canonical-prefixes -ffunction-sections -fdata-sections -Qunused-arguments
checking whether the C compiler works… yes
checking for C compiler default output file name… a.out
checking for suffix of executables…
checking whether we are cross compiling… configure: error: in /home/xia/office/officecore/workdir/UnpackedTarball/raptor': configure: error: cannot run C compiled programs. If you meant to cross compile, use –host’.
See `config.log’ for more details
make[1]: *** [/home/xia/office/officecore/external/redland/] error 1

Ah - 6.4 is very old; I’d expect you to use distro/collabora/co-22.05 at least.

yes, recompile:
core: distro/collabora/co-22.05
online: distro/collabora/co-22-05
Documents and forms can be opened normally, but PowerPoint is always loading and cannot be opened, and the same is true for creating new files.