User name :        IAmNot

Password :        ARobot

af

ar

as

as-IN

ast

be-BY

bg

bn

bn-BD

bn-IN

bo

br

brx

bs

by

ca

ca-XV

cs

cy

da

de

dgo

dz

el

en-GB

en-US

en-ZA

eo

es

et

eu

fa

fi

fr

fur

ga

gl

gu

gug

gu-IN

he

hi

hi-IN

hr

ht

hu

is

it

ja

jbo

ka

kab

kid

kk

km

kn

ko

kok

ks

ku

ky

lo

lt

lv

mai

mk

ml

ml-IN

mn

mni

mr

mr-IN

ms

my

nb

ne

nl

nn

nr

nso

ny

oc

om

oms

or

or-IN

pa

pa-IN

pap

pl

ps

pt

pt-BR

pyg

ro

ru

rw

sa

sa-IN

sat

sc

sd

sh

si

sk

sl

so

sq

sr

ss

st

sv

sw

sw-TZ

ta

ta-IN

te

te-IN

tg

th

ti

ti-ER

tk

tlh

tn

tr

ts

ug

uk

ur

ur-IN

uz

ve

vi

xh

zh-CN

zh-TW

zu

 

 

ODK

Menus

am

hy

ca-XR

gd

 

 

 

 

./configure --disable-debug --disable-unit-tests --without-junit –with-lang=ALL \

--with-dmake-url=https://github.com/jimjag/dmake/archive/v4.13.1/dmake-4.13.1.tar.gz \

--with-package-format=installed --with-epm=internal \

--with-epm-url=https://github.com/jimjag/epm/archive/v5.0.0/epm-5.0.0.tar.gz \

--enable-category-b --enable-gstreamer --enable-opengl --enable-hyphen --enable-hunspell \

--enable-pdfimport --enable-wiki-publisher --enable-graphite \

--with-arm-target=7 \

--with-jdk-home=/usr/lib/jvm/java-8-openjdk \

--with-system-beanshell --with-beanshell-jar=/usr/share/java/bsh.jar \

--enable-verbose --disable-werror

 

Apply these patches :

 

diff --git a/main/boost/boost_1_55_0.patch b/main/boost/boost_1_55_0.patch

index 937c4704b4..1c5f2db072 100644

--- a/main/boost/boost_1_55_0.patch

+++ b/main/boost/boost_1_55_0.patch

@@ -380,7 +380,7 @@ diff -ur misc/boost_1_55_0/boost/config/stdlib/libcpp.hpp misc/build/boost_1_55_

 +          *  After version 6 the include path consists of the major number only

 +          */

 +#      elif (__GNUC__ > 6)

-+#        define BOOST_TR1_STD_HEADER(name) <../__GNUC__/name>

++#        define BOOST_TR1_STD_HEADER(name) <../__GNUC__.__GNUC_MINOR__.__GNUC_PATCHLEVEL__/name>

 +         /*

            *  Before version 3.4.0 the 0 patch level was not part of the include path:

            */

 

diff --git a/main/sw/source/filter/ww8/ww8scan.cxx b/main/sw/source/filter/ww8/ww8scan.cxx

index 091e9d6f1a..f3679a33c4 100644

--- a/main/sw/source/filter/ww8/ww8scan.cxx

+++ b/main/sw/source/filter/ww8/ww8scan.cxx

@@ -48,6 +48,7 @@

 #include <vcl/svapp.hxx>    // Application  #i90932#

 

 #include <stdio.h>

+#include <stdexcept>

 

 #define ASSERT_RET_ON_FAIL( aCon, aError, aRet ) \

     ASSERT(aCon, aError); \

diff --git a/main/testtools/prj/build.lst b/main/testtools/prj/build.lst

index a76ac598f9..97a55a8306 100644

--- a/main/testtools/prj/build.lst

+++ b/main/testtools/prj/build.lst

@@ -1,8 +1,8 @@

 tt testtools : cpputools io remotebridges stoc javaunohelper pyuno cli_ure offapi ure LIBXSLT:libxslt NULL

 tt testtools\inc nmake - all tt_inc NULL

-tt testtools\source\bridgetest nmake - all tt_bridgetest tt_bridgetest_idl tt_inc NULL

-tt testtools\source\bridgetest\cli nmake - w,vc7 tt_cli tt_bridgetest tt_bridgetest_idl tt_inc NULL

-tt testtools\source\bridgetest\idl nmake - all tt_bridgetest_idl tt_inc NULL

-tt testtools\com\sun\star\comp\bridge nmake - all tt_javaTestObjs tt_bridgetest_idl tt_inc NULL

-tt testtools\source\bridgetest\pyuno nmake - all tt_pyuno tt_bridgetest tt_inc NULL

+#tt testtools\source\bridgetest nmake - all tt_bridgetest tt_bridgetest_idl tt_inc NULL

+#tt testtools\source\bridgetest\cli nmake - w,vc7 tt_cli tt_bridgetest tt_bridgetest_idl tt_inc NULL

+#tt testtools\source\bridgetest\idl nmake - all tt_bridgetest_idl tt_inc NULL

+#tt testtools\com\sun\star\comp\bridge nmake - all tt_javaTestObjs tt_bridgetest_idl tt_inc NULL

+#tt testtools\source\bridgetest\pyuno nmake - all tt_pyuno tt_bridgetest tt_inc NULL

 tt testtools\source\cliversioning nmake - all tt_cliver NULL

 

build --all -P8 -- -P2

 

If linking errors of the like :

 

g++ -Wl,-z,combreloc -Wl,-z,defs -Wl,-Bsymbolic-functions -Wl,--dynamic-list-cpp-new -Wl,--dynamic-list-cpp-typeinfo -Wl,--hash-style=both -Wl,-rpath,'$ORIGIN' -shared -L../../unxlngr.pro/lib -L../lib -L/home/username/src/aoo/main/solenv/unxlngr/lib -L/home/username/src/aoo/main/solver/450/unxlngr.pro/lib -L/home/username/src/aoo/main/solenv/unxlngr/lib -L/usr/lib/jvm/java-8-openjdk/lib -L/usr/lib/jvm/java-8-openjdk/jre/lib/arm -L/usr/lib/jvm/java-8-openjdk/jre/lib/arm/server -L/usr/lib/jvm/java-8-openjdk/jre/lib/arm/native_threads -L/usr/lib ../../unxlngr.pro/slo/countryid.o ../../unxlngr.pro/slo/escherex.o ../../unxlngr.pro/slo/eschesdo.o ../../unxlngr.pro/slo/dffrecordheader.o ../../unxlngr.pro/slo/dffpropset.o ../../unxlngr.pro/slo/mscodec.o ../../unxlngr.pro/slo/msdffimp.o ../../unxlngr.pro/slo/msfiltertracer.o ../../unxlngr.pro/slo/msocximex.o ../../unxlngr.pro/slo/msoleexp.o ../../unxlngr.pro/slo/msvbahelper.o ../../unxlngr.pro/slo/msvbasic.o ../../unxlngr.pro/slo/services.o ../../unxlngr.pro/slo/svdfppt.o ../../unxlngr.pro/slo/svxmsbas.o ../../unxlngr.pro/slo/svxmsbas2.o ../../unxlngr.pro/slo/msfilter_version.o -o ../../unxlngr.pro/lib/libmsfilter.so -lediteng -lsvxcore -lsfx -lxo -lbasegfx -lsb -lsvt -lootk -lvcl -lsvl -lsot -lutl -ltl -lxcr -lcomphelpgcc3 -luno_cppuhelpergcc3 -luno_cppu -luno_sal -Wl,--as-needed -ldl -lpthread -lm -Wl,--no-as-needed

 

 

cd ../filter

cd source/msfilter

Run above after removing -Wl,-z,defs

Repeat for next linking failures in the respective directories.

 

Built on ODROID-XU4 running ArchLinux Arm.using gcc 12.1.0.

 

Comments