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

Needed patches for building on PPC?



Hi all ... 

I wanted to build OpenOffice.org again on Linux, debian-unstable, with
(I know I should not do it) gcc3.

I tried to compile and had to drop the -nostdinc cflag in the
unxlgppc.mak. 
To compile oo_src/bridges/source/cpp_uno/gcc2_linux_ppc I got some
errors with undeclared variables, because, I compile with gcc3. For
example, this:

/home/palic/OpenOffice/debian/openoffice.org-0.641d.cvs20020418/build-tree/oo_stable1_cvs20020418_src/bridges/source/cpp_uno/gcc2_linux_powerpc/uno2cpp.cxx:
In 
   function `Void gcc3::callVirtualMethod(void*, long int, void*,
   _typelib_TypeClass, char*, sal_Int32*, long int, uno_Any**,
   uno_Mapping*)':
/home/palic/OpenOffice/debian/openoffice.org-0.641d.cvs20020418/build-tree/oo_stable1_cvs20020418_src/bridges/source/cpp_uno/gcc2_linux_powerpc/uno2cpp.cxx:309:
^_cp_eh_info'
   undeclared (first use this function) ....

but _cp_eh_info is declared in the gcc2_linux_ppc.hxx, but I think,
dmake does not recognize it.

Are there any work to fix it? Are there patches, which can be tested?

Kevin, do you have something for me? :)))

	Regards
		Jan
PS: I attached the whole errormessages.....

-- 
One time, you all will be emulated by linux!

----
Jan- Hendrik Palic
Url:"http://www.billgotchy.de";
E-Mail: "palic@billgotchy.de"

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d- s: a-- C++ UL++ P+++ L+++ E W++ N+ o+ K- w--- 
O- M- V- PS++ PE Y+ PGP++ t--- 5- X+++ R-- tv- b++ DI-- D+++ 
G+++ e+++ h+ r++ z+ 
------END GEEK CODE BLOCK------
Making: ../../../unxlngppc.pro/slo/uno2cpp.obj
g++-3.0 -fsigned-char -w -c -I. -I. -I../inc -I../../../inc -I../../../unx/inc -I../../../unxlngppc.pro/inc -I. -I/home/palic/OpenOffice/debian/openoffice.org-0.641d.cvs20020418/build-tree/oo_stable1_cvs20020418_src/solver/641/unxlngppc.pro/inc/stl -I/home/palic/OpenOffice/debian/openoffice.org-0.641d.cvs20020418/build-tree/oo_stable1_cvs20020418_src/solver/641/unxlngppc.pro/inc/external -I/home/palic/OpenOffice/debian/openoffice.org-0.641d.cvs20020418/build-tree/oo_stable1_cvs20020418_src/solver/641/unxlngppc.pro/inc -I/home/palic/OpenOffice/debian/openoffice.org-0.641d.cvs20020418/build-tree/oo_stable1_cvs20020418_src/solenv/unxlngppc/inc -I/home/palic/OpenOffice/debian/openoffice.org-0.641d.cvs20020418/build-tree/oo_stable1_cvs20020418_src/solenv/inc -I/home/palic/OpenOffice/debian/openoffice.org-0.641d.cvs20020418/build-tree/oo_stable1_cvs20020418_src/res -I/usr/include -I/home/palic/OpenOffice/debian/openoffice.org-0.641d.cvs20020418/debian/local/stlport-home/stlport -I/home/palic/OpenOffice/debian/openoffice.org-0.641d.cvs20020418/debian/local/stlport-home/include/stlport -I/home/palic/OpenOffice/debian/openoffice.org-0.641d.cvs20020418/debian/local/stlport-home/include/stlport -I/home/palic/OpenOffice/debian/openoffice.org-0.641d.cvs20020418/build-tree/oo_stable1_cvs20020418_src/solenv/inc/Xp31 -I/usr/local/j2sdk1.3.1/include -I/usr/local/j2sdk1.3.1/include/linux -I/usr/local/j2sdk1.3.1/include/native_threads/include -I/usr/X11R6/include -I/usr/lib/gcc-lib/powerpc-linux/3.0.4/include -I/usr/include     -I. -I../../../res -I. -I/home/palic/OpenOffice/debian/openoffice.org-0.641d.cvs20020418/build-tree/oo_stable1_cvs20020418_src/solenv/unxlngppc/usr/include -O0   -pipe -fno-for-scope -fpermissive -frtti -fexceptions   -fPIC -DLINUX -DUNX -DVCL -DGCC -DC300 -DPOWERPC -DCVER=C300 -D_USE_NAMESPACE -DGLIBC=2 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DPOWERPC -DPPC -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DSUPD=641 -DBUILD=7663 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC641  -DSHAREDLIB -D_DLL_  -DMULTITHREAD   -o ../../../unxlngppc.pro/slo/uno2cpp.o /home/palic/OpenOffice/debian/openoffice.org-0.641d.cvs20020418/build-tree/oo_stable1_cvs20020418_src/bridges/source/cpp_uno/gcc2_linux_powerpc/uno2cpp.cxx
/home/palic/OpenOffice/debian/openoffice.org-0.641d.cvs20020418/build-tree/oo_stable1_cvs20020418_src/bridges/source/cpp_uno/gcc2_linux_powerpc/uno2cpp.cxx: In
   function `void gcc3::callVirtualMethod(void*, long int, void*, 
   _typelib_TypeClass, char*, sal_Int32*, long int, uno_Any**, uno_Mapping*)':
