[Libreoffice] First build error: segmentation fault on vcl

Dave Lacy Kusters dkusters at yahoo.com
Thu Oct 28 13:54:38 PDT 2010


On Wed, October 27, 2010 2:46:43 AM, Michael Meeks wrote:



>    Soo ... IIWY I would remove your solver:
>
>    rm -Rf build/libreoffice*/solver
>
>    And re-configure with --without-stlport
>
>    Hopefully that will fix your build; failing that, disabling both kde3 and 
>    4 will get you past the problem (for now).

I tried tracking down the generation of the linker paths, but got bogged 
down in the details.  Then, I tried --without-stlport.  That got me different
errors, so I switched gears and tried --disable-kde and --disable-kde4.  I 
got further, but hit an error compilng forms/source/component/GroupManager.cxx.
The error is:

/home/dlacykusters/libre/libreoffice/build/build/libreoffice-3.2.99.2/forms/source/component/GroupManager.hxx:75:
 error: 'lower_bound' is not a member of '_STL'

It seems I am hitting an incompatibility between STL implementations
included with my OS and included with libreoffice.  Here's the full command
line:

g++  -fmessage-length=0 -c -Os -fno-strict-aliasing -DENABLE_LAYOUT=0 
-DENABLE_LAYOUT_EXPERIMENTAL=0   -fvisibility=hidden -I. 
-I../../unxlngi6.pro/inc/component 
-I/home/dlacykusters/libre/libreoffice/build/build/libreoffice-3.2.99.2/solver/330/unxlngi6.pro/inc/offuh
 -I../inc -I../inc -I../../inc/pch -I../../inc -I../../unx/inc 
-I../../unxlngi6.pro/inc -I. 
-I/home/dlacykusters/libre/libreoffice/build/build/libreoffice-3.2.99.2/solver/330/unxlngi6.pro/inc/stl
-I/home/dlacykusters/libre/libreoffice/build/build/libreoffice-3.2.99.2/solver/330/unxlngi6.pro/inc/external
l 
-I/home/dlacykusters/libre/libreoffice/build/build/libreoffice-3.2.99.2/solver/330/unxlngi6.pro/inc
-I/home/dlacykusters/libre/libreoffice/build/build/libreoffice-3.2.99.2/solenv/unxlngi6/inc
c 
-I/home/dlacykusters/libre/libreoffice/build/build/libreoffice-3.2.99.2/solenv/inc
 -I/home/dlacykusters/libre/libreoffice/build/build/libreoffice-3.2.99.2/res 
-I/home/dlacykusters/libre/libreoffice/build/build/libreoffice-3.2.99.2/solver/330/unxlngi6.pro/inc/stl
-I/home/dlacykusters/libre/libreoffice/build/build/libreoffice-3.2.99.2/solenv/inc/Xp31
1 -I/usr/lib/jvm/java-6-openjdk/include 
-I/usr/lib/jvm/java-6-openjdk/include/linux 
-I/usr/lib/jvm/java-6-openjdk/include/native_threads/include -I/usr/include  
-I/home/dlacykusters/libre/libreoffice/build/build/libreoffice-3.2.99.2/solver/330/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 -DGLIBC=2 
-D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 
-DHAVE_GCC_VISIBILITY_FEATURE -DX86 -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 
-DGXX_INCLUDE_PATH=/usr/include/c++/4.4 -DSUPD=330 -DPRODUCT -DNDEBUG 
-DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DGSTREAMER -DCUI -DSOLAR_JAVA   -DSHAREDLIB 
-D_DLL_   -fexceptions -fno-enforce-eh-specs -DEXCEPTIONS_ON  -o 
../../unxlngi6.pro/slo/GroupManager.o 
/home/dlacykusters/libre/libreoffice/build/build/libreoffice-3.2.99.2/forms/source/component/GroupManager.cxx


      


More information about the LibreOffice mailing list