AOO 4.1.3 Ubuntu 16.04 stuck on soltools

Issues with installing under all Linux Distributions

AOO 4.1.3 Ubuntu 16.04 stuck on soltools

Postby obduction » Thu Jul 20, 2017 5:15 am

I've built Debian packages in the past and have worked with autotools also, I'm not a newbie. However, I get the following error after performing a 'build --all' (I believe I have everything up to date and have imported all the necessary libraries).

Code: Select all   Expand viewCollapse view
=============
Building module soltools
=============

Entering /home/user/aoo-4.1.3/main/soltools/mkdepend

mkout -- version: 1.8
Compiling: soltools/mkdepend/cppsetup.c
In file included from /usr/include/stdio.h:74:0,
                 from def.h:39,
                 from cppsetup.c:29:
/usr/include/libio.h:302:3: error: unknown type name 'size_t'
   size_t __pad5;
   ^
/usr/include/libio.h:305:67: error: 'size_t' undeclared here (not in a function)
   char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)];
                                                                   ^
/usr/include/libio.h:333:62: error: expected declaration specifiers or '...' before 'size_t'
typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes);
                                                              ^
/usr/include/libio.h:342:6: error: expected declaration specifiers or '...' before 'size_t'
      size_t __n);
      ^
/usr/include/libio.h:464:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_IO_sgetn'
extern _IO_size_t _IO_sgetn (_IO_FILE *, void *, _IO_size_t);
                   ^
In file included from def.h:39:0,
                 from cppsetup.c:29:
/usr/include/stdio.h:319:35: error: expected declaration specifiers or '...' before 'size_t'
extern FILE *fmemopen (void *__s, size_t __len, const char *__modes)
                                   ^
/usr/include/stdio.h:325:47: error: expected declaration specifiers or '...' before 'size_t'
extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __THROW __wur;
                                               ^
/usr/include/stdio.h:337:20: error: expected declaration specifiers or '...' before 'size_t'
       int __modes, size_t __n) __THROW;
                    ^
/usr/include/stdio.h:344:10: error: expected declaration specifiers or '...' before 'size_t'
          size_t __size) __THROW;
          ^
/usr/include/stdio.h:386:44: error: expected declaration specifiers or '...' before 'size_t'
extern int snprintf (char *__restrict __s, size_t __maxlen,
                                            ^
/usr/include/stdio.h:390:45: error: expected declaration specifiers or '...' before 'size_t'
extern int vsnprintf (char *__restrict __s, size_t __maxlen,
                                             ^
/usr/include/stdio.h:666:11: error: expected declaration specifiers or '...' before 'size_t'
           size_t *__restrict __n, int __delimiter,
           ^
/usr/include/stdio.h:669:9: error: expected declaration specifiers or '...' before 'size_t'
         size_t *__restrict __n, int __delimiter,
         ^
/usr/include/stdio.h:679:8: error: expected declaration specifiers or '...' before 'size_t'
        size_t *__restrict __n,
        ^
/usr/include/stdio.h:709:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fread'
extern size_t fread (void *__restrict __ptr, size_t __size,
               ^
/usr/include/stdio.h:715:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite'
extern size_t fwrite (const void *__restrict __ptr, size_t __size,
               ^
/usr/include/stdio.h:737:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fread_unlocked'
extern size_t fread_unlocked (void *__restrict __ptr, size_t __size,
               ^
/usr/include/stdio.h:739:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite_unlocked'
extern size_t fwrite_unlocked (const void *__restrict __ptr, size_t __size,
               ^
In file included from /usr/include/stdio.h:936:0,
                 from def.h:39,
                 from cppsetup.c:29:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:23:61: error: expected declaration specifiers or '...' before 'size_t'
extern int __sprintf_chk (char *__restrict __s, int __flag, size_t __slen,
                                                             ^
/usr/include/x86_64-linux-gnu/bits/stdio2.h:25:62: error: expected declaration specifiers or '...' before 'size_t'
extern int __vsprintf_chk (char *__restrict __s, int __flag, size_t __slen,
                                                              ^
/usr/include/x86_64-linux-gnu/bits/stdio2.h:52:50: error: expected declaration specifiers or '...' before 'size_t'
extern int __snprintf_chk (char *__restrict __s, size_t __n, int __flag,
                                                  ^
/usr/include/x86_64-linux-gnu/bits/stdio2.h:53:7: error: expected declaration specifiers or '...' before 'size_t'
       size_t __slen, const char *__restrict __format,
       ^
/usr/include/x86_64-linux-gnu/bits/stdio2.h:55:51: error: expected declaration specifiers or '...' before 'size_t'
extern int __vsnprintf_chk (char *__restrict __s, size_t __n, int __flag,
                                                   ^
/usr/include/x86_64-linux-gnu/bits/stdio2.h:56:8: error: expected declaration specifiers or '...' before 'size_t'
        size_t __slen, const char *__restrict __format,
        ^
In file included from /usr/include/features.h:367:0,
                 from /usr/include/stdio.h:27,
                 from def.h:39,
                 from cppsetup.c:29:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:61:1: error: expected declaration specifiers or '...' before 'size_t'
__NTH (snprintf (char *__restrict __s, size_t __n,
^
/usr/include/x86_64-linux-gnu/bits/stdio2.h:74:1: error: expected declaration specifiers or '...' before 'size_t'
__NTH (vsnprintf (char *__restrict __s, size_t __n,
^
In file included from /usr/include/stdio.h:936:0,
                 from def.h:39,
                 from cppsetup.c:29:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:241:49: error: expected declaration specifiers or '...' before 'size_t'
extern char *__fgets_chk (char *__restrict __s, size_t __size, int __n,
                                                 ^
In file included from /usr/include/features.h:367:0,
                 from /usr/include/stdio.h:27,
                 from def.h:39,
                 from cppsetup.c:29:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:246:14: error: expected declaration specifiers or '...' before 'size_t'
extern char *__REDIRECT (__fgets_chk_warn,
              ^
In file included from /usr/include/stdio.h:936:0,
                 from def.h:39,
                 from cppsetup.c:29:
/usr/include/x86_64-linux-gnu/bits/stdio2.h: In function 'fgets':
/usr/include/x86_64-linux-gnu/bits/stdio2.h:260:20: error: expected ')' before '__n'
       if ((size_t) __n > __bos (__s))
                    ^
/usr/include/x86_64-linux-gnu/bits/stdio2.h: At top level:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:266:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__fread_chk'
extern size_t __fread_chk (void *__restrict __ptr, size_t __ptrlen,
               ^
In file included from /usr/include/features.h:367:0,
                 from /usr/include/stdio.h:27,
                 from def.h:39,
                 from cppsetup.c:29:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:269:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__fread_alias'
extern size_t __REDIRECT (__fread_alias,
               ^
/usr/include/x86_64-linux-gnu/bits/stdio2.h:273:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__fread_chk_warn'
extern size_t __REDIRECT (__fread_chk_warn,
               ^
In file included from /usr/include/stdio.h:936:0,
                 from def.h:39,
                 from cppsetup.c:29:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:282:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fread'
fread (void *__restrict __ptr, size_t __size, size_t __n,
^
/usr/include/x86_64-linux-gnu/bits/stdio2.h:327:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__fread_unlocked_chk'
extern size_t __fread_unlocked_chk (void *__restrict __ptr, size_t __ptrlen,
               ^
In file included from /usr/include/features.h:367:0,
                 from /usr/include/stdio.h:27,
                 from def.h:39,
                 from cppsetup.c:29:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:330:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__fread_unlocked_alias'
extern size_t __REDIRECT (__fread_unlocked_alias,
               ^
/usr/include/x86_64-linux-gnu/bits/stdio2.h:334:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__fread_unlocked_chk_warn'
extern size_t __REDIRECT (__fread_unlocked_chk_warn,
               ^
In file included from /usr/include/stdio.h:936:0,
                 from def.h:39,
                 from cppsetup.c:29:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:343:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fread_unlocked'
fread_unlocked (void *__restrict __ptr, size_t __size, size_t __n,
^
In file included from def.h:40:0,
                 from cppsetup.c:29:
/usr/include/stdlib.h:139:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__ctype_get_mb_cur_max'
extern size_t __ctype_get_mb_cur_max (void) __THROW __wur;
               ^
In file included from /usr/include/x86_64-linux-gnu/sys/select.h:45:0,
                 from /usr/include/x86_64-linux-gnu/sys/types.h:219,
                 from /usr/include/stdlib.h:314,
                 from def.h:40,
                 from cppsetup.c:29:
/usr/include/x86_64-linux-gnu/bits/time.h:30:8: error: redefinition of 'struct timeval'
struct timeval
        ^
In file included from /usr/include/x86_64-linux-gnu/sys/types.h:132:0,
                 from /usr/include/stdlib.h:314,
                 from def.h:40,
                 from cppsetup.c:29:
/usr/include/linux/time.h:15:8: note: originally defined here
struct timeval {
        ^
In file included from def.h:40:0,
                 from cppsetup.c:29:
/usr/include/stdlib.h:331:4: error: expected declaration specifiers or '...' before 'size_t'
    size_t __statelen) __THROW __nonnull ((2));
    ^
/usr/include/stdlib.h:361:4: error: expected declaration specifiers or '...' before 'size_t'
    size_t __statelen,
    ^
/usr/include/stdlib.h:466:22: error: expected declaration specifiers or '...' before 'size_t'
extern void *malloc (size_t __size) __THROW __attribute_malloc__ __wur;
                      ^
/usr/include/stdlib.h:468:22: error: expected declaration specifiers or '...' before 'size_t'
extern void *calloc (size_t __nmemb, size_t __size)
                      ^
/usr/include/stdlib.h:468:38: error: expected declaration specifiers or '...' before 'size_t'
extern void *calloc (size_t __nmemb, size_t __size)
                                      ^
/usr/include/stdlib.h:480:36: error: expected declaration specifiers or '...' before 'size_t'
extern void *realloc (void *__ptr, size_t __size)
                                    ^
In file included from /usr/include/stdlib.h:492:0,
                 from def.h:40,
                 from cppsetup.c:29:
/usr/include/alloca.h:32:22: error: expected declaration specifiers or '...' before 'size_t'
extern void *alloca (size_t __size) __THROW;
                      ^
In file included from def.h:40:0,
                 from cppsetup.c:29:
/usr/include/stdlib.h:498:22: error: expected declaration specifiers or '...' before 'size_t'
extern void *valloc (size_t __size) __THROW __attribute_malloc__ __wur;
                      ^
/usr/include/stdlib.h:503:45: error: expected declaration specifiers or '...' before 'size_t'
extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size)
                                             ^
/usr/include/stdlib.h:503:65: error: expected declaration specifiers or '...' before 'size_t'
extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size)
                                                                 ^
/usr/include/stdlib.h:509:29: error: expected declaration specifiers or '...' before 'size_t'
extern void *aligned_alloc (size_t __alignment, size_t __size)
                             ^
/usr/include/stdlib.h:509:49: error: expected declaration specifiers or '...' before 'size_t'
extern void *aligned_alloc (size_t __alignment, size_t __size)
                                                 ^
/usr/include/stdlib.h:755:9: error: expected declaration specifiers or '...' before 'size_t'
         size_t __nmemb, size_t __size, __compar_fn_t __compar)
         ^
/usr/include/stdlib.h:755:25: error: expected declaration specifiers or '...' before 'size_t'
         size_t __nmemb, size_t __size, __compar_fn_t __compar)
                         ^
In file included from /usr/include/stdlib.h:759:0,
                 from def.h:40,
                 from cppsetup.c:29:
/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:20:49: error: expected declaration specifiers or '...' before 'size_t'
bsearch (const void *__key, const void *__base, size_t __nmemb, size_t __size,
                                                 ^
/usr/include/x86_64-linux-gnu/bits/stdlib-bsearch.h:20:65: error: expected declaration specifiers or '...' before 'size_t'
bsearch (const void *__key, const void *__base, size_t __nmemb, size_t __size,
                                                                 ^
In file included from def.h:40:0,
                 from cppsetup.c:29:
/usr/include/stdlib.h:764:34: error: expected declaration specifiers or '...' before 'size_t'
extern void qsort (void *__base, size_t __nmemb, size_t __size,
                                  ^
/usr/include/stdlib.h:764:50: error: expected declaration specifiers or '...' before 'size_t'
extern void qsort (void *__base, size_t __nmemb, size_t __size,
                                                  ^
/usr/include/stdlib.h:843:6: error: expected declaration specifiers or '...' before 'size_t'
      size_t __len) __THROW __nonnull ((3, 4, 5));
      ^
/usr/include/stdlib.h:846:6: error: expected declaration specifiers or '...' before 'size_t'
      size_t __len) __THROW __nonnull ((3, 4, 5));
      ^
/usr/include/stdlib.h:850:31: error: expected declaration specifiers or '...' before 'size_t'
       char *__restrict __buf, size_t __len)
                               ^
/usr/include/stdlib.h:854:31: error: expected declaration specifiers or '...' before 'size_t'
       char *__restrict __buf, size_t __len)
                               ^
/usr/include/stdlib.h:862:36: error: expected declaration specifiers or '...' before 'size_t'
extern int mblen (const char *__s, size_t __n) __THROW;
                                    ^
/usr/include/stdlib.h:865:20: error: unknown type name 'wchar_t'
extern int mbtowc (wchar_t *__restrict __pwc,
                    ^
/usr/include/stdlib.h:866:34: error: expected declaration specifiers or '...' before 'size_t'
      const char *__restrict __s, size_t __n) __THROW;
                                  ^
/usr/include/stdlib.h:869:31: error: unknown type name 'wchar_t'
extern int wctomb (char *__s, wchar_t __wchar) __THROW;
                               ^
/usr/include/stdlib.h:873:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mbstowcs'
extern size_t mbstowcs (wchar_t *__restrict  __pwcs,
               ^
/usr/include/stdlib.h:876:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'wcstombs'
extern size_t wcstombs (char *__restrict __s,
               ^
In file included from /usr/include/stdlib.h:958:0,
                 from def.h:40,
                 from cppsetup.c:29:
/usr/include/x86_64-linux-gnu/bits/stdlib.h:25:9: error: expected declaration specifiers or '...' before 'size_t'
         size_t __resolvedlen) __THROW __wur;
         ^
In file included from /usr/include/features.h:367:0,
                 from /usr/include/stdio.h:27,
                 from def.h:39,
                 from cppsetup.c:29:
/usr/include/x86_64-linux-gnu/bits/stdlib.h:29:14: error: expected declaration specifiers or '...' before 'size_t'
extern char *__REDIRECT_NTH (__realpath_chk_warn,
              ^
In file included from /usr/include/stdlib.h:958:0,
                 from def.h:40,
                 from cppsetup.c:29:
/usr/include/x86_64-linux-gnu/bits/stdlib.h:52:52: error: expected declaration specifiers or '...' before 'size_t'
extern int __ptsname_r_chk (int __fd, char *__buf, size_t __buflen,
                                                    ^
/usr/include/x86_64-linux-gnu/bits/stdlib.h:53:8: error: expected declaration specifiers or '...' before 'size_t'
        size_t __nreal) __THROW __nonnull ((2));
        ^
In file included from /usr/include/features.h:367:0,
                 from /usr/include/stdio.h:27,
                 from def.h:39,
                 from cppsetup.c:29:
/usr/include/x86_64-linux-gnu/bits/stdlib.h:54:12: error: expected declaration specifiers or '...' before 'size_t'
extern int __REDIRECT_NTH (__ptsname_r_alias, (int __fd, char *__buf,
            ^
/usr/include/x86_64-linux-gnu/bits/stdlib.h:57:12: error: expected declaration specifiers or '...' before 'size_t'
extern int __REDIRECT_NTH (__ptsname_r_chk_warn,
            ^
/usr/include/x86_64-linux-gnu/bits/stdlib.h:57:12: error: expected declaration specifiers or '...' before 'size_t'
extern int __REDIRECT_NTH (__ptsname_r_chk_warn,
            ^
/usr/include/x86_64-linux-gnu/bits/stdlib.h:64:1: error: expected declaration specifiers or '...' before 'size_t'
__NTH (ptsname_r (int __fd, char *__buf, size_t __buflen))
^
In file included from /usr/include/stdlib.h:958:0,
                 from def.h:40,
                 from cppsetup.c:29:
/usr/include/x86_64-linux-gnu/bits/stdlib.h:77:37: error: unknown type name 'wchar_t'
extern int __wctomb_chk (char *__s, wchar_t __wchar, size_t __buflen)
                                     ^
/usr/include/x86_64-linux-gnu/bits/stdlib.h:77:54: error: expected declaration specifiers or '...' before 'size_t'
extern int __wctomb_chk (char *__s, wchar_t __wchar, size_t __buflen)
                                                      ^
In file included from /usr/include/features.h:367:0,
                 from /usr/include/stdio.h:27,
                 from def.h:39,
                 from cppsetup.c:29:
/usr/include/x86_64-linux-gnu/bits/stdlib.h:79:12: error: unknown type name 'wchar_t'
extern int __REDIRECT_NTH (__wctomb_alias, (char *__s, wchar_t __wchar),
            ^
/usr/include/x86_64-linux-gnu/bits/stdlib.h:83:1: error: unknown type name 'wchar_t'
__NTH (wctomb (char *__s, wchar_t __wchar))
^
In file included from /usr/include/stdlib.h:958:0,
                 from def.h:40,
                 from cppsetup.c:29:
/usr/include/x86_64-linux-gnu/bits/stdlib.h:98:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__mbstowcs_chk'
extern size_t __mbstowcs_chk (wchar_t *__restrict __dst,
               ^
In file included from /usr/include/features.h:367:0,
                 from /usr/include/stdio.h:27,
                 from def.h:39,
                 from cppsetup.c:29:
/usr/include/x86_64-linux-gnu/bits/stdlib.h:101:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__mbstowcs_alias'
extern size_t __REDIRECT_NTH (__mbstowcs_alias,
               ^
/usr/include/x86_64-linux-gnu/bits/stdlib.h:105:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__mbstowcs_chk_warn'
extern size_t __REDIRECT_NTH (__mbstowcs_chk_warn,
               ^
/usr/include/x86_64-linux-gnu/bits/stdlib.h:113:1: error: expected ',' or ';' before 'mbstowcs'
__NTH (mbstowcs (wchar_t *__restrict __dst, const char *__restrict __src,
^
In file included from /usr/include/stdlib.h:958:0,
                 from def.h:40,
                 from cppsetup.c:29:
/usr/include/x86_64-linux-gnu/bits/stdlib.h:130:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wcstombs_chk'
extern size_t __wcstombs_chk (char *__restrict __dst,
               ^
In file included from /usr/include/features.h:367:0,
                 from /usr/include/stdio.h:27,
                 from def.h:39,
                 from cppsetup.c:29:
/usr/include/x86_64-linux-gnu/bits/stdlib.h:133:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wcstombs_alias'
extern size_t __REDIRECT_NTH (__wcstombs_alias,
               ^
/usr/include/x86_64-linux-gnu/bits/stdlib.h:137:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__wcstombs_chk_warn'
extern size_t __REDIRECT_NTH (__wcstombs_chk_warn,
               ^
/usr/include/x86_64-linux-gnu/bits/stdlib.h:144:1: error: expected ',' or ';' before 'wcstombs'
__NTH (wcstombs (char *__restrict __dst, const wchar_t *__restrict __src,
^
cppsetup.c: In function '_lookup_variable':
cppsetup.c:165:5: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration]
     strncpy (tmpbuf, var, len);
     ^
cppsetup.c:165:5: warning: incompatible implicit declaration of built-in function 'strncpy'
cppsetup.c:165:5: note: include '<string.h>' or provide a declaration of 'strncpy'
cppsetup.c: In function '_my_eval_variable':
cppsetup.c:203:29: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
  s = _lookup_variable (var, strlen(var));
                             ^
cppsetup.c:203:29: warning: incompatible implicit declaration of built-in function 'strlen'
cppsetup.c:203:29: note: include '<string.h>' or provide a declaration of 'strlen'
dmake:  Error code 1, while making '../unxlngx6.pro/obj/cppsetup.obj'

1 module(s):
   soltools
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making /home/user/aoo-4.1.3/main/soltools/mkdepend

When you have fixed the errors in that module you can resume the build by running:

   build --all:soltools
OpenOffice 4.1.3 on Ubuntu 16.04
obduction
 
Posts: 1
Joined: Thu Jul 20, 2017 5:10 am

Re: OO 4.1.3 Ubuntu 16.04 stuck on soltools

Postby RoryOF » Thu Jul 20, 2017 10:06 am

A question concerned with compilation of OpenOffice is better addressed to the developers' mailing list at dev@openoffice.apache.org

There are few (if any) developers on thus forum. Most of the forum volunteers use the pre-built versions of OpenOffice.
Apache OpenOffice 4.1.4 on Xubuntu 16.04.03 (mostly 64 bit version) and infrequently on Win2K/XP
14 October 2016 was Pooh's 90th birthday
User avatar
RoryOF
Moderator
 
Posts: 25498
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland


Return to Linux

Who is online

Users browsing this forum: No registered users and 4 guests