Compiling src OpenOffice.org 1.1.4 on FC3

Dan Williams dcbw at redhat.com
Sat Jan 1 02:38:31 UTC 2005


I might also add the we added gcc 3.4 support for the OpenOffice.org 2.0 
builds, as well as the current 1.9.x pre-release builds that are 
distributed by openoffice.org.  Anything higher than 1.1.x should build 
with gcc 3.4 out of the box.

Dan

On Fri, 31 Dec 2004, Kaspars wrote:

> 
>   Hi,
> 
>   I try to compile on FC3 lates OpenOffice.org, but without success.
> Maybe somebody have better lack with it? Know what I`m doing wrong.
> 
> I`m doing:
> $cd OOo_src/config_office/
> $./configure --prefix=/opt/OOo --with-jdk-home=/opt/java/ \
> --with-x --enable-libart
> $tcsh -c "source LinuxIntelEnv.Set; ./bootstrap"
> $tcsh -c "source LinuxIntelEnv.Set; dmake"
> 
> and thats the error:
> STLport-4.5/doc/doc.css
> make writeable...
> echo dummy > ./unxlngi4.pro/misc/build/STLport-4.5/src/gcc-3.0.mak
> touch ./unxlngi4.pro/misc/build/STLport-4.5/src/gcc-3.0.mak
> echo dummy > ./unxlngi4.pro/misc/build/STLport-4.5/src/gcc-3.0-macosx.mak
> touch ./unxlngi4.pro/misc/build/STLport-4.5/src/gcc-3.0-macosx.mak
> echo dummy > ./unxlngi4.pro/misc/build/STLport-4.5/src/gcc-3.0-freebsd.mak
> touch ./unxlngi4.pro/misc/build/STLport-4.5/src/gcc-3.0-freebsd.mak
> echo dummy > ./unxlngi4.pro/misc/build/STLport-4.5/src/sunpro8.mak
> touch ./unxlngi4.pro/misc/build/STLport-4.5/src/sunpro8.mak
> cd ./unxlngi4.pro/misc/build && cat ../../../STLport-4.5.patch | patch 
> -b -p2 &&  touch so_patched_so_stlport
> patching file STLport-4.5/src/dll_main.cpp
> patching file STLport-4.5/src/gcc-3.0-freebsd.mak
> patching file STLport-4.5/src/gcc-3.0-macosx.mak
> patching file STLport-4.5/src/gcc-3.0.mak
> patching file STLport-4.5/src/gcc-freebsd.mak
> patching file STLport-4.5/stlport/config/stl_gcc.h
> patching file STLport-4.5/stlport/cwchar
> patching file STLport-4.5/stlport/stdexcept
> patching file STLport-4.5/stlport/stl/_threads.h
> touch ./unxlngi4.pro/misc/build/so_addfiles_so_stlport
> touch ./unxlngi4.pro/misc/build/so_patched_so_stlport
> touch ./unxlngi4.pro/misc/build/so_configured_so_stlport
> mkdir ./unxlngi4.pro/misc/build/STLport-4.5/src
> mkdir: cannot create directory 
> `./unxlngi4.pro/misc/build/STLport-4.5/src': File  exists
> 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/lib/gcc/i386-redhat-linux/3.4.2/../../. 
> ./../include/c++/3.4.2 -fexceptions -I../stlport -Wall -W 
> -Wno-sign-compare -Wno -unused -Wno-uninitialized -ftemplate-depth-32 
> -O2 -fPIC dll_main.cpp -c -o ../l ib/obj/GCC/ReleaseD/dll_main.o
> In file included from stlport_prefix.h:28,
>                   from dll_main.cpp:34:
> ../stlport/ctime:25:44: 
> /usr/lib/gcc/i386-redhat-1/3.4.2/../../../../include/c++ /3.4.2/ctime: 
> No such file or directory
> In file included from stlport_prefix.h:28,
>                   from dll_main.cpp:34:
> ../stlport/ctime:32: error: `__std_alias::size_t' has not been declared
> ../stlport/ctime:33: error: `__std_alias::clock_t' has not been declared
> ../stlport/ctime:34: error: `__std_alias::time_t' has not been declared
> ../stlport/ctime:35: error: `__std_alias::tm' has not been declared
> ../stlport/ctime:37: error: `__std_alias::clock' has not been declared
> ../stlport/ctime:38: error: `__std_alias::asctime' has not been declared
> ../stlport/ctime:39: error: `__std_alias::ctime' has not been declared
> ../stlport/ctime:40: error: `__std_alias::gmtime' has not been declared
> ../stlport/ctime:41: error: `__std_alias::difftime' has not been declared
> ../stlport/ctime:42: error: `__std_alias::mktime' has not been declared
> ../stlport/ctime:43: error: `__std_alias::localtime' has not been declared
> ../stlport/ctime:44: error: `__std_alias::strftime' has not been declared
> ../stlport/ctime:45: error: `__std_alias::time' has not been declared
> In file included from dll_main.cpp:34:
> stlport_prefix.h:30: error: `__std_alias::time_t' has not been declared
> In file included from ../stlport/stl/debug/_debug.c:160,
>                   from ../stlport/stl/debug/_debug.h:418,
>                   from ../stlport/utility:36,
>                   from dll_main.cpp:36:
> ../stlport/cstdlib:25:46: 
> /usr/lib/gcc/i386-redhat-1/3.4.2/../../../../include/c ++/3.4.2/cstdlib: 
> No such file or directory
> In file included from ../stlport/stl/debug/_debug.c:160,
>                   from ../stlport/stl/debug/_debug.h:418,
>                   from ../stlport/utility:36,
>                   from dll_main.cpp:36:
> ../stlport/cstdlib:42: error: `__std_alias::div_t' has not been declared
> ../stlport/cstdlib:43: error: `__std_alias::ldiv_t' has not been declared
> ../stlport/cstdlib:44: error: `__std_alias::size_t' has not been declared
> ../stlport/cstdlib:47: error: `__std_alias::abort' has not been declared
> ../stlport/cstdlib:48: error: `__std_alias::atexit' has not been declared
> ../stlport/cstdlib:49: error: `__std_alias::exit' has not been declared
> ../stlport/cstdlib:50: error: `__std_alias::getenv' has not been declared
> ../stlport/cstdlib:51: error: `__std_alias::calloc' has not been declared
> ../stlport/cstdlib:52: error: `__std_alias::free' has not been declared
> ../stlport/cstdlib:53: error: `__std_alias::malloc' has not been declared
> ../stlport/cstdlib:54: error: `__std_alias::realloc' has not been declared
> ../stlport/cstdlib:55: error: `__std_alias::atof' has not been declared
> ../stlport/cstdlib:56: error: `__std_alias::atoi' has not been declared
> ../stlport/cstdlib:57: error: `__std_alias::atol' has not been declared
> ../stlport/cstdlib:58: error: `__std_alias::mblen' has not been declared
> ../stlport/cstdlib:59: error: `__std_alias::mbstowcs' has not been declared
> ../stlport/cstdlib:60: error: `__std_alias::mbtowc' has not been declared
> ../stlport/cstdlib:61: error: `__std_alias::strtod' has not been declared
> ../stlport/cstdlib:62: error: `__std_alias::strtol' has not been declared
> ../stlport/cstdlib:63: error: `__std_alias::strtoul' has not been declared
> ../stlport/cstdlib:64: error: `__std_alias::system' has not been declared
> ../stlport/cstdlib:70: error: `__std_alias::bsearch' has not been declared
> ../stlport/cstdlib:71: error: `__std_alias::qsort' has not been declared
> ../stlport/cstdlib:74: error: `__std_alias::abs' has not been declared
> ../stlport/cstdlib:76: error: `__std_alias::div' has not been declared
> ../stlport/cstdlib:77: error: `__std_alias::labs' has not been declared
> ../stlport/cstdlib:78: error: `__std_alias::ldiv' has not been declared
> ../stlport/cstdlib:79: error: `__std_alias::rand' has not been declared
> ../stlport/cstdlib:80: error: `__std_alias::srand' has not been declared
> In file included from ../stlport/stl/debug/_debug.c:236,
>                   from ../stlport/stl/debug/_debug.h:418,
>                   from ../stlport/utility:36,
>                   from dll_main.cpp:36:
> ../stlport/cstdarg:25:46: 
> /usr/lib/gcc/i386-redhat-1/3.4.2/../../../../include/c ++/3.4.2/cstdarg: 
> No such file or directory
> In file included from ../stlport/stl/debug/_debug.c:236,
>                   from ../stlport/stl/debug/_debug.h:418,
>                   from ../stlport/utility:36,
>                   from dll_main.cpp:36:
> ../stlport/cstdarg:32: error: `__std_alias::va_list' has not been declared
> In file included from ../stlport/stl/debug/_debug.c:237,
>                   from ../stlport/stl/debug/_debug.h:418,
>                   from ../stlport/utility:36,
>                   from dll_main.cpp:36:
> ../stlport/cstdio:27:45: 
> /usr/lib/gcc/i386-redhat-1/3.4.2/../../../../include/c+ +/3.4.2/cstdio: 
> No such file or directory
> In file included from ../stlport/stl/debug/_debug.c:237,
>                   from ../stlport/stl/debug/_debug.h:418,
>                   from ../stlport/utility:36,
>                   from dll_main.cpp:36:
> ../stlport/cstdio:51: error: `__std_alias::FILE' has not been declared
> ../stlport/cstdio:52: error: `__std_alias::fpos_t' has not been declared
> ../stlport/cstdio:53: error: `__std_alias::size_t' has not been declared
> ../stlport/cstdio:64: error: `__std_alias::clearerr' has not been declared
> ../stlport/cstdio:65: error: `__std_alias::fclose' has not been declared
> ../stlport/cstdio:66: error: `__std_alias::feof' has not been declared
> ../stlport/cstdio:67: error: `__std_alias::ferror' has not been declared
> ../stlport/cstdio:68: error: `__std_alias::fflush' has not been declared
> ../stlport/cstdio:69: error: `__std_alias::fgetc' has not been declared
> ../stlport/cstdio:70: error: `__std_alias::fgetpos' has not been declared
> ../stlport/cstdio:71: error: `__std_alias::fgets' has not been declared
> ../stlport/cstdio:72: error: `__std_alias::fopen' has not been declared
> ../stlport/cstdio:73: error: `__std_alias::fprintf' has not been declared
> ../stlport/cstdio:74: error: `__std_alias::fputc' has not been declared
> ../stlport/cstdio:75: error: `__std_alias::fputs' has not been declared
> ../stlport/cstdio:76: error: `__std_alias::fread' has not been declared
> ../stlport/cstdio:77: error: `__std_alias::freopen' has not been declared
> ../stlport/cstdio:78: error: `__std_alias::fscanf' has not been declared
> ../stlport/cstdio:79: error: `__std_alias::fseek' has not been declared
> ../stlport/cstdio:80: error: `__std_alias::fsetpos' has not been declared
> ../stlport/cstdio:81: error: `__std_alias::ftell' has not been declared
> ../stlport/cstdio:82: error: `__std_alias::fwrite' has not been declared
> ../stlport/cstdio:85: error: `__std_alias::getc' has not been declared
> ../stlport/cstdio:86: error: `__std_alias::getchar' has not been declared
> ../stlport/cstdio:87: error: `__std_alias::putc' has not been declared
> ../stlport/cstdio:88: error: `__std_alias::putchar' has not been declared
> ../stlport/cstdio:91: error: `__std_alias::gets' has not been declared
> ../stlport/cstdio:92: error: `__std_alias::perror' has not been declared
> ../stlport/cstdio:93: error: `__std_alias::printf' has not been declared
> ../stlport/cstdio:94: error: `__std_alias::puts' has not been declared
> ../stlport/cstdio:95: error: `__std_alias::remove' has not been declared
> ../stlport/cstdio:96: error: `__std_alias::rename' has not been declared
> ../stlport/cstdio:97: error: `__std_alias::rewind' has not been declared
> ../stlport/cstdio:98: error: `__std_alias::scanf' has not been declared
> ../stlport/cstdio:99: error: `__std_alias::setbuf' has not been declared
> ../stlport/cstdio:100: error: `__std_alias::setvbuf' has not been declared
> ../stlport/cstdio:101: error: `__std_alias::sprintf' has not been declared
> ../stlport/cstdio:102: error: `__std_alias::sscanf' has not been declared
> ../stlport/cstdio:103: error: `__std_alias::tmpfile' has not been declared
> ../stlport/cstdio:104: error: `__std_alias::tmpnam' has not been declared
> ../stlport/cstdio:105: error: `__std_alias::ungetc' has not been declared
> ../stlport/cstdio:106: error: `__std_alias::vfprintf' has not been declared
> ../stlport/cstdio:107: error: `__std_alias::vprintf' has not been declared
> ../stlport/cstdio:108: error: `__std_alias::vsprintf' has not been declared
> ../stlport/cstdio:111: error: `__std_alias::vsnprintf' has not been declared
> In file included from ../stlport/stl/debug/_debug.h:418,
>                   from ../stlport/utility:36,
>                   from dll_main.cpp:36:
> ../stlport/stl/debug/_debug.c: In static member function `static void 
> _STL::__st l_debug_engine<_Dummy>::_Message(const char*, ...)':
> ../stlport/stl/debug/_debug.c:245: error: `va_list' is not a member of 
> `__std_al ias'
> ../stlport/stl/debug/_debug.c:245: error: expected `;' before "__args"
> ../stlport/stl/debug/_debug.c:246: error: `__args' undeclared (first use 
> this fu nction)
> ../stlport/stl/debug/_debug.c:246: error: (Each undeclared identifier is 
> reporte d only once for each function it appears in.)
> ../stlport/stl/debug/_debug.c:246: error: there are no arguments to 
> `va_start' t hat depend on a template parameter, so a declaration of 
> `va_start' must be avail able
> ../stlport/stl/debug/_debug.c:246: error: (if you use `-fpermissive', 
> G++ will a ccept your code, but allowing the use of an undeclared name 
> is deprecated)
> ../stlport/stl/debug/_debug.c:263: error: `vfprintf' is not a member of 
> `__std_a lias'
> ../stlport/stl/debug/_debug.c:263: error: `stderr' undeclared (first use 
> this fu nction)
> ../stlport/stl/debug/_debug.c:270: error: there are no arguments to 
> `va_end' tha t depend on a template parameter, so a declaration of 
> `va_end' must be available
> ../stlport/stl/debug/_debug.c: In static member function `static void 
> _STL::__st l_debug_engine<_Dummy>::_Terminate()':
> ../stlport/stl/debug/_debug.c:319: error: there are no arguments to 
> `abort' that  depend on a template parameter, so a declaration of 
> `abort' must be available
> In file included from ../stlport/stl/_alloc.h:31,
>                   from ../stlport/memory:28,
>                   from dll_main.cpp:38:
> ../stlport/cstddef:35:46: 
> /usr/lib/gcc/i386-redhat-1/3.4.2/../../../../include/c ++/3.4.2/cstddef: 
> No such file or directory
> In file included from ../stlport/stl/_alloc.h:31,
>                   from ../stlport/memory:28,
>                   from dll_main.cpp:38:
> ../stlport/cstddef: At global scope:
> ../stlport/cstddef:42: error: `__std_alias::ptrdiff_t' has not been declared
> ../stlport/cstddef:43: error: `__std_alias::size_t' has not been declared
> In file included from ../stlport/stl/_alloc.h:42,
>                   from ../stlport/memory:28,
>                   from dll_main.cpp:38:
> ../stlport/cstring:25:46: 
> /usr/lib/gcc/i386-redhat-1/3.4.2/../../../../include/c ++/3.4.2/cstring: 
> No such file or directory
> In file included from ../stlport/cstring:32,
>                   from ../stlport/stl/_alloc.h:42,
>                   from ../stlport/memory:28,
>                   from dll_main.cpp:38:
> ../stlport/using/cstring:1: error: `__std_alias::size_t' has not been 
> declared
> ../stlport/using/cstring:17: error: `__std_alias::memmove' has not been 
> declared
> ../stlport/using/cstring:18: error: `__std_alias::memcpy' has not been 
> declared
> ../stlport/using/cstring:23: error: `__std_alias::memchr' has not been 
> declared
> ../stlport/using/cstring:24: error: `__std_alias::strchr' has not been 
> declared
> ../stlport/using/cstring:25: error: `__std_alias::strpbrk' has not been 
> declared
> ../stlport/using/cstring:26: error: `__std_alias::strrchr' has not been 
> declared
> ../stlport/using/cstring:27: error: `__std_alias::strstr' has not been 
> declared
> ../stlport/using/cstring:30: error: `__std_alias::memcmp' has not been 
> declared
> ../stlport/using/cstring:31: error: `__std_alias::memset' has not been 
> declared
> ../stlport/using/cstring:33: error: `__std_alias::strcat' has not been 
> declared
> ../stlport/using/cstring:36: error: `__std_alias::strcmp' has not been 
> declared
> ../stlport/using/cstring:39: error: `__std_alias::strcoll' has not been 
> declared
> ../stlport/using/cstring:41: error: `__std_alias::strcpy' has not been 
> declared
> ../stlport/using/cstring:43: error: `__std_alias::strcspn' has not been 
> declared
> ../stlport/using/cstring:44: error: `__std_alias::strerror' has not been 
> declare d
> ../stlport/using/cstring:45: error: `__std_alias::strlen' has not been 
> declared
> ../stlport/using/cstring:46: error: `__std_alias::strncat' has not been 
> declared
> ../stlport/using/cstring:47: error: `__std_alias::strncmp' has not been 
> declared
> ../stlport/using/cstring:49: error: `__std_alias::strncpy' has not been 
> declared
> ../stlport/using/cstring:50: error: `__std_alias::strspn' has not been 
> declared
> ../stlport/using/cstring:52: error: `__std_alias::strtok' has not been 
> declared
> ../stlport/using/cstring:53: error: `__std_alias::strxfrm' has not been 
> declared
> In file included from ../stlport/stl/_alloc.h:60,
>                   from ../stlport/memory:28,
>                   from dll_main.cpp:38:
> ../stlport/new:50:49: 
> /usr/lib/gcc/i386-redhat-1/3.4.2/../../../../include/c++/3 .4.2/new: No 
> such file or directory
> In file included from ../stlport/stl/_alloc.h:60,
>                   from ../stlport/memory:28,
>                   from dll_main.cpp:38:
> ../stlport/new:58: error: `__std_alias::bad_alloc' has not been declared
> ../stlport/new:59: error: `__std_alias::nothrow_t' has not been declared
> ../stlport/new:60: error: `__std_alias::nothrow' has not been declared
> ../stlport/new:66: error: `__std_alias::new_handler' has not been declared
> ../stlport/new:67: error: `__std_alias::set_new_handler' has not been 
> declared
> ../stlport/new:112: error: `_STL::__stl_new' declared as an `inline' 
> variable
> ../stlport/new:112: error: `size_t' was not declared in this scope
> ../stlport/new:112: error: expected `,' or `;' before '{' token
> In file included from ../stlport/stl/_alloc.h:64,
>                   from ../stlport/memory:28,
>                   from dll_main.cpp:38:
> ../stlport/stl/_threads.h:53: error: `size_t' does not name a type
> In file included from ../stlport/stl/_alloc.h:64,
>                   from ../stlport/memory:28,
>                   from dll_main.cpp:38:
> ../stlport/stl/_threads.h:207: error: expected `,' or `...' before '*' token
> ../stlport/stl/_threads.h:207: error: ISO C++ forbids declaration of 
> `__stl_atom ic_t' with no type
> ../stlport/stl/_threads.h: In member function `void 
> _STL::_STLP_mutex_indirect:: _M_initialize()':
> ../stlport/stl/_threads.h:340: error: `calloc' is not a member of 
> `__std_alias'
> ../stlport/stl/_threads.h: In member function `void 
> _STL::_STLP_mutex_indirect:: _M_destroy()':
> ../stlport/stl/_threads.h:345: error: `free' undeclared (first use this 
> function )
> ../stlport/stl/_threads.h: At global scope:
> ../stlport/stl/_threads.h:409: error: `__stl_atomic_t' does not name a type
> ../stlport/stl/_threads.h:416: error: expected `)' before "__n"
> ../stlport/stl/_threads.h: In member function `void 
> _STL::_Refcount_Base::_M_inc r()':
> ../stlport/stl/_threads.h:425: error: `_M_ref_count' undeclared (first 
> use this function)
> ../stlport/stl/_threads.h: In member function `void 
> _STL::_Refcount_Base::_M_dec r()':
> ../stlport/stl/_threads.h:430: error: `_M_ref_count' undeclared (first 
> use this function)
> ../stlport/stl/_threads.h: At global scope:
> ../stlport/stl/_threads.h:458: error: `__stl_atomic_t' does not name a type
> In file included from ../stlport/stl/_threads.h:552,
>                   from ../stlport/stl/_alloc.h:64,
>                   from ../stlport/memory:28,
>                   from dll_main.cpp:38:
> ../stlport/stl/_threads.c:36: error: `__std_alias::time_t' has not been 
> declared
> In file included from ../stlport/stl/_threads.h:552,
>                   from ../stlport/stl/_alloc.h:64,
>                   from ../stlport/memory:28,
>                   from dll_main.cpp:38:
> ../stlport/stl/_threads.c:98: error: expected `,' or `...' before '*' token
> ../stlport/stl/_threads.c:99: error: ISO C++ forbids declaration of 
> `__stl_atomi c_t' with no type
> In file included from ../stlport/stl/_construct.h:43,
>                   from ../stlport/stl/_alloc.h:68,
>                   from ../stlport/memory:28,
>                   from dll_main.cpp:38:
> ../stlport/stl/_iterator_base.h:50: error: `ptrdiff_t' has not been declared
> ../stlport/stl/_iterator_base.h:113: error: `ptrdiff_t' does not name a type
> ../stlport/stl/_iterator_base.h:122: error: `ptrdiff_t' does not name a type
> In file included from ../stlport/memory:28,
>                   from dll_main.cpp:38:
> ../stlport/stl/_alloc.h: In static member function `static void* 
> _STL::__malloc_ alloc<__inst>::allocate(size_t)':
> ../stlport/stl/_alloc.h:110: error: there are no arguments to `malloc' 
> that depe nd on a template parameter, so a declaration of `malloc' must 
> be available
> ../stlport/stl/_alloc.h: In static member function `static void 
> _STL::__malloc_a lloc<__inst>::deallocate(void*, size_t)':
> ../stlport/stl/_alloc.h:114: error: there are no arguments to `free' 
> that depend  on a template parameter, so a declaration of `free' must be 
> available
> ../stlport/stl/_alloc.h: In static member function `static void* 
> _STL::__new_all oc::allocate(size_t)':
> ../stlport/stl/_alloc.h:134: error: `_STL::__stl_new' cannot be used as 
> a functi on
> ../stlport/stl/_alloc.h: In static member function `static void* 
> _STL::__node_al loc<__threads, __inst>::allocate(size_t)':
> ../stlport/stl/_alloc.h:251: error: `_STL::__stl_new' cannot be used as 
> a functi on
> ../stlport/stl/_alloc.h: At global scope:
> ../stlport/stl/_alloc.h:339: error: `ptrdiff_t' does not name a type
> ../stlport/stl/_alloc.h:377: error: `ptrdiff_t' does not name a type
> ../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: `other' does not name a 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, 
> _Allocat or>::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 tha t it is a template
> ../stlport/stl/_alloc.h:460: error: declaration does not declare anything
> In file included from ../stlport/stl/_alloc.h:517,
>                   from ../stlport/memory:28,
>                   from dll_main.cpp:38:
> ../stlport/stl/_alloc.c: In static member function `static void* 
> _STL::__malloc_ alloc<__inst>::_S_oom_malloc(size_t)':
> ../stlport/stl/_alloc.c:69: error: `bad_alloc' is not a member of `_STL'
> ../stlport/stl/_alloc.c:71: error: there are no arguments to `malloc' 
> that depen d on a template parameter, so a declaration of `malloc' must 
> be available
> ../stlport/stl/_alloc.c: In static member function `static char* 
> _STL::__node_al loc<__threads, __inst>::_S_chunk_alloc(size_t, int&)':
> ../stlport/stl/_alloc.c:218: error: `_STL::__stl_new' cannot be used as 
> a functi on
> ../stlport/stl/_alloc.c:239: error: `_STL::__stl_new' cannot be used as 
> a functi on
> In file included from ../stlport/stl/_tempbuf.h:34,
>                   from ../stlport/memory:32,
>                   from dll_main.cpp:38:
> ../stlport/climits:27:46: 
> /usr/lib/gcc/i386-redhat-1/3.4.2/../../../../include/c ++/3.4.2/climits: 
> No such file or directory
> In file included from ../stlport/stl/_uninitialized.h:38,
>                   from ../stlport/stl/_tempbuf.h:40,
>                   from ../stlport/memory:32,
>                   from dll_main.cpp:38:
> ../stlport/stl/_algobase.h: In function `void* 
> _STL::__copy_trivial(const void*,  const void*, void*)':
> ../stlport/stl/_algobase.h:149: error: `memmove' undeclared (first use 
> this func tion)
> ../stlport/stl/_algobase.h: In function `void* 
> _STL::__copy_trivial_backward(con st void*, const void*, void*)':
> ../stlport/stl/_algobase.h:183: error: `ptrdiff_t' does not name a type
> ../stlport/stl/_algobase.h:184: error: `_Num' undeclared (first use this 
> functio n)
> ../stlport/stl/_algobase.h:184: error: `memmove' undeclared (first use 
> this func tion)
> ../stlport/stl/_algobase.h: In function `void _STL::fill(unsigned char*, 
> unsigne d char*, const unsigned char&)':
> ../stlport/stl/_algobase.h:345: error: `memset' undeclared (first use 
> this funct ion)
> ../stlport/stl/_algobase.h: In function `void _STL::fill(signed char*, 
> signed ch ar*, const signed char&)':
> ../stlport/stl/_algobase.h:351: error: `memset' undeclared (first use 
> this funct ion)
> ../stlport/stl/_algobase.h: In function `void _STL::fill(char*, char*, 
> const cha r&)':
> ../stlport/stl/_algobase.h:356: error: `memset' undeclared (first use 
> this funct ion)
> ../stlport/stl/_algobase.h: In function `bool 
> _STL::lexicographical_compare(cons t unsigned char*, const unsigned 
> char*, const unsigned char*, const unsigned cha r*)':
> ../stlport/stl/_algobase.h:464: error: `memcmp' undeclared (first use 
> this funct ion)
> ../stlport/stl/_algobase.h: In function `int 
> _STL::__lexicographical_compare_3wa y(const unsigned char*, const 
> unsigned char*, const unsigned char*, const unsign ed char*)':
> ../stlport/stl/_algobase.h:493: error: `ptrdiff_t' does not name a type
> ../stlport/stl/_algobase.h:494: error: `ptrdiff_t' does not name a type
> ../stlport/stl/_algobase.h:495: error: `__len1' undeclared (first use 
> this funct ion)
> ../stlport/stl/_algobase.h:495: error: `__len2' undeclared (first use 
> this funct ion)
> ../stlport/stl/_algobase.h:495: error: `memcmp' undeclared (first use 
> this funct ion)
> In file included from ../stlport/memory:32,
>                   from dll_main.cpp:38:
> ../stlport/stl/_tempbuf.h: At global scope:
> ../stlport/stl/_tempbuf.h:46: error: `ptrdiff_t' was not declared in 
> this scope
> ../stlport/stl/_tempbuf.h:47: error: template argument 2 is invalid
> ../stlport/stl/_tempbuf.h:47: error: invalid type in declaration before 
> '(' toke n
> ../stlport/stl/_tempbuf.h:47: error: template declaration of `int 
> _STL::__get_te mporary_buffer'
> ../stlport/stl/_tempbuf.h:47: error: `ptrdiff_t' was not declared in 
> this scope
> ../stlport/stl/_tempbuf.h:47: error: expected primary-expression before 
> '*' toke n
> ../stlport/stl/_tempbuf.h:47: error: expected primary-expression before 
> ')' toke n
> ../stlport/stl/_tempbuf.h:47: confused by earlier errors, bailing out
> make: *** [../lib/obj/GCC/ReleaseD/dll_main.o] Error 1
> dmake:  Error code 2, while making 
> './unxlngi4.pro/misc/build/so_built_so_stlpor t'
> ---* TG_SLO.MK *---
> 
> ERROR: Error 65280 occurred while making 
> /home/kaspars/install/ooo/OOo/stlport
> dmake:  Error code 1, while making 'build_all'
> ---* TG_SLO.MK *---
> 
> 
> thanks,
> 
> Casper
> 
> -- 
> fedora-devel-list mailing list
> fedora-devel-list at redhat.com
> http://www.redhat.com/mailman/listinfo/fedora-devel-list
> 




More information about the fedora-devel-list mailing list