OpenOffice compile error regarding VBA

Alonso Graterol alonso.graterol at gmail.com
Fri Feb 8 16:23:51 PST 2008


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 .-)"
In file included from
/sources/OOo-2.3.1/solver/680/unxlngx6.pro/inc/svx/svdattr.hxx:129,
                 from
/sources/OOo-2.3.1/solver/680/unxlngx6.pro/inc/svx/svdoattr.hxx:60,
                 from
/sources/OOo-2.3.1/solver/680/unxlngx6.pro/inc/svx/svdotext.hxx:44,
                 from
/sources/OOo-2.3.1/solver/680/unxlngx6.pro/inc/svx/svdorect.hxx:40,
                 from
/sources/OOo-2.3.1/solver/680/unxlngx6.pro/inc/svx/svdocapt.hxx:40,
                 from ../../../inc/postit.hxx:63,
                 from ../../../inc/column.hxx:47,
                 from ../../../inc/table.hxx:52,
                 from ../../../inc/document.hxx:61,
                 from ../inc/docsh.hxx:65,
                 from /sources/OOo-2.3.1/sc/source/ui/vba/vbahelper.hxx:39,
                 from /sources/OOo-2.3.1/sc/source/ui/vba/vbaapplication.hxx:44,
                 from /sources/OOo-2.3.1/sc/source/ui/vba/vbaapplication.cxx:48:
/sources/OOo-2.3.1/solver/680/unxlngx6.pro/inc/svx/sdasitm.hxx:82:
warning: 'SdrCustomShapeGeometryItem' declared with greater visibility
than the type of its field 'SdrCustomShapeGeometryItem::aPropHashMap'
/sources/OOo-2.3.1/solver/680/unxlngx6.pro/inc/svx/sdasitm.hxx:82:
warning: 'SdrCustomShapeGeometryItem' declared with greater visibility
than the type of its field
'SdrCustomShapeGeometryItem::aPropPairHashMap'
In file included from
/sources/OOo-2.3.1/solver/680/unxlngx6.pro/inc/comphelper/propertycontainer.hxx:40,
                 from /sources/OOo-2.3.1/sc/source/ui/vba/vbarange.hxx:50,
                 from /sources/OOo-2.3.1/sc/source/ui/vba/vbaapplication.cxx:52:
/sources/OOo-2.3.1/solver/680/unxlngx6.pro/inc/comphelper/propertycontainerhelper.hxx:99:
warning: 'comphelper::OPropertyContainerHelper' declared with greater
visibility than the type of its field
'comphelper::OPropertyContainerHelper::m_aProperties'
/sources/OOo-2.3.1/sc/source/ui/vba/vbaapplication.cxx:337: error:
expected type-specifier before 'css'
/sources/OOo-2.3.1/sc/source/ui/vba/vbaapplication.cxx:337: error:
expected `)' before 'css'
/sources/OOo-2.3.1/sc/source/ui/vba/vbaapplication.cxx:337: error:
expected initializer before 'css'
/sources/OOo-2.3.1/sc/source/ui/vba/vbaapplication.cxx:343: error:
expected type-specifier before 'css'
/sources/OOo-2.3.1/sc/source/ui/vba/vbaapplication.cxx:343: error:
expected `)' before 'css'
/sources/OOo-2.3.1/sc/source/ui/vba/vbaapplication.cxx:343: error:
expected initializer before 'css'
/sources/OOo-2.3.1/sc/source/ui/vba/vbaapplication.cxx:357: error:
expected type-specifier before 'css'
/sources/OOo-2.3.1/sc/source/ui/vba/vbaapplication.cxx:357: error:
expected `)' before 'css'
/sources/OOo-2.3.1/sc/source/ui/vba/vbaapplication.cxx:357: error:
expected initializer before 'css'
dmake:  Error code 1, while making
'../../../unxlngx6.pro/slo/vbaapplication.obj'
---* tg_merge.mk *---

ERROR: Error 65280 occurred while making /sources/OOo-2.3.1/sc/source/ui/vba
dmake:  Error code 1, while making 'build_instsetoo_native'
---*  *---
alonso:/sources/OOo-2.3.1$ "

Since I could not find how to work around it I decided to try again
disabling VBA and this time the package compiled OK. I then installed
it and it works fine.

Nevertheless I'd like to have VBA capability (as small as it can be)
to work with some VBA enabled spreadsheets I have designed.

Any help is appreciated.

Alonso



More information about the blfs-support mailing list