On Thursday 17 May 2007 16:39:46 randhir phagura wrote:
> ------------------------------ > Making: ../../unxlngi6.pro/slo/extrusionbar.obj > g++ -Wreturn-type -fmessage-length=0 -c -I. -I. -I../inc -I../../inc > -I../../unx/inc -I../../unxlngi6.pro/inc -I. > -I/home/rsp/inst/OOC680_m7/solver/680/unxlngi6.pro/inc/stl > -I/home/rsp/inst/OOC680_m7/solver/680/unxlngi6.pro/inc/external > -I/home/rsp/inst/OOC680_m7/solver/680/unxlngi6.pro/inc > -I/home/rsp/inst/OOC680_m7/solenv/unxlngi6/inc > -I/home/rsp/inst/OOC680_m7/solenv/inc -I/home/rsp/inst/OOC680_m7/res > -I/home/rsp/inst/OOC680_m7/solver/680/unxlngi6.pro/inc/stl > -I/home/rsp/inst/OOC680_m7/solenv/inc/Xp31 -I/opt/jdk/include > -I/opt/jdk/include/linux -I/opt/jdk/include/native_threads/include > -I/usr/X11R6/include -I. -I../../res -I. -Os -fno-strict-aliasing > -Wuninitialized -fvisibility=hidden -DDG_DLL -pipe -mtune=pentiumpro > -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden -fno-exceptions -fpic > -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -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 > -DGXX_INCLUDE_PATH=/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../include >/c++/4.1.2 -DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 > -DOPTIMIZE -DEXCEPTIONS_OFF -DCUI -DSOLAR_JAVA -DOOC680=OOC680 > -DSVX_DLLIMPLEMENTATION -DSHAREDLIB -D_DLL_ -DMULTITHREAD -o > ../../unxlngi6.pro/slo/extrusionbar.o > /home/rsp/inst/OOC680_m7/svx/source/toolbars/extrusionbar.cxx > ../../inc/svdobj.hxx:326: error: invalid pure specifier (only `= 0' is > allowed) before ';' token > dmake: Error code 1, while making > '../../unxlngi6.pro/slo/extrusionbar.obj' '---* tg_merge.mk *---' > > ERROR: Error 65280 occurred while making > /home/rsp/inst/OOC680_m7/svx/source/toolbars > dmake: Error code 1, while making 'build_instsetoo_native' > '---* *---' Hi, the error occur compiling OO with gcc-4.1.2, I also obtained the same error compiling OO-2.1.0. I remember i find a little patch on the net that just substitute the NULL occurence in various files with '0'. I have write down this sed commands as a memo. sed -i '[EMAIL PROTECTED] = NULL;@const = 0;@' svx/inc/svdobj.hxx sed -i '[EMAIL PROTECTED] = NULL;@const = 0;@' binfilter/inc/bf_svx/svdobj.hxx sed -i '[EMAIL PROTECTED] NULL;@= 0;@' sc/source/ui/inc/csvcontrol.hxx As I said they worked for OO-2.1.0, however if you obtain the same error from different files you can just substitute manually the NULL occurence in the line reported by the error with 0. HTH, Alessandro Alocci -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
