[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Trying to build OOo2 in an x86 chroot



I'm trying to backport OOo2 to Sarge for x86 on a Debian Sarge for
AMD64.
I setup a chroot which works perfectly:
$ dpkg --print-architecture
i386

But still, the build fails like this:
Making: ../../unxlngx4.pro/obj/bootstrap.obj
g++ -fmessage-length=0 -c -I.  -I. -I../inc -I../../inc -I../../unx/inc
-I../../unxlngx4.pro/inc -I.
-I/root/openoffice.org-2.0.0/ooo-build/build/ooo680-m3/solver/680/unxlngx4.pro/inc/stl -I/root/openoffice.org-2.0.0/ooo-build/build/ooo680-m3/solver/680/unxlngx4.pro/inc/external -I/root/openoffice.org-2.0.0/ooo-build/build/ooo680-m3/solver/680/unxlngx4.pro/inc -I/root/openoffice.org-2.0.0/ooo-build/build/ooo680-m3/solenv/unxlngx4/inc -I/root/openoffice.org-2.0.0/ooo-build/build/ooo680-m3/solenv/inc -I/root/openoffice.org-2.0.0/ooo-build/build/ooo680-m3/res -I/root/openoffice.org-2.0.0/stlport4/stlport -I/root/openoffice.org-2.0.0/stlport4/include/stlport -I/root/openoffice.org-2.0.0/stlport4/include/stlport -I/root/openoffice.org-2.0.0/ooo-build/build/ooo680-m3/solenv/inc/Xp31 -I/usr/lib/j2se/1.4/include -I/usr/lib/j2se/1.4/include/linux -I/usr/lib/j2se/1.4/include/native_threads/include -I/usr/X11R6/include     -I. -I../../res -I. -O -fno-strict-aliasing   -pipe -fno-use-cxa-atexit  -Wno-ctor-dtor-privacy -include preinclude.h -fno-exceptions   -fPIC -DLINUX -DUNX -DVCL -DGCC -DC300 -DX86_64 -DGXX_INCLUDE_PATH=/usr/include/c++/3.3 -DCVER=C300 -D_USE_NAMESPACE -DNPTL -DGLIBC=2 -DX86_64 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_OFF -DCUI -DSOLAR_JAVA -DOOO680   -DMULTITHREAD  -w -o ../../unxlngx4.pro/obj/bootstrap.o /root/openoffice.org-2.0.0/ooo-build/build/ooo680-m3/sal/rtl/source/bootstrap.cxx
In file included
from /root/openoffice.org-2.0.0/ooo-build/build/ooo680-m3/sal/rtl/source/bootstrap.cxx:74:
/root/openoffice.org-2.0.0/ooo-build/build/ooo680-m3/sal/rtl/source/macro.hxx:76:2: #error "unknown ARCH -- insert your ARCH identifier above"
In file included
from /root/openoffice.org-2.0.0/ooo-build/build/ooo680-m3/sal/rtl/source/bootstrap.cxx:74:
/root/openoffice.org-2.0.0/ooo-build/build/ooo680-m3/sal/rtl/source/macro.hxx:77: error: parse error before `this'
/root/openoffice.org-2.0.0/ooo-build/build/ooo680-m3/sal/rtl/source/bootstrap.cxx: In member function `sal_Bool Bootstrap_Impl::getValue(rtl_uString*, rtl_uString**, rtl_uString*) const':
/root/openoffice.org-2.0.0/ooo-build/build/ooo680-m3/sal/rtl/source/bootstrap.cxx:430: error: `THIS_ARCH' undeclared (first use this function)
/root/openoffice.org-2.0.0/ooo-build/build/ooo680-m3/sal/rtl/source/bootstrap.cxx:430: error: (Each undeclared identifier is reported only once for each function it appears in.)
/root/openoffice.org-2.0.0/ooo-build/build/ooo680-m3/sal/rtl/source/bootstrap.cxx:511: error: `expandMacros' undeclared (first use this function)
/root/openoffice.org-2.0.0/ooo-build/build/ooo680-m3/sal/rtl/source/bootstrap.cxx: In function `void rtl_bootstrap_expandMacros_from_handle(void*, rtl_uString**)':
/root/openoffice.org-2.0.0/ooo-build/build/ooo680-m3/sal/rtl/source/bootstrap.cxx:763: error: `expandMacros' undeclared (first use this function)
/root/openoffice.org-2.0.0/ooo-build/build/ooo680-m3/sal/rtl/source/bootstrap.cxx: In function `void rtl_bootstrap_expandMacros(rtl_uString**)':
/root/openoffice.org-2.0.0/ooo-build/build/ooo680-m3/sal/rtl/source/bootstrap.cxx:774: error: `expandMacros' undeclared (first use this function)
dmake:  Error code 1, while making
'../../unxlngx4.pro/obj/bootstrap.obj'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while
making /root/openoffice.org-2.0.0/ooo-build/build/ooo680-m3/sal/rtl/source
make[1]: *** [stamp/build] Error 1
make[1]: Leaving directory `/root/openoffice.org-2.0.0/ooo-build'
make: *** [debian/stampdir/build] Error 2


Can anyone here help me with this?
Thanks
-- 
Jérôme Warnier
FLOSS Consultant
http://beeznest.net



Reply to: