[Open Office] cannot compile the file sd/source/filter/eppt/epptso.cxx width gcc 4.0.2

Giuseppe Castagno giuseppe.castagno at gmail.com
Sun Oct 23 08:20:33 EDT 2005


Hi all,

while building ooo using the build suite:

http://www.go-oo.org/packages/OOO680/ooo-build-2.0.0.tar.gz

I got the following error:

------------------------------
Making: ../../../unxlngi6.pro/slo/epptso.obj
g++ -Wreturn-type -fmessage-length=0 -c -I.  -I. -I../inc
-I../../../inc -I../../../unx/inc -I../../../unxlngi6.pro/inc -I.
-I/media/usb-li/home/beppe/ooo-build/ooo-build-2.0.0/build/ooo680-m3/solver/680/unxlngi6.pro/inc/stl
-I/media/usb-li/home/beppe/ooo-build/ooo-build-2.0.0/build/ooo680-m3/solver/680/unxlngi6.pro/inc/external
-I/media/usb-li/home/beppe/ooo-build/ooo-build-2.0.0/build/ooo680-m3/solver/680/unxlngi6.pro/inc
-I/media/usb-li/home/beppe/ooo-build/ooo-build-2.0.0/build/ooo680-m3/solenv/unxlngi6/inc
-I/media/usb-li/home/beppe/ooo-build/ooo-build-2.0.0/build/ooo680-m3/solenv/inc
-I/media/usb-li/home/beppe/ooo-build/ooo-build-2.0.0/build/ooo680-m3/res
-I/media/usb-li/home/beppe/ooo-build/ooo-build-2.0.0/build/ooo680-m3/solver/680/unxlngi6.pro/inc/stl
-I/media/usb-li/home/beppe/ooo-build/ooo-build-2.0.0/build/ooo680-m3/solenv/inc/Xp31
-I/usr/java/j2sdk1.4.2_09/include
-I/usr/java/j2sdk1.4.2_09/include/linux
-I/usr/java/j2sdk1.4.2_09/include/native_threads/include
-I/usr/X11R6/include     -I. -I../../../res -I. -O0   -pipe
-mtune=pentiumpro -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden
-fexceptions -fno-enforce-eh-specs   -fpic -DLINUX -DUNX -DVCL -DGCC
-DC341 -DINTEL -DGXX_INCLUDE_PATH=/usr/lib/gcc/i386-redhat-linux/4.0.2/../../../../include/c++/4.0.2
-DCVER=C341 -D_USE_NAMESPACE -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS
-D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400
-DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3
-DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0
-DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DOOO680   -DSHAREDLIB -D_DLL_ 
-DMULTITHREAD  -o ../../../unxlngi6.pro/slo/epptso.o
/media/usb-li/home/beppe/ooo-build/ooo-build-2.0.0/build/ooo680-m3/sd/source/filter/eppt/epptso.cxx
In file included from
/media/usb-li/home/beppe/ooo-build/ooo-build-2.0.0/build/ooo680-m3/solver/680/unxlngi6.pro/inc/svx/frmdiritem.hxx:47,
                 from
/media/usb-li/home/beppe/ooo-build/ooo-build-2.0.0/build/ooo680-m3/sd/source/filter/eppt/epptso.cxx:163:
/media/usb-li/home/beppe/ooo-build/ooo-build-2.0.0/build/ooo680-m3/solver/680/unxlngi6.pro/inc/svx/svxids.hrc:417:1:
warning: "SID_ATTR_ZOOM" redefined
In file included from
/media/usb-li/home/beppe/ooo-build/ooo-build-2.0.0/build/ooo680-m3/solver/680/unxlngi6.pro/inc/sfx2/sfx.hrc:447,
                 from
/media/usb-li/home/beppe/ooo-build/ooo-build-2.0.0/build/ooo680-m3/solver/680/unxlngi6.pro/inc/svx/svxids.hrc:41,
                 from
/media/usb-li/home/beppe/ooo-build/ooo-build-2.0.0/build/ooo680-m3/solver/680/unxlngi6.pro/inc/svx/frmdiritem.hxx:47,
                 from
/media/usb-li/home/beppe/ooo-build/ooo-build-2.0.0/build/ooo680-m3/sd/source/filter/eppt/epptso.cxx:163:
/media/usb-li/home/beppe/ooo-build/ooo-build-2.0.0/build/ooo680-m3/solver/680/unxlngi6.pro/inc/sfx2/sfxsids.hrc:1136:1:
warning: this is the location of the previous definition
/media/usb-li/home/beppe/ooo-build/ooo-build-2.0.0/build/ooo680-m3/sd/source/filter/eppt/epptso.cxx:
In member function 'sal_Bool PPTWriter::ImplGetStyleSheets()':
/media/usb-li/home/beppe/ooo-build/ooo-build-2.0.0/build/ooo680-m3/sd/source/filter/eppt/epptso.cxx:1508:
error: 'xPropSet' was not declared in this scope
dmake:  Error code 1, while making '../../../unxlngi6.pro/slo/epptso.obj'
'---* tg_merge.mk *---'
dmake:  Error code 255, while making 'do_it_noopt'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making
/media/usb-li/home/beppe/ooo-build/ooo-build-2.0.0/build/ooo680-m3/sd/source/filter/eppt
make: *** [stamp/build] Error 1

With the attached patch I solved the compile problem, though I don't
know if that was the right correction.

After that, the build ended fine.

Kind regards,
Giuseppe Castagno
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cws-sj22a.diff
Type: text/x-patch
Size: 1258 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/openoffice/attachments/20051023/4241e254/cws-sj22a-0001.bin


More information about the Openoffice mailing list