Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 May 2007 19:08:08 -0400
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        freebsd-openoffice@FreeBSD.org
Cc:        Oliver Lehmann <lehmann@ans-netz.de>
Subject:   Re: openoffice-2-devel fails to build:
Message-ID:  <200705031908.11876.jkim@FreeBSD.org>
In-Reply-To: <20070502155751.ce7e7c81.lehmann@ans-netz.de>
References:  <20070501193352.a624cff2.lehmann@ans-netz.de> <20070502.090731.77065047.chat95@mac.com> <20070502155751.ce7e7c81.lehmann@ans-netz.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--Boundary-00=_btmOGrFQ5WITmsJ
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On Wednesday 02 May 2007 09:57 am, Oliver Lehmann wrote:
> Maho NAKATA wrote:
> > Thanks for your report. This has already been filed as
> > http://www.openoffice.org/issues/show_bug.cgi?id=76320
> > by pjanik and I fixed it in FBSD ports.
>
> new error:
>
> Making: ../../unxfbsdx.pro/slo/basides1.obj
> g++41 -fmessage-length=0 -c -Os -fno-strict-aliasing   -I. 
> -I../../unxfbsdx.pro/inc/basicide -I../inc -I../../inc/pch
> -I../../inc/basctl -I../../inc -I../../unx/inc
> -I../../unxfbsdx.pro/inc -I.
> -I/mnt/movies/usr/ports/editors/openoffice.org-2-devel/work/SRC680_
>m211/solver/680/unxfbsdx.pro/inc/stl
> -I/mnt/movies/usr/ports/editors/openoffice.org-2-devel/work/SRC680_
>m211/solver/680/unxfbsdx.pro/inc/external
> -I/mnt/movies/usr/ports/editors/openoffice.org-2-devel/work/SRC680_
>m211/solver/680/unxfbsdx.pro/inc
> -I/mnt/movies/usr/ports/editors/openoffice.org-2-devel/work/SRC680_
>m211/solenv/unxfbsdx/inc
> -I/mnt/movies/usr/ports/editors/openoffice.org-2-devel/work/SRC680_
>m211/solenv/inc
> -I/mnt/movies/usr/ports/editors/openoffice.org-2-devel/work/SRC680_
>m211/res
> -I/mnt/movies/usr/ports/editors/openoffice.org-2-devel/work/SRC680_
>m211/solver/680/unxfbsdx.pro/inc/stl
> -I/mnt/movies/usr/ports/editors/openoffice.org-2-devel/work/SRC680_
>m211/solenv/inc/Xp31 -I/usr/local/jdk1.5.0/include -I/usr/lo
> cal/jdk1.5.0/include/freebsd -I/usr/local/jdk1.5.0/include/bsd
> -I/usr/local/jdk1.5.0/include/linux
> -I/usr/local/jdk1.5.0/include/native_threads/include
> -I/usr/X11R6/include    
> -I/mnt/movies/usr/ports/editors/openoffice.org-2-devel/work/SRC680_
>m211/solver/680/unxfbsdx.pro/inc/offuh -I. -I../../res -I. -pipe 
> -fvisibility-inlines-hidden -g1 -Wall -Wextra -Wendif-labels
> -Wshadow -Wno-ctor-dtor-privacy     -Wno-non-virtual-dtor   -fpic
> -DFREEBSD -DUNX -DVCL -DGCC -DC341 -DX86_64 -DCVER=C341 -DX86_64 
> -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1
> -DSTLPORT_VERSION=450 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE
> -DUNIX -DCPPU_ENV=gcc3
> -DGXX_INCLUDE_PATH=/usr/local/lib/gcc-4.1.3/include/c++ -DSUPD=680
> -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE
> -DCUI -DSOLAR_JAVA -DSRC680=SRC680   -DSHAREDLIB -D_DLL_  
> -fexceptions -fno-enforce-eh-specs -DEXCEPTIONS_ON  -o
> ../../unxfbsdx.pro/slo/basides1.o
> /mnt/movies/usr/ports/editors/openoffice.org-2-devel/work/SRC680_
> m211/basctl/source/basicide/basides1.cxx
> /mnt/movies/usr/ports/editors/openoffice.org-2-devel/work/SRC680_m2
>11/basctl/source/basicide/basides1.cxx:1033: error: prototype for
> 'sal_Bool BasicIDEShell::HasUIFeature(sal_uInt32)' does not match
> any in class 'BasicIDEShell' ../inc/basidesh.hxx:206: error:
> candidate is: virtual BOOL BasicIDEShell::HasUIFeature(ULONG)
> dmake:  Error code 1, while making
> '../../unxfbsdx.pro/slo/basides1.obj' ---* tg_merge.mk *---
>
> ERROR: Error 65280 occurred while making
> /mnt/movies/usr/ports/editors/openoffice.org-2-devel/work/SRC680_m2
>11/basctl/source/basicide dmake:  Error code 1, while making
> 'build_instsetoo_native' ---*  *---
> *** Error code 255
>
> Stop in /usr/ports/editors/openoffice.org-2-devel.
> Exit 1

Drop the attached patch in files directory and rebuild.

Jung-uk Kim

--Boundary-00=_btmOGrFQ5WITmsJ
Content-Type: text/x-diff;
  charset="iso-8859-1";
  name="patch-basctl"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="patch-basctl"

Index: basctl/source/inc/basidesh.hxx
===================================================================
RCS file: /cvs/script/basctl/source/inc/basidesh.hxx,v
retrieving revision 1.2
diff -u -r1.2 basidesh.hxx
--- basctl/source/inc/basidesh.hxx	15 Mar 2007 16:01:29 -0000	1.2
+++ basctl/source/inc/basidesh.hxx	3 May 2007 22:33:57 -0000
@@ -203,7 +203,7 @@
 	void				ExecuteBasic( SfxRequest& rReq );
 	void				ExecuteDialog( SfxRequest& rReq );
 
-	virtual	BOOL		HasUIFeature( ULONG nFeature );
+	virtual	sal_Bool		HasUIFeature( sal_uInt32 nFeature );
 
 	long				CallBasicErrorHdl( StarBASIC* pBasic );
 	long				CallBasicBreakHdl( StarBASIC* pBasic );

--Boundary-00=_btmOGrFQ5WITmsJ--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705031908.11876.jkim>