Arnulf Wiedemann wrote: >Hello, >I updated my computer to SUSE 10.0 Linux version on an i386 architecture and >now I have problems compiling OOo. My existing version OOo_1.1.4 does no >longer compile (also calling build only on a subdirectory like bridges). To >see if it works, if I start from scratch, I downloded OOo_1.1.5 sources did a >configure --prefix=$HOME and started dmake. After about 25000 lines of log >output it stopped with the same problem in stlport as with my existing >version (OOo_1.1.4). > >here the start of the log output: > >cd ./unxlngi4.pro/misc/build/STLport-4.5/src && make -f gcc-3.0.mak -j1 && >touch so_built_so_stlport >mkdir -p ../lib/obj/GCC/ReleaseD >g++ -D_REENTRANT -DGXX_INCLUDE_PATH=/usr/include/c++/4.0.2 -fexceptions >-I../stlport -Wall -W -Wno-sign-compare -Wno-unused -Wno-uninitialized >-ftemplate-depth-32 -O2 -fPIC dll_main.cpp -c >-o ../lib/obj/GCC/ReleaseD/dll_main.o >../stlport/stl/_alloc.h:416: error: non-template 'rebind' used as template >../stlport/stl/_alloc.h:416: note: use '_Allocator::template rebind' to >indicate that it is a template >../stlport/stl/_alloc.h:416: error: declaration does not declare anything >../stlport/stl/_alloc.h:417: error: '_Rebind_type' has not been declared >../stlport/stl/_alloc.h:417: error: expected nested-name-specifier before >'other' >../stlport/stl/_alloc.h:417: error: expected ';' before 'allocator_type' >../stlport/stl/_alloc.h:418: error: 'allocator_type' does not name a type >../stlport/stl/_alloc.h: In function 'typename _STL::_Alloc_traits<_Tp, >_Allocator>::allocator_type _STL::__stl_alloc_create(const _Alloc&, const >_Tp*)': >../stlport/stl/_alloc.h:460: error: non-template 'rebind' used as template >../stlport/stl/_alloc.h:460: note: use '_Alloc::template rebind' to indicate >that it is a template >../stlport/stl/_alloc.h:460: error: declaration does not declare anything >../stlport/stl/_string.h: At global scope: > >By the way, I had to modify configure to accept gcc version 4, I did that >equivalent to gcc Version 3 (as that should be ok AFAIK). > > > No. gcc4 does not equal gcc 3. There were MAJOR changes between the two versions. I would undo the fix and find a copy of gcc for SuSE Linux. If you desire, you can open an IssueZilla (or search it first and then open a new issue) for this problem. This problem was discovered by the MacOSX porting team and a great deal of ongoing effort was taken to make OpenOffice build with gcc 4.0
James McKenzie --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