/home/palic/OpenOffice/debian/openoffice.org-0.641d.cvs20020418/build-tree/oo_stable1_cvs20020418_src/bridges/source/cpp_uno/gcc2_linux_powerpc/uno2cpp.cxx:309: `__cp_eh_info'
   undeclared (first use this function)
/home/palic/OpenOffice/debian/openoffice.org-0.641d.cvs20020418/build-tree/oo_stable1_cvs20020418_src/bridges/source/cpp_uno/gcc2_linux_powerpc/uno2cpp.cxx:309: (Each
   undeclared identifier is reported only once for each function it appears 
   in.)
/home/palic/OpenOffice/debian/openoffice.org-0.641d.cvs20020418/build-tree/oo_stable1_cvs20020418_src/bridges/source/cpp_uno/gcc2_linux_powerpc/uno2cpp.cxx: In
   function `void gcc3::cppu_unoInterfaceProxy_dispatch(uno_Interface*, const 
   typelib_TypeDescription*, void*, void**, uno_Any**)':
/home/palic/OpenOffice/debian/openoffice.org-0.641d.cvs20020418/build-tree/oo_stable1_cvs20020418_src/bridges/source/cpp_uno/gcc2_linux_powerpc/uno2cpp.cxx:555: declaration
   of `void gcc3::cppu_unoInterfaceProxy_dispatch(uno_Interface*, const 
   typelib_TypeDescription*, void*, void**, uno_Any**)' throws different 
   exceptions
../../../inc/bridges/cpp_uno/bridge.h:111: than previous declaration `void 
   gcc3::cppu_unoInterfaceProxy_dispatch(uno_Interface*, const 
   typelib_TypeDescription*, void*, void**, uno_Any**) throw ()'
dmake:  Error code 1, while making '../../../unxlngppc.pro/slo/uno2cpp.obj'
---* TG_SLO.MK *---
dmake:  Error code 255, while making 'do_it_noopt'
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making /home/palic/OpenOffice/debian/openoffice.org-0.641d.cvs20020418/build-tree/oo_stable1_cvs20020418_src/bridges/source/cpp_uno/gcc2_linux_powerpc
dmake:  Error code 1, while making 'build_all'
---* TG_SLO.MK *---
make: *** [debian/stampdir/dmake] Error 255

Attachment: pgprzTTbRKbV6.pgp
Description: PGP signature


Reply to: