[Open Office] Build error in configmgr

Jürg Billeter j at bitron.ch
Sat Apr 7 07:37:56 EDT 2007


Hi,

I'm trying to build ooo-build SVN trunk with gcc 4.1.2 on Linux x86 and
get the following error message in configmgr:

/usr/src/ooo-build-20070406/build/OOF680_m14/configmgr/source/tree/subtree.hxx: In member function '__gnu_cxx::__normal_iterator<configmgr::INode**, std::vector<configmgr::INode*, std::allocator<configmgr::INode*> > > configmgr::ChildListSet::begin() const':
/usr/src/ooo-build-20070406/build/OOF680_m14/configmgr/source/tree/subtree.hxx:60: error: invalid const_cast from type '__gnu_cxx::__normal_iterator<configmgr::INode* const*, std::vector<configmgr::INode*, std::allocator<configmgr::INode*> > >' to type 'configmgr::INode**'
/usr/src/ooo-build-20070406/build/OOF680_m14/configmgr/source/tree/subtree.hxx: In member function '__gnu_cxx::__normal_iterator<configmgr::INode**, std::vector<configmgr::INode*, std::allocator<configmgr::INode*> > > configmgr::ChildListSet::end() const':
/usr/src/ooo-build-20070406/build/OOF680_m14/configmgr/source/tree/subtree.hxx:61: error: invalid const_cast from type '__gnu_cxx::__normal_iterator<configmgr::INode* const*, std::vector<configmgr::INode*, std::allocator<configmgr::INode*> > >' to type 'configmgr::INode**'
dmake:  Error code 1, while making '../../unxlngi6.pro/slo/treenodefactory.obj'

Is this a known issue? I suspect that it's caused by building without
STLport but that's just a guess.

Thanks for any hints,

Jürg
--

Config:
--enable-libsn
--with-firefox
--disable-odk
--disable-qadevooo
--disable-fontooo
--enable-xsltproc
--without-myspell-dicts
--without-nas
--with-system-expat
--with-system-libwpd
--with-system-libwps
--with-system-curl
--with-system-sndfile
--with-system-neon
--with-system-libxslt
--without-stlport4
--without-java
--with-system-xmlsec
--disable-mono
--disable-access
--disable-kde
--without-binsuffix
--with-system-cairo

Patch sections applied: LinuxCommon, NotDebian

Log excerpt:
Making: ../../unxlngi6.pro/slo/cacheaccess.obj
g++ -fmessage-length=0 -c -Os -fno-strict-aliasing
-D_FILE_OFFSET_BITS=64 -I.  -I../../unxlngi6.pro/inc/treecache -I../inc
-I../../source/inc -I../../inc/pch -I../../inc -I../../unx/inc
-I../../unxlngi6.pro/inc -I.
-I/usr/src/ooo-build-20070406/build/OOF680_m14/solver/680/unxlngi6.pro/inc/stl -I/usr/src/ooo-build-20070406/build/OOF680_m14/solver/680/unxlngi6.pro/inc/external -I/usr/src/ooo-build-20070406/build/OOF680_m14/solver/680/unxlngi6.pro/inc -I/usr/src/ooo-build-20070406/build/OOF680_m14/solenv/unxlngi6/inc -I/usr/src/ooo-build-20070406/build/OOF680_m14/solenv/inc -I/usr/src/ooo-build-20070406/build/OOF680_m14/res -I/usr/src/ooo-build-20070406/build/OOF680_m14/solver/680/unxlngi6.pro/inc/stl -I/usr/src/ooo-build-20070406/build/OOF680_m14/solenv/inc/Xp31 -INO_JAVA_HOME/include -INO_JAVA_HOME/include/linux -INO_JAVA_HOME/include/native_threads/include -I/usr/include     -I/usr/src/ooo-build-20070406/build/OOF680_m14/solver/680/unxlngi6.pro/inc/offuh -I. -I../../res -I. -pipe -mtune=pentiumpro -fvisibility-inlines-hidden -Wall -Wextra -Wendif-labels -Wshadow -Wno-ctor-dtor-privacy     -Wno-non-virtual-dtor   -fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -DCVER=C341 -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 -DGSTREAMER -DCUI -DOOF680=OOF680   -DSHAREDLIB -D_DLL_  -DMULTITHREAD -fexceptions -fno-enforce-eh-specs -DEXCEPTIONS_ON  -o ../../unxlngi6.pro/slo/cacheaccess.o /usr/src/ooo-build-20070406/build/OOF680_m14/configmgr/source/treecache/cacheaccess.cxx 

System:
Linux x86, gcc 4.1.2, glibc 2.5-20070218, binutils-2.17.50.0.9




More information about the Openoffice mailing list