OpenOffice compile error regarding VBA

DJ Lucas dj at linuxfromscratch.org
Sat Feb 9 23:21:14 PST 2008


Alonso Graterol wrote:
> Hello,
> 
>   While installing OOo-2.3.1 in an AMD64 Pure64 CLFS SVN-20070923 with
> kernel 2.6.22.15 I get the following error, with the configuring
> parameters indicated
> 
> ./configure --prefix=/opt/openoffice-2.3.1 --enable-libart
> --disable-fontooo --without-fonts --with-system-stdlibs
> --with-system-freetype --with-system-expat --with-system-libxml
> --with-system-zlib --with-build-version=CBLFS
> --with-package-format=native --disable-binfilter --with-lang="es"
> --with-openldap --disable-pam --enable-kde --disable-kdeab
> --disable-neon --disable-odk --disable-mozilla --disable-qadevooo
> --enable-vba --disable-gnome-vfs --with-ant-home=/opt/ant && cd .. &&
> umask 0022 && unset LANG LC_ALL
> 
> 
> "Making: ../../../unxlngx6.pro/slo/vbaapplication.obj
> g++  -Wreturn-type -fmessage-length=0 -c -O2 -fno-strict-aliasing
> -Wuninitialized   -I.  -I../../../unxlngx6.pro/inc/vbaobj -I../inc
> -I../../../inc/pch -I../../../inc -I../../../unx/inc
> -I../../../unxlngx6.pro/inc -I.
> -I/sources/OOo-2.3.1/solver/680/unxlngx6.pro/inc/stl
> -I/sources/OOo-2.3.1/solver/680/unxlngx6.pro/inc/external
> -I/sources/OOo-2.3.1/solver/680/unxlngx6.pro/inc
> -I/sources/OOo-2.3.1/solenv/unxlngx6/inc
> -I/sources/OOo-2.3.1/solenv/inc -I/sources/OOo-2.3.1/res
> -I/sources/OOo-2.3.1/solver/680/unxlngx6.pro/inc/stl
> -I/sources/OOo-2.3.1/solenv/inc/Xp31 -I/opt/jdk/include
> -I/opt/jdk/include/linux -I/opt/jdk/include/native_threads/include
> -I/usr/X11R7/include
> -I/sources/OOo-2.3.1/solver/680/unxlngx6.pro/inc/offuh -I.
> -I../../../res -I. -pipe  -Wno-ctor-dtor-privacy -fno-use-cxa-atexit
> -fvisibility-inlines-hidden    -fpic -DLINUX -DUNX -DVCL -DGCC -DC341
> -DX86_64 -DCVER=C341 -DNPTL -DGLIBC=2 -DX86_64 -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/x86_64-unknown-linux-gnu/4.2.1/../../../../include/c++/4.2.1
> -DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0
> -DOPTIMIZE -DCUI -DSOLAR_JAVA -DOOG680=OOG680   -DSHAREDLIB -D_DLL_
> -fexceptions -fno-enforce-eh-specs -DEXCEPTIONS_ON  -o
> ../../../unxlngx6.pro/slo/vbaapplication.o
> /sources/OOo-2.3.1/sc/source/ui/vba/vbaapplication.cxx
> In file included from ../../../inc/docuno.hxx:44,
>                  from /sources/OOo-2.3.1/sc/source/ui/vba/vbaapplication.cxx:69:
> /sources/OOo-2.3.1/solver/680/unxlngx6.pro/inc/sfx2/sfxbasemodel.hxx:311:6:
> error: #error "class is using css as namespace define .-)"

Unfortunately, I'm still working in 32 bit only, so I can't speak from 
experience.  Appearently, it's fixed upstream though...

http://www.openoffice.org/issues/show_bug.cgi?id=79385

> ------- Additional comments from fst Mon Jul 9 09:17:18 +0000 2007 -------
> 
> VBA is not Main OOo, Noel seems to be yours.
> 
> Frank
> 
> ------- Additional comments from npower Mon Jul 9 12:52:35 +0000 2007 -------
> 
> fixed in cws_npower7
> 

I don't have any idea what is npower7.  As ususal, there is a lot more 
to it than a simple patch when dealing with OOo's build system.  Take a 
look at how I did the patches for previous versions of OOo-2.2.x for 
some examples of how to add a patch into the OOo build system, but 
updating to a later version of a dependent project could break the build 
entirely too.  I don't follow the code to figure out where this is 
coming from, but basically
OOG680_m9/sfx2/inc/sfx2/sfxbasemodel.hxx if you really want to try and 
track it down...might even be able to get away with stripping out the 
error, but I don't have the slightest idea what that would do...or break.

Good Luck.

-- DJ Lucas




More information about the blfs-support mailing list