Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to compile for synology nas #459

Closed
mitya12342 opened this issue Aug 25, 2020 · 7 comments
Closed

Trying to compile for synology nas #459

mitya12342 opened this issue Aug 25, 2020 · 7 comments
Assignees

Comments

@mitya12342
Copy link

Trying to compile kiwix for synology nas ds220j with RTD1296 processor
Everything got up to that point
What could i do? What information could be helpful?

mitya12342@synnas:~/kiwix-build$ kiwix-build
ERROR: The target platform native_dyn cannot be build on host .
Select another target platform or change your host system.
[INSTALL PACKAGES]
SKIP, No package to install.
[SETUP PLATFORMS]
[PREPARE]
prepare sources pugixml :
  download pugixml : SKIP
  extract pugixml : SKIP
  patch pugixml : SKIP
prepare sources zlib :
  download zlib : SKIP
  extract zlib : SKIP
  patch zlib : SKIP
prepare sources lzma :
  download lzma : SKIP
  extract lzma : SKIP
prepare sources zstd :
  download zstd : SKIP
  extract zstd : SKIP
  patch zstd : SKIP
prepare sources uuid :
  download uuid : SKIP
  extract uuid : SKIP
prepare sources xapian-core :
  download xapian-core : SKIP
  extract xapian-core : SKIP
  patch xapian-core : SKIP
prepare sources icu4c :
  download icu4c : SKIP
  extract icu4c : SKIP
  patch icu4c : SKIP
prepare sources libzim :
  gitupdate libzim : OK (2.2s)
prepare sources libcurl :
  download libcurl : SKIP
  extract libcurl : SKIP
prepare sources libmicrohttpd :
  download libmicrohttpd : SKIP
  extract libmicrohttpd : SKIP
prepare sources mustache :
  download mustache : SKIP
  extract mustache : SKIP
prepare sources kiwix-lib :
  gitupdate kiwix-lib : OK (1.9s)
prepare sources kiwix-tools :
  gitupdate kiwix-tools : OK (1.8s)
[BUILD]
build pugixml (native_dyn):
  configure pugixml : SKIP
  compile pugixml : SKIP
  test pugixml : SKIP
  install pugixml : SKIP
build zlib (native_dyn):
  pre_build_script zlib : SKIP
  configure zlib : SKIP
  compile zlib : OK (14.8s)
  install zlib : OK (0.3s)
build lzma (native_dyn):
  configure lzma : OK (25.4s)
  compile lzma : OK (24.7s)
  install lzma : OK (3.7s)
build zstd (native_dyn):
  configure zstd : OK (8.4s)
  compile zstd : ..OK (86.6s)
  test zstd : OK (3.6s)
  install zstd : OK (1.8s)
build uuid (native_dyn):
  configure uuid : .OK (49.3s)
  compile uuid : OK (8.7s)
  install uuid : OK (1.4s)
build xapian-core (native_dyn):
  configure xapian-core : .OK (41.9s)
  compile xapian-core : ERROR
run command 'make -j4  '
current directory is '/var/services/homes/mitya12342/kiwix-build/BUILD_native_dyn/xapian-core-1.4.14'
env is :
  TERM : 'xterm-256color'
  SHELL : '/bin/sh'
  SSH_CLIENT : '192.168.8.202 56322 22'
  OLDPWD : '/var/services/homes/mitya12342'
  SSH_TTY : '/dev/pts/3'
  LC_ALL : 'en_US.utf8'
  USER : 'mitya12342'
  PAGER : 'more'
  MAIL : '/var/mail/mitya12342'
  PATH : '/var/services/homes/mitya12342/kiwix-build/BUILD_native_dyn/INSTALL/bin:/var/services/homes/mitya12342/.local/bin:/opt/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/syno/sbin:/usr/syno/bin:/usr/local/sbin:/usr/local/bin'
  PWD : '/var/services/homes/mitya12342/kiwix-build'
  LANG : 'en_US.utf8'
  SHLVL : '1'
  HOME : '/var/services/homes/mitya12342'
  TERMINFO : '/usr/share/terminfo'
  LOGNAME : 'mitya12342'
  SSH_CONNECTION : '192.168.8.202 56322 192.168.8.100 22'
  PGDATA : '/var/services/pgsql'
  _ : '/var/services/homes/mitya12342/.local/bin/kiwix-build'
  PKG_CONFIG_PATH : ':/var/services/homes/mitya12342/kiwix-build/BUILD_native_dyn/INSTALL/lib/pkgconfig'
  LD_LIBRARY_PATH : ':/var/services/homes/mitya12342/kiwix-build/BUILD_native_dyn/INSTALL/lib:/var/services/homes/mitya12342/kiwix-build/BUILD_native_dyn/INSTALL/lib'
  QMAKE_CXXFLAGS : '-I/var/services/homes/mitya12342/kiwix-build/BUILD_native_dyn/INSTALL/include '
  CPPFLAGS : '-I/var/services/homes/mitya12342/kiwix-build/BUILD_native_dyn/INSTALL/include '
  QMAKE_LFLAGS : '-L/var/services/homes/mitya12342/kiwix-build/BUILD_native_dyn/INSTALL/lib -L/var/services/homes/mitya12342/kiwix-build/BUILD_native_dyn/INSTALL/lib '
  LDFLAGS : '-L/var/services/homes/mitya12342/kiwix-build/BUILD_native_dyn/INSTALL/lib -L/var/services/homes/mitya12342/kiwix-build/BUILD_native_dyn/INSTALL/lib '
make  all-recursive
make[1]: Entering directory '/var/services/homes/mitya12342/kiwix-build/BUILD_native_dyn/xapian-core-1.4.14'
Making all in .
make[2]: Entering directory '/var/services/homes/mitya12342/kiwix-build/BUILD_native_dyn/xapian-core-1.4.14'
depbase=`echo common/getopt.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool  --tag=CXX   --mode=compile g   -DHAVE_CONFIG_H -I. -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14  -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/common -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include -I'./include' -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/languages -Ilanguages -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/queryparser -I/var/services/homes/mitya12342/kiwix-build/BUILD_native_dyn/INSTALL/include  -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wformat-security -fno-gnu-keywords -Wundef -Woverloaded-virtual -Wstrict-null-sentinel -Wshadow -Wstrict-overflow=1 -Wlogical-op -Wmissing-declarations -Wdouble-promotion -Winit-self -fvisibility=hidden -fvisibility-inlines-hidden -O3 -I/var/services/homes/mitya12342/kiwix-build/BUILD_native_dyn/INSTALL/include -MT common/getopt.lo -MD -MP -MF $depbase.Tpo -c -o common/getopt.lo /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/common/getopt.cc &&\
mv -f $depbase.Tpo $depbase.Plo
/bin/mkdir -p installable
/bin/sed '/##UNINSTONLYBEGIN/,/##UNINSTONLYEND/d' xapian-config > installable/xapian-config.tmp
mv installable/xapian-config.tmp installable/xapian-config
depbase=`echo api/compactor.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool  --tag=CXX   --mode=compile g   -DHAVE_CONFIG_H -I. -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14  -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/common -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include -I'./include' -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/languages -Ilanguages -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/queryparser -I/var/services/homes/mitya12342/kiwix-build/BUILD_native_dyn/INSTALL/include  -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wformat-security -fno-gnu-keywords -Wundef -Woverloaded-virtual -Wstrict-null-sentinel -Wshadow -Wstrict-overflow=1 -Wlogical-op -Wmissing-declarations -Wdouble-promotion -Winit-self -fvisibility=hidden -fvisibility-inlines-hidden -O3 -I/var/services/homes/mitya12342/kiwix-build/BUILD_native_dyn/INSTALL/include -MT api/compactor.lo -MD -MP -MF $depbase.Tpo -c -o api/compactor.lo /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc &&\
mv -f $depbase.Tpo $depbase.Plo
depbase=`echo api/constinfo.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool  --tag=CXX   --mode=compile g   -DHAVE_CONFIG_H -I. -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14  -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/common -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include -I'./include' -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/languages -Ilanguages -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/queryparser -I/var/services/homes/mitya12342/kiwix-build/BUILD_native_dyn/INSTALL/include  -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wformat-security -fno-gnu-keywords -Wundef -Woverloaded-virtual -Wstrict-null-sentinel -Wshadow -Wstrict-overflow=1 -Wlogical-op -Wmissing-declarations -Wdouble-promotion -Winit-self -fvisibility=hidden -fvisibility-inlines-hidden -O3 -I/var/services/homes/mitya12342/kiwix-build/BUILD_native_dyn/INSTALL/include -MT api/constinfo.lo -MD -MP -MF $depbase.Tpo -c -o api/constinfo.lo /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/constinfo.cc &&\
mv -f $depbase.Tpo $depbase.Plo
depbase=`echo api/decvalwtsource.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool  --tag=CXX   --mode=compile g   -DHAVE_CONFIG_H -I. -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14  -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/common -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include -I'./include' -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/languages -Ilanguages -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/queryparser -I/var/services/homes/mitya12342/kiwix-build/BUILD_native_dyn/INSTALL/include  -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wformat-security -fno-gnu-keywords -Wundef -Woverloaded-virtual -Wstrict-null-sentinel -Wshadow -Wstrict-overflow=1 -Wlogical-op -Wmissing-declarations -Wdouble-promotion -Winit-self -fvisibility=hidden -fvisibility-inlines-hidden -O3 -I/var/services/homes/mitya12342/kiwix-build/BUILD_native_dyn/INSTALL/include -MT api/decvalwtsource.lo -MD -MP -MF $depbase.Tpo -c -o api/decvalwtsource.lo /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  g   -DHAVE_CONFIG_H -I. -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14 -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/common -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include -I./include -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/languages -Ilanguages -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/queryparser -I/var/services/homes/mitya12342/kiwix-build/BUILD_native_dyn/INSTALL/include -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wformat-security -fno-gnu-keywords -Wundef -Woverloaded-virtual -Wstrict-null-sentinel -Wshadow -Wstrict-overflow=1 -Wlogical-op -Wmissing-declarations -Wdouble-promotion -Winit-self -fvisibility=hidden -fvisibility-inlines-hidden -O3 -I/var/services/homes/mitya12342/kiwix-build/BUILD_native_dyn/INSTALL/include -MT common/getopt.lo -MD -MP -MF common/.deps/getopt.Tpo -c /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/common/getopt.cc  -o common/.libs/getopt.o
libtool: compile:  g   -DHAVE_CONFIG_H -I. -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14 -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/common -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include -I./include -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/languages -Ilanguages -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/queryparser -I/var/services/homes/mitya12342/kiwix-build/BUILD_native_dyn/INSTALL/include -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wformat-security -fno-gnu-keywords -Wundef -Woverloaded-virtual -Wstrict-null-sentinel -Wshadow -Wstrict-overflow=1 -Wlogical-op -Wmissing-declarations -Wdouble-promotion -Winit-self -fvisibility=hidden -fvisibility-inlines-hidden -O3 -I/var/services/homes/mitya12342/kiwix-build/BUILD_native_dyn/INSTALL/include -MT api/constinfo.lo -MD -MP -MF api/.deps/constinfo.Tpo -c /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/constinfo.cc  -o api/.libs/constinfo.o
libtool: compile:  g   -DHAVE_CONFIG_H -I. -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14 -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/common -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include -I./include -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/languages -Ilanguages -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/queryparser -I/var/services/homes/mitya12342/kiwix-build/BUILD_native_dyn/INSTALL/include -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wformat-security -fno-gnu-keywords -Wundef -Woverloaded-virtual -Wstrict-null-sentinel -Wshadow -Wstrict-overflow=1 -Wlogical-op -Wmissing-declarations -Wdouble-promotion -Winit-self -fvisibility=hidden -fvisibility-inlines-hidden -O3 -I/var/services/homes/mitya12342/kiwix-build/BUILD_native_dyn/INSTALL/include -MT api/decvalwtsource.lo -MD -MP -MF api/.deps/decvalwtsource.Tpo -c /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc  -o api/.libs/decvalwtsource.o
libtool: compile:  g   -DHAVE_CONFIG_H -I. -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14 -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/common -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include -I./include -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/languages -Ilanguages -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/queryparser -I/var/services/homes/mitya12342/kiwix-build/BUILD_native_dyn/INSTALL/include -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wformat-security -fno-gnu-keywords -Wundef -Woverloaded-virtual -Wstrict-null-sentinel -Wshadow -Wstrict-overflow=1 -Wlogical-op -Wmissing-declarations -Wdouble-promotion -Winit-self -fvisibility=hidden -fvisibility-inlines-hidden -O3 -I/var/services/homes/mitya12342/kiwix-build/BUILD_native_dyn/INSTALL/include -MT api/compactor.lo -MD -MP -MF api/.deps/compactor.Tpo -c /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc  -o api/.libs/compactor.o
depbase=`echo api/documentvaluelist.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ./libtool  --tag=CXX   --mode=compile g   -DHAVE_CONFIG_H -I. -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14  -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/common -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include -I'./include' -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/languages -Ilanguages -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/queryparser -I/var/services/homes/mitya12342/kiwix-build/BUILD_native_dyn/INSTALL/include  -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wformat-security -fno-gnu-keywords -Wundef -Woverloaded-virtual -Wstrict-null-sentinel -Wshadow -Wstrict-overflow=1 -Wlogical-op -Wmissing-declarations -Wdouble-promotion -Winit-self -fvisibility=hidden -fvisibility-inlines-hidden -O3 -I/var/services/homes/mitya12342/kiwix-build/BUILD_native_dyn/INSTALL/include -MT api/documentvaluelist.lo -MD -MP -MF $depbase.Tpo -c -o api/documentvaluelist.lo /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentvaluelist.cc &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  g   -DHAVE_CONFIG_H -I. -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14 -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/common -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include -I./include -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/languages -Ilanguages -I/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/queryparser -I/var/services/homes/mitya12342/kiwix-build/BUILD_native_dyn/INSTALL/include -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wformat-security -fno-gnu-keywords -Wundef -Woverloaded-virtual -Wstrict-null-sentinel -Wshadow -Wstrict-overflow=1 -Wlogical-op -Wmissing-declarations -Wdouble-promotion -Winit-self -fvisibility=hidden -fvisibility-inlines-hidden -O3 -I/var/services/homes/mitya12342/kiwix-build/BUILD_native_dyn/INSTALL/include -MT api/documentvaluelist.lo -MD -MP -MF api/.deps/documentvaluelist.Tpo -c /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentvaluelist.cc  -o api/.libs/documentvaluelist.o
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/constinfo.cc:33:5: error: 'XAPIAN_MAJOR_VERSION' was not declared in this scope
     XAPIAN_MAJOR_VERSION,
     ^~~~~~~~~~~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/constinfo.cc:33:5: note: suggested alternative: 'PACKAGE_VERSION'
     XAPIAN_MAJOR_VERSION,
     ^~~~~~~~~~~~~~~~~~~~
     PACKAGE_VERSION
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/constinfo.cc:34:5: error: 'XAPIAN_MINOR_VERSION' was not declared in this scope
     XAPIAN_MINOR_VERSION,
     ^~~~~~~~~~~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/constinfo.cc:34:5: note: suggested alternative: 'XAPIAN_CONST_FUNCTION'
     XAPIAN_MINOR_VERSION,
     ^~~~~~~~~~~~~~~~~~~~
     XAPIAN_CONST_FUNCTION
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/constinfo.cc:35:5: error: 'XAPIAN_REVISION' was not declared in this scope
     XAPIAN_REVISION,
     ^~~~~~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/constinfo.cc:35:5: note: suggested alternative: 'XAPIAN_NOTHROW'
     XAPIAN_REVISION,
     ^~~~~~~~~~~~~~~
     XAPIAN_NOTHROW
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/constinfo.cc:36:5: error: 'XAPIAN_VERSION' was not declared in this scope
     XAPIAN_VERSION,
     ^~~~~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/constinfo.cc:36:5: note: suggested alternative: 'PACKAGE_VERSION'
     XAPIAN_VERSION,
     ^~~~~~~~~~~~~~
     PACKAGE_VERSION
make[2]: *** [Makefile:2809: api/constinfo.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:42:0,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:30,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc:24:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/types.h:38:41: error: expected initializer before 'doccount'
 typedef unsigned XAPIAN_DOCID_BASE_TYPE doccount;
                                         ^~~~~~~~
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/valuelist.h:27:0,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentvaluelist.h:24,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentvaluelist.cc:23:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/types.h:38:41: error: expected initializer before 'doccount'
 typedef unsigned XAPIAN_DOCID_BASE_TYPE doccount;
                                         ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/types.h:45:9: error: 'XAPIAN_DOCID_BASE_TYPE' does not name a type
 typedef XAPIAN_DOCID_BASE_TYPE doccount_diff;
         ^~~~~~~~~~~~~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/types.h:52:41: error: expected initializer before 'docid'
 typedef unsigned XAPIAN_DOCID_BASE_TYPE docid;
                                         ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/types.h:72:45: error: expected initializer before 'termcount'
 typedef unsigned XAPIAN_TERMCOUNT_BASE_TYPE termcount;
                                             ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/types.h:79:9: error: 'XAPIAN_TERMCOUNT_BASE_TYPE' does not name a type
 typedef XAPIAN_TERMCOUNT_BASE_TYPE termcount_diff;
         ^~~~~~~~~~~~~~~~~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/types.h:83:43: error: expected initializer before 'termpos'
 typedef unsigned XAPIAN_TERMPOS_BASE_TYPE termpos;
                                           ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/types.h:45:9: error: 'XAPIAN_DOCID_BASE_TYPE' does not name a type
 typedef XAPIAN_DOCID_BASE_TYPE doccount_diff;
         ^~~~~~~~~~~~~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/types.h:52:41: error: expected initializer before 'docid'
 typedef unsigned XAPIAN_DOCID_BASE_TYPE docid;
                                         ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/types.h:72:45: error: expected initializer before 'termcount'
 typedef unsigned XAPIAN_TERMCOUNT_BASE_TYPE termcount;
                                             ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/types.h:90:9: error: 'XAPIAN_TERMPOS_BASE_TYPE' does not name a type; did you mean '_STL_ITERATOR_BASE_TYPES_H'?
 typedef XAPIAN_TERMPOS_BASE_TYPE termpos_diff; /* FIXME: can overflow. */
         ^~~~~~~~~~~~~~~~~~~~~~~~
         _STL_ITERATOR_BASE_TYPES_H
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/types.h:79:9: error: 'XAPIAN_TERMCOUNT_BASE_TYPE' does not name a type
 typedef XAPIAN_TERMCOUNT_BASE_TYPE termcount_diff;
         ^~~~~~~~~~~~~~~~~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/types.h:83:43: error: expected initializer before 'termpos'
 typedef unsigned XAPIAN_TERMPOS_BASE_TYPE termpos;
                                           ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/types.h:133:9: error: 'XAPIAN_REVISION_TYPE' does not name a type
 typedef XAPIAN_REVISION_TYPE rev;
         ^~~~~~~~~~~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/types.h:90:9: error: 'XAPIAN_TERMPOS_BASE_TYPE' does not name a type; did you mean '_STL_ITERATOR_BASE_TYPES_H'?
 typedef XAPIAN_TERMPOS_BASE_TYPE termpos_diff; /* FIXME: can overflow. */
         ^~~~~~~~~~~~~~~~~~~~~~~~
         _STL_ITERATOR_BASE_TYPES_H
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/types.h:139:9: error: 'XAPIAN_TOTALLENGTH_TYPE' does not name a type
 typedef XAPIAN_TOTALLENGTH_TYPE totallength;
         ^~~~~~~~~~~~~~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/types.h:133:9: error: 'XAPIAN_REVISION_TYPE' does not name a type
 typedef XAPIAN_REVISION_TYPE rev;
         ^~~~~~~~~~~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/types.h:139:9: error: 'XAPIAN_TOTALLENGTH_TYPE' does not name a type
 typedef XAPIAN_TOTALLENGTH_TYPE totallength;
         ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:43:0,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:30,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc:24:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/positioniterator.h:90:13: error: 'termpos' in namespace 'Xapian' does not name a type
     Xapian::termpos operator*() const;
             ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/positioniterator.h:96:27: error: 'termpos' is not a member of 'Xapian'
     DerefWrapper_<Xapian::termpos> operator  (int) {
                           ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/positioniterator.h:96:27: error: 'termpos' is not a member of 'Xapian'
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/positioniterator.h:96:34: error: template argument 1 is invalid
     DerefWrapper_<Xapian::termpos> operator  (int) {
                                  ^
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/positioniterator.h:108:26: error: 'Xapian::termpos' has not been declared
     void skip_to(Xapian::termpos termpos);
                          ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/positioniterator.h:127:21: error: 'termpos' in namespace 'Xapian' does not name a type
     typedef Xapian::termpos value_type;
                     ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/positioniterator.h:129:21: error: 'termpos_diff' in namespace 'Xapian' does not name a type
     typedef Xapian::termpos_diff difference_type;
                     ^~~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/positioniterator.h:131:21: error: 'termpos' in namespace 'Xapian' does not name a type
     typedef Xapian::termpos * pointer;
                     ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/positioniterator.h:133:21: error: 'termpos' in namespace 'Xapian' does not name a type
     typedef Xapian::termpos & reference;
                     ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/positioniterator.h: In member function 'int Xapian::PositionIterator::operator  (int)':
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/positioniterator.h:97:10: error: 'termpos' is not a member of 'Xapian'
  Xapian::termpos pos(**this);
          ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/positioniterator.h:99:31: error: 'termpos' is not a member of 'Xapian'
  return DerefWrapper_<Xapian::termpos>(pos);
                               ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/positioniterator.h:99:31: error: 'termpos' is not a member of 'Xapian'
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/positioniterator.h:99:38: error: template argument 1 is invalid
  return DerefWrapper_<Xapian::termpos>(pos);
                                      ^
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/positioniterator.h:99:40: error: 'pos' was not declared in this scope
  return DerefWrapper_<Xapian::termpos>(pos);
                                        ^~~
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:44:0,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:30,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc:24:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h: At global scope:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:89:13: error: 'docid' in namespace 'Xapian' does not name a type
     Xapian::docid operator*() const;
             ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:92:13: error: 'termcount' in namespace 'Xapian' does not name a type
     Xapian::termcount get_wdf() const;
             ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:95:13: error: 'termcount' in namespace 'Xapian' does not name a type
     Xapian::termcount get_doclength() const;
             ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:98:13: error: 'termcount' in namespace 'Xapian' does not name a type
     Xapian::termcount get_unique_terms() const;
             ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:117:27: error: 'docid' is not a member of 'Xapian'
     DerefWrapper_<Xapian::docid> operator  (int) {
                           ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:117:27: error: 'docid' is not a member of 'Xapian'
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:117:32: error: template argument 1 is invalid
     DerefWrapper_<Xapian::docid> operator  (int) {
                                ^
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:129:26: error: 'Xapian::docid' has not been declared
     void skip_to(Xapian::docid did);
                          ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:148:21: error: 'docid' in namespace 'Xapian' does not name a type
     typedef Xapian::docid value_type;
                     ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:150:21: error: 'doccount_diff' in namespace 'Xapian' does not name a type
     typedef Xapian::doccount_diff difference_type;
                     ^~~~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:152:21: error: 'docid' in namespace 'Xapian' does not name a type
     typedef Xapian::docid * pointer;
                     ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:154:21: error: 'docid' in namespace 'Xapian' does not name a type
     typedef Xapian::docid & reference;
                     ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h: In member function 'int Xapian::PostingIterator::operator  (int)':
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:118:10: error: 'docid' is not a member of 'Xapian'
  Xapian::docid did(**this);
          ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:120:31: error: 'docid' is not a member of 'Xapian'
  return DerefWrapper_<Xapian::docid>(did);
                               ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:120:31: error: 'docid' is not a member of 'Xapian'
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:120:36: error: template argument 1 is invalid
  return DerefWrapper_<Xapian::docid>(did);
                                    ^
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:120:38: error: 'did' was not declared in this scope
  return DerefWrapper_<Xapian::docid>(did);
                                      ^~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:120:38: note: suggested alternative: 'div'
  return DerefWrapper_<Xapian::docid>(did);
                                      ^~~
                                      div
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:45:0,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:30,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc:24:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/termiterator.h: At global scope:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/termiterator.h:92:13: error: 'termcount' in namespace 'Xapian' does not name a type
     Xapian::termcount get_wdf() const;
             ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/termiterator.h:95:13: error: 'doccount' in namespace 'Xapian' does not name a type
     Xapian::doccount get_termfreq() const;
             ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/termiterator.h:98:13: error: 'termcount' in namespace 'Xapian' does not name a type
     Xapian::termcount positionlist_count() const;
             ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/termiterator.h:148:21: error: 'termcount_diff' in namespace 'Xapian' does not name a type
     typedef Xapian::termcount_diff difference_type;
                     ^~~~~~~~~~~~~~
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:46:0,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:30,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc:24:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/valueiterator.h:107:13: error: 'docid' in namespace 'Xapian' does not name a type
     Xapian::docid get_docid() const;
             ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/valueiterator.h:135:26: error: 'Xapian::docid' has not been declared
     void skip_to(Xapian::docid docid_or_slot);
                          ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/valueiterator.h:162:24: error: 'Xapian::docid' has not been declared
     bool check(Xapian::docid docid);
                        ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/valueiterator.h:195:21: error: 'doccount_diff' in namespace 'Xapian' does not name a type
     typedef Xapian::doccount_diff difference_type;
                     ^~~~~~~~~~~~~
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:30:0,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc:24:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:234:38: error: 'Xapian::docid' has not been declared
  TermIterator termlist_begin(Xapian::docid did) const;
                                      ^~~~~
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:29:0,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc:24:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:238:51: error: 'Xapian::docid' has not been declared
  TermIterator XAPIAN_NOTHROW(termlist_end(Xapian::docid) const) {
                                                   ^
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/attributes.h:50:29: note: in definition of macro 'XAPIAN_NOTHROW'
 #  define XAPIAN_NOTHROW(D) D XAPIAN_NOEXCEPT __attribute__((__nothrow__))
                             ^
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:30:0,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc:24:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:248:46: error: 'Xapian::docid' has not been declared
  PositionIterator positionlist_begin(Xapian::docid did, const std::string &tname) const;
                                              ^~~~~
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:29:0,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc:24:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:252:59: error: 'Xapian::docid' has not been declared
  PositionIterator XAPIAN_NOTHROW(positionlist_end(Xapian::docid, const std::string &) const) {
                                                           ^
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/attributes.h:50:29: note: in definition of macro 'XAPIAN_NOTHROW'
 #  define XAPIAN_NOTHROW(D) D XAPIAN_NOEXCEPT __attribute__((__nothrow__))
                             ^
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:30:0,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc:24:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:270:10: error: 'doccount' in namespace 'Xapian' does not name a type
  Xapian::doccount get_doccount() const;
          ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:273:10: error: 'docid' in namespace 'Xapian' does not name a type
  Xapian::docid get_lastdocid() const;
          ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:282:10: error: 'totallength' in namespace 'Xapian' does not name a type
  Xapian::totallength get_total_length() const;
          ^~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:285:10: error: 'doccount' in namespace 'Xapian' does not name a type
  Xapian::doccount get_termfreq(const std::string & tname) const;
          ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:306:10: error: 'termcount' in namespace 'Xapian' does not name a type
  Xapian::termcount get_collection_freq(const std::string & tname) const;
          ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:315:10: error: 'doccount' in namespace 'Xapian' does not name a type
  Xapian::doccount get_value_freq(Xapian::valueno slot) const;
          ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:339:10: error: 'termcount' in namespace 'Xapian' does not name a type
  Xapian::termcount get_doclength_lower_bound() const;
          ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:342:10: error: 'termcount' in namespace 'Xapian' does not name a type
  Xapian::termcount get_doclength_upper_bound() const;
          ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:345:10: error: 'termcount' in namespace 'Xapian' does not name a type
  Xapian::termcount get_wdf_upper_bound(const std::string & term) const;
          ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:356:10: error: 'termcount' in namespace 'Xapian' does not name a type
  Xapian::termcount get_doclength(Xapian::docid did) const;
          ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:359:10: error: 'termcount' in namespace 'Xapian' does not name a type
  Xapian::termcount get_unique_terms(Xapian::docid did) const;
          ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:382:40: error: 'Xapian::docid' has not been declared
  Xapian::Document get_document(Xapian::docid did) const;
                                        ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:401:40: error: 'Xapian::docid' has not been declared
  Xapian::Document get_document(Xapian::docid did, unsigned flags) const;
                                        ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:544:10: error: 'rev' in namespace 'Xapian' does not name a type
  Xapian::rev get_revision() const;
          ^~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:1042:10: error: 'docid' in namespace 'Xapian' does not name a type
  Xapian::docid add_document(const Xapian::Document & document);
          ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:1065:31: error: 'Xapian::docid' has not been declared
  void delete_document(Xapian::docid did);
                               ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:1119:32: error: 'Xapian::docid' has not been declared
  void replace_document(Xapian::docid did,
                                ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:1155:10: error: 'docid' in namespace 'Xapian' does not name a type
  Xapian::docid replace_document(const std::string & unique_term,
          ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:1166:14: error: 'Xapian::termcount' has not been declared
      Xapian::termcount freqinc = 1) const;
              ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:1177:17: error: 'Xapian::termcount' has not been declared
         Xapian::termcount freqdec = 1) const;
                 ^~~~~~~~~
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/valuelist.h:28:0,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentvaluelist.h:24,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentvaluelist.cc:23:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/valueiterator.h:107:13: error: 'docid' in namespace 'Xapian' does not name a type
     Xapian::docid get_docid() const;
             ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/valueiterator.h:135:26: error: 'Xapian::docid' has not been declared
     void skip_to(Xapian::docid docid_or_slot);
                          ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/valueiterator.h:162:24: error: 'Xapian::docid' has not been declared
     bool check(Xapian::docid docid);
                        ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/valueiterator.h:195:21: error: 'doccount_diff' in namespace 'Xapian' does not name a type
     typedef Xapian::doccount_diff difference_type;
                     ^~~~~~~~~~~~~
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentvaluelist.h:24:0,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentvaluelist.cc:23:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/valuelist.h:49:21: error: 'docid' in namespace 'Xapian' does not name a type
     virtual Xapian::docid get_docid() const = 0;
                     ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/valuelist.h:73:34: error: 'Xapian::docid' has not been declared
     virtual void skip_to(Xapian::docid) = 0;
                                  ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/valuelist.h:93:32: error: 'Xapian::docid' has not been declared
     virtual bool check(Xapian::docid did);
                                ^~~~~
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:33:0,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:41:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/types.h:38:41: error: expected initializer before 'doccount'
 typedef unsigned XAPIAN_DOCID_BASE_TYPE doccount;
                                         ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/types.h:45:9: error: 'XAPIAN_DOCID_BASE_TYPE' does not name a type
 typedef XAPIAN_DOCID_BASE_TYPE doccount_diff;
         ^~~~~~~~~~~~~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/types.h:52:41: error: expected initializer before 'docid'
 typedef unsigned XAPIAN_DOCID_BASE_TYPE docid;
                                         ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/types.h:72:45: error: expected initializer before 'termcount'
 typedef unsigned XAPIAN_TERMCOUNT_BASE_TYPE termcount;
                                             ^~~~~~~~~
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/termiterator.h:34:0,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/termlist.h:29,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/document.h:29,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentvaluelist.h:26,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentvaluelist.cc:23:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/positioniterator.h:90:13: error: 'termpos' in namespace 'Xapian' does not name a type
     Xapian::termpos operator*() const;
             ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/positioniterator.h:96:27: error: 'termpos' is not a member of 'Xapian'
     DerefWrapper_<Xapian::termpos> operator  (int) {
                           ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/positioniterator.h:96:27: error: 'termpos' is not a member of 'Xapian'
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/positioniterator.h:96:34: error: template argument 1 is invalid
     DerefWrapper_<Xapian::termpos> operator  (int) {
                                  ^
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/positioniterator.h:108:26: error: 'Xapian::termpos' has not been declared
     void skip_to(Xapian::termpos termpos);
                          ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/positioniterator.h:127:21: error: 'termpos' in namespace 'Xapian' does not name a type
     typedef Xapian::termpos value_type;
                     ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/positioniterator.h:129:21: error: 'termpos_diff' in namespace 'Xapian' does not name a type
     typedef Xapian::termpos_diff difference_type;
                     ^~~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/positioniterator.h:131:21: error: 'termpos' in namespace 'Xapian' does not name a type
     typedef Xapian::termpos * pointer;
                     ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/positioniterator.h:133:21: error: 'termpos' in namespace 'Xapian' does not name a type
     typedef Xapian::termpos & reference;
                     ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/positioniterator.h: In member function 'int Xapian::PositionIterator::operator  (int)':
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/positioniterator.h:97:10: error: 'termpos' is not a member of 'Xapian'
  Xapian::termpos pos(**this);
          ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/positioniterator.h:99:31: error: 'termpos' is not a member of 'Xapian'
  return DerefWrapper_<Xapian::termpos>(pos);
                               ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/positioniterator.h:99:31: error: 'termpos' is not a member of 'Xapian'
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/positioniterator.h:99:38: error: template argument 1 is invalid
  return DerefWrapper_<Xapian::termpos>(pos);
                                      ^
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/positioniterator.h:99:40: error: 'pos' was not declared in this scope
  return DerefWrapper_<Xapian::termpos>(pos);
                                        ^~~
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/termlist.h:29:0,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/document.h:29,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentvaluelist.h:26,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentvaluelist.cc:23:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/termiterator.h: At global scope:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/termiterator.h:92:13: error: 'termcount' in namespace 'Xapian' does not name a type
     Xapian::termcount get_wdf() const;
             ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/termiterator.h:95:13: error: 'doccount' in namespace 'Xapian' does not name a type
     Xapian::doccount get_termfreq() const;
             ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/termiterator.h:98:13: error: 'termcount' in namespace 'Xapian' does not name a type
     Xapian::termcount positionlist_count() const;
             ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/termiterator.h:148:21: error: 'termcount_diff' in namespace 'Xapian' does not name a type
     typedef Xapian::termcount_diff difference_type;
                     ^~~~~~~~~~~~~~
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/document.h:29:0,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentvaluelist.h:26,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentvaluelist.cc:23:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/termlist.h:57:21: error: 'termcount' in namespace 'Xapian' does not name a type
     virtual Xapian::termcount get_approx_size() const = 0;
                     ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/termlist.h:66:21: error: 'termcount' in namespace 'Xapian' does not name a type
     virtual Xapian::termcount get_wdf() const = 0;
                     ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/termlist.h:69:21: error: 'doccount' in namespace 'Xapian' does not name a type
     virtual Xapian::doccount get_termfreq() const = 0;
                     ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/termlist.h:95:21: error: 'termcount' in namespace 'Xapian' does not name a type
     virtual Xapian::termcount positionlist_count() const = 0;
                     ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/termlist.h:105:39: error: 'termpos' is not a member of 'Xapian'
     virtual const std::vector<Xapian::termpos> * get_vector_termpos() const;
                                       ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/termlist.h:105:39: error: 'termpos' is not a member of 'Xapian'
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/termlist.h:105:46: error: template argument 1 is invalid
     virtual const std::vector<Xapian::termpos> * get_vector_termpos() const;
                                              ^
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/termlist.h:105:46: error: template argument 2 is invalid
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:44:0,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:34,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/document.h:30,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentvaluelist.h:26,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentvaluelist.cc:23:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:89:13: error: 'docid' in namespace 'Xapian' does not name a type
     Xapian::docid operator*() const;
             ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:92:13: error: 'termcount' in namespace 'Xapian' does not name a type
     Xapian::termcount get_wdf() const;
             ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:95:13: error: 'termcount' in namespace 'Xapian' does not name a type
     Xapian::termcount get_doclength() const;
             ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:98:13: error: 'termcount' in namespace 'Xapian' does not name a type
     Xapian::termcount get_unique_terms() const;
             ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:117:27: error: 'docid' is not a member of 'Xapian'
     DerefWrapper_<Xapian::docid> operator  (int) {
                           ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:117:27: error: 'docid' is not a member of 'Xapian'
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:117:32: error: template argument 1 is invalid
     DerefWrapper_<Xapian::docid> operator  (int) {
                                ^
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:129:26: error: 'Xapian::docid' has not been declared
     void skip_to(Xapian::docid did);
                          ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:148:21: error: 'docid' in namespace 'Xapian' does not name a type
     typedef Xapian::docid value_type;
                     ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:150:21: error: 'doccount_diff' in namespace 'Xapian' does not name a type
     typedef Xapian::doccount_diff difference_type;
                     ^~~~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:152:21: error: 'docid' in namespace 'Xapian' does not name a type
     typedef Xapian::docid * pointer;
                     ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:154:21: error: 'docid' in namespace 'Xapian' does not name a type
     typedef Xapian::docid & reference;
                     ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h: In member function 'int Xapian::PostingIterator::operator  (int)':
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:118:10: error: 'docid' is not a member of 'Xapian'
  Xapian::docid did(**this);
          ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:120:31: error: 'docid' is not a member of 'Xapian'
  return DerefWrapper_<Xapian::docid>(did);
                               ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:120:31: error: 'docid' is not a member of 'Xapian'
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:120:36: error: template argument 1 is invalid
  return DerefWrapper_<Xapian::docid>(did);
                                    ^
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:120:38: error: 'did' was not declared in this scope
  return DerefWrapper_<Xapian::docid>(did);
                                      ^~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/types.h:79:9: error: 'XAPIAN_TERMCOUNT_BASE_TYPE' does not name a type
 typedef XAPIAN_TERMCOUNT_BASE_TYPE termcount_diff;
         ^~~~~~~~~~~~~~~~~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/types.h:83:43: error: expected initializer before 'termpos'
 typedef unsigned XAPIAN_TERMPOS_BASE_TYPE termpos;
                                           ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:120:38: note: suggested alternative: 'div'
  return DerefWrapper_<Xapian::docid>(did);
                                      ^~~
                                      div
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:34:0,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/document.h:30,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentvaluelist.h:26,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentvaluelist.cc:23:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h: At global scope:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:234:38: error: 'Xapian::docid' has not been declared
  TermIterator termlist_begin(Xapian::docid did) const;
                                      ^~~~~
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc:24:0:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:86:21: error: 'doccount' in namespace 'Xapian' does not name a type
     virtual Xapian::doccount get_termfreq_min() const = 0;
                     ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:97:21: error: 'doccount' in namespace 'Xapian' does not name a type
     virtual Xapian::doccount get_termfreq_est() const = 0;
                     ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:104:21: error: 'doccount' in namespace 'Xapian' does not name a type
     virtual Xapian::doccount get_termfreq_max() const = 0;
                     ^~~~~~~~
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/valueiterator.h:32:0,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/valuelist.h:28,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentvaluelist.h:24,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentvaluelist.cc:23:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:238:51: error: 'Xapian::docid' has not been declared
  TermIterator XAPIAN_NOTHROW(termlist_end(Xapian::docid) const) {
                                                   ^
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/attributes.h:50:29: note: in definition of macro 'XAPIAN_NOTHROW'
 #  define XAPIAN_NOTHROW(D) D XAPIAN_NOEXCEPT __attribute__((__nothrow__))
                             ^
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:157:21: error: 'docid' in namespace 'Xapian' does not name a type
     virtual Xapian::docid get_docid() const = 0;
                     ^~~~~
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:34:0,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/document.h:30,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentvaluelist.h:26,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentvaluelist.cc:23:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:248:46: error: 'Xapian::docid' has not been declared
  PositionIterator positionlist_begin(Xapian::docid did, const std::string &tname) const;
                                              ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:200:34: error: 'Xapian::docid' has not been declared
     virtual void skip_to(Xapian::docid did, double min_wt);
                                  ^~~~~
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/valueiterator.h:32:0,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/valuelist.h:28,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentvaluelist.h:24,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentvaluelist.cc:23:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:252:59: error: 'Xapian::docid' has not been declared
  PositionIterator XAPIAN_NOTHROW(positionlist_end(Xapian::docid, const std::string &) const) {
                                                           ^
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/attributes.h:50:29: note: in definition of macro 'XAPIAN_NOTHROW'
 #  define XAPIAN_NOTHROW(D) D XAPIAN_NOEXCEPT __attribute__((__nothrow__))
                             ^
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:237:32: error: 'Xapian::docid' has not been declared
     virtual bool check(Xapian::docid did, double min_wt);
                                ^~~~~
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:34:0,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/document.h:30,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentvaluelist.h:26,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentvaluelist.cc:23:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:270:10: error: 'doccount' in namespace 'Xapian' does not name a type
  Xapian::doccount get_doccount() const;
          ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:273:10: error: 'docid' in namespace 'Xapian' does not name a type
  Xapian::docid get_lastdocid() const;
          ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:282:10: error: 'totallength' in namespace 'Xapian' does not name a type
  Xapian::totallength get_total_length() const;
          ^~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:285:10: error: 'doccount' in namespace 'Xapian' does not name a type
  Xapian::doccount get_termfreq(const std::string & tname) const;
          ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:306:10: error: 'termcount' in namespace 'Xapian' does not name a type
  Xapian::termcount get_collection_freq(const std::string & tname) const;
          ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:315:10: error: 'doccount' in namespace 'Xapian' does not name a type
  Xapian::doccount get_value_freq(Xapian::valueno slot) const;
          ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:339:10: error: 'termcount' in namespace 'Xapian' does not name a type
  Xapian::termcount get_doclength_lower_bound() const;
          ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:342:10: error: 'termcount' in namespace 'Xapian' does not name a type
  Xapian::termcount get_doclength_upper_bound() const;
          ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:345:10: error: 'termcount' in namespace 'Xapian' does not name a type
  Xapian::termcount get_wdf_upper_bound(const std::string & term) const;
          ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:356:10: error: 'termcount' in namespace 'Xapian' does not name a type
  Xapian::termcount get_doclength(Xapian::docid did) const;
          ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:359:10: error: 'termcount' in namespace 'Xapian' does not name a type
  Xapian::termcount get_unique_terms(Xapian::docid did) const;
          ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:382:40: error: 'Xapian::docid' has not been declared
  Xapian::Document get_document(Xapian::docid did) const;
                                        ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:401:40: error: 'Xapian::docid' has not been declared
  Xapian::Document get_document(Xapian::docid did, unsigned flags) const;
                                        ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:544:10: error: 'rev' in namespace 'Xapian' does not name a type
  Xapian::rev get_revision() const;
          ^~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:417:13: error: 'doccount' in namespace 'Xapian' does not name a type
     Xapian::doccount real_termfreq_min;
             ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:419:13: error: 'doccount' in namespace 'Xapian' does not name a type
     Xapian::doccount real_termfreq_est;
             ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:421:13: error: 'doccount' in namespace 'Xapian' does not name a type
     Xapian::doccount real_termfreq_max;
             ^~~~~~~~
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:40:0,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:30,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc:24:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:457:31: error: 'doccount' in namespace 'Xapian' does not name a type
     XAPIAN_DEPRECATED(Xapian::doccount& termfreq_min);
                               ^
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/deprecated.h:50:32: note: in definition of macro 'XAPIAN_DEPRECATED'
 #  define XAPIAN_DEPRECATED(D) D __attribute__((__deprecated__))
                                ^
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:466:31: error: 'doccount' in namespace 'Xapian' does not name a type
     XAPIAN_DEPRECATED(Xapian::doccount& termfreq_est);
                               ^
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/deprecated.h:50:32: note: in definition of macro 'XAPIAN_DEPRECATED'
 #  define XAPIAN_DEPRECATED(D) D __attribute__((__deprecated__))
                                ^
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:475:31: error: 'doccount' in namespace 'Xapian' does not name a type
     XAPIAN_DEPRECATED(Xapian::doccount& termfreq_max);
                               ^
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/deprecated.h:50:32: note: in definition of macro 'XAPIAN_DEPRECATED'
 #  define XAPIAN_DEPRECATED(D) D __attribute__((__deprecated__))
                                ^
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc:24:0:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:484:13: error: 'doccount' in namespace 'Xapian' does not name a type
     Xapian::doccount get_termfreq_min() const;
             ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:485:13: error: 'doccount' in namespace 'Xapian' does not name a type
     Xapian::doccount get_termfreq_est() const;
             ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:486:13: error: 'doccount' in namespace 'Xapian' does not name a type
     Xapian::doccount get_termfreq_max() const;
             ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:489:26: error: 'Xapian::docid' has not been declared
     void skip_to(Xapian::docid min_docid, double min_wt);
                          ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:490:24: error: 'Xapian::docid' has not been declared
     bool check(Xapian::docid min_docid, double min_wt);
                        ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:494:13: error: 'docid' in namespace 'Xapian' does not name a type
     Xapian::docid get_docid() const;
             ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:540:35: error: 'Xapian::doccount' has not been declared
     void set_termfreq_min(Xapian::doccount termfreq_min_) {
                                   ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:551:35: error: 'Xapian::doccount' has not been declared
     void set_termfreq_est(Xapian::doccount termfreq_est_) {
                                   ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:562:35: error: 'Xapian::doccount' has not been declared
     void set_termfreq_max(Xapian::doccount termfreq_max_) {
                                   ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h: In member function 'void Xapian::ValuePostingSource::set_termfreq_min(int)':
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:541:2: error: 'real_termfreq_min' was not declared in this scope
  real_termfreq_min = termfreq_min_;
  ^~~~~~~~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:1042:10: error: 'docid' in namespace 'Xapian' does not name a type
  Xapian::docid add_document(const Xapian::Document & document);
          ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:1065:31: error: 'Xapian::docid' has not been declared
  void delete_document(Xapian::docid did);
                               ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:1119:32: error: 'Xapian::docid' has not been declared
  void replace_document(Xapian::docid did,
                                ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:1155:10: error: 'docid' in namespace 'Xapian' does not name a type
  Xapian::docid replace_document(const std::string & unique_term,
          ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:1166:14: error: 'Xapian::termcount' has not been declared
      Xapian::termcount freqinc = 1) const;
              ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:1177:17: error: 'Xapian::termcount' has not been declared
         Xapian::termcount freqdec = 1) const;
                 ^~~~~~~~~
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:35:0,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/document.h:30,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentvaluelist.h:26,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentvaluelist.cc:23:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/document.h:161:13: error: 'Xapian::termpos' has not been declared
     Xapian::termpos tpos,
             ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/document.h:162:13: error: 'Xapian::termcount' has not been declared
     Xapian::termcount wdfinc = 1);
             ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/document.h:173:51: error: 'Xapian::termcount' has not been declared
  void add_term(const std::string & tname, Xapian::termcount wdfinc = 1);
                                                   ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/document.h:213:16: error: 'Xapian::termpos' has not been declared
        Xapian::termpos tpos,
                ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/document.h:214:16: error: 'Xapian::termcount' has not been declared
        Xapian::termcount wdfdec = 1);
                ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/document.h:234:10: error: 'termpos' in namespace 'Xapian' does not name a type
  Xapian::termpos remove_postings(const std::string& term,
          ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/document.h:254:10: error: 'termcount' in namespace 'Xapian' does not name a type
  Xapian::termcount termlist_count() const;
          ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/document.h:265:10: error: 'termcount' in namespace 'Xapian' does not name a type
  Xapian::termcount values_count() const;
          ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/document.h:286:2: error: 'docid' does not name a type; did you mean 'void'?
  docid get_docid() const;
  ^~~~~
  void
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:541:2: note: suggested alternative: 'set_termfreq_min'
  real_termfreq_min = termfreq_min_;
  ^~~~~~~~~~~~~~~~~
  set_termfreq_min
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/document.h:30:0,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentvaluelist.h:26,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentvaluelist.cc:23:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:117:18: error: 'doccount' in namespace 'Xapian' does not name a type
  virtual Xapian::doccount get_doccount() const = 0;
                  ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h: In member function 'void Xapian::ValuePostingSource::set_termfreq_est(int)':
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:552:2: error: 'real_termfreq_est' was not declared in this scope
  real_termfreq_est = termfreq_est_;
  ^~~~~~~~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:121:18: error: 'docid' in namespace 'Xapian' does not name a type
  virtual Xapian::docid get_lastdocid() const = 0;
                  ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:124:18: error: 'totallength' in namespace 'Xapian' does not name a type
  virtual Xapian::totallength get_total_length() const = 0;
                  ^~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:136:18: error: 'termcount' in namespace 'Xapian' does not name a type
  virtual Xapian::termcount get_doclength(Xapian::docid did) const = 0;
                  ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:143:18: error: 'termcount' in namespace 'Xapian' does not name a type
  virtual Xapian::termcount get_unique_terms(Xapian::docid did) const = 0;
                  ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:154:19: error: 'Xapian::doccount' has not been declared
           Xapian::doccount * termfreq_ptr,
                   ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:155:19: error: 'Xapian::termcount' has not been declared
           Xapian::termcount * collfreq_ptr) const = 0;
                   ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:167:18: error: 'doccount' in namespace 'Xapian' does not name a type
  virtual Xapian::doccount get_value_freq(Xapian::valueno slot) const = 0;
                  ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:188:18: error: 'termcount' in namespace 'Xapian' does not name a type
  virtual Xapian::termcount get_doclength_lower_bound() const;
                  ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:191:18: error: 'termcount' in namespace 'Xapian' does not name a type
  virtual Xapian::termcount get_doclength_upper_bound() const;
                  ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:194:18: error: 'termcount' in namespace 'Xapian' does not name a type
  virtual Xapian::termcount get_wdf_upper_bound(const std::string & term) const;
                  ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:247:44: error: 'open_term_list' declared as a 'virtual' field
  virtual TermList * open_term_list(Xapian::docid did) const = 0;
                                            ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:247:21: error: expected ';' at end of member declaration
  virtual TermList * open_term_list(Xapian::docid did) const = 0;
                     ^~~~~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:247:50: error: expected ')' before 'did'
  virtual TermList * open_term_list(Xapian::docid did) const = 0;
                                                  ^~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:271:52: error: 'open_position_list' declared as a 'virtual' field
  virtual PositionList * open_position_list(Xapian::docid did,
                                                    ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:271:25: error: expected ';' at end of member declaration
  virtual PositionList * open_position_list(Xapian::docid did,
                         ^~~~~~~~~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:271:58: error: expected ')' before 'did'
  virtual PositionList * open_position_list(Xapian::docid did,
                                                          ^~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:290:24: error: 'open_document' declared as a 'virtual' field
  open_document(Xapian::docid did, bool lazy) const = 0;
                        ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:290:2: error: expected ';' at end of member declaration
  open_document(Xapian::docid did, bool lazy) const = 0;
  ^~~~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:290:30: error: expected ')' before 'did'
  open_document(Xapian::docid did, bool lazy) const = 0;
                              ^~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:308:18: error: 'doccount' in namespace 'Xapian' does not name a type
  virtual Xapian::doccount get_spelling_frequency(const string & word) const;
                  ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/types.h:90:9: error: 'XAPIAN_TERMPOS_BASE_TYPE' does not name a type
 typedef XAPIAN_TERMPOS_BASE_TYPE termpos_diff; /* FIXME: can overflow. */
         ^~~~~~~~~~~~~~~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:318:15: error: 'Xapian::termcount' has not been declared
       Xapian::termcount freqinc) const;
               ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:329:18: error: 'Xapian::termcount' has not been declared
          Xapian::termcount freqdec) const;
                  ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:431:18: error: 'docid' in namespace 'Xapian' does not name a type
  virtual Xapian::docid add_document(const Xapian::Document & document);
                  ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:437:39: error: 'Xapian::docid' has not been declared
  virtual void delete_document(Xapian::docid did);
                                       ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:449:40: error: 'Xapian::docid' has not been declared
  virtual void replace_document(Xapian::docid did,
                                        ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:456:18: error: 'docid' in namespace 'Xapian' does not name a type
  virtual Xapian::docid replace_document(const string & unique_term,
                  ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:469:40: error: 'Xapian::docid' has not been declared
  virtual void request_document(Xapian::docid /*did*/) const;
                                        ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:471:64: error: 'collect_document' declared as a 'virtual' field
  virtual Xapian::Document::Internal * collect_document(Xapian::docid did) const;
                                                                ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:471:39: error: expected ';' at end of member declaration
  virtual Xapian::Document::Internal * collect_document(Xapian::docid did) const;
                                       ^~~~~~~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:471:70: error: expected ')' before 'did'
  virtual Xapian::Document::Internal * collect_document(Xapian::docid did) const;
                                                                      ^~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:524:44: error: 'Xapian::docid' has not been declared
  virtual void get_used_docid_range(Xapian::docid & first,
                                            ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:525:16: error: 'Xapian::docid' has not been declared
        Xapian::docid & last) const;
                ^~~~~
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/document.h:31:0,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentvaluelist.h:26,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentvaluelist.cc:23:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentterm.h:43:47: error: expected ')' before 'wdf_'
     explicit OmDocumentTerm(Xapian::termcount wdf_)
                                               ^~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentterm.h:52:13: error: 'termcount' in namespace 'Xapian' does not name a type
     Xapian::termcount wdf;
             ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentterm.h:76:28: error: 'termpos' is not a member of 'Xapian'
     typedef vector<Xapian::termpos> term_positions;
                            ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentterm.h:76:28: error: 'termpos' is not a member of 'Xapian'
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentterm.h:76:35: error: template argument 1 is invalid
     typedef vector<Xapian::termpos> term_positions;
                                   ^
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentterm.h:76:35: error: template argument 2 is invalid
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentterm.h:100:13: error: 'termcount' in namespace 'Xapian' does not name a type
     Xapian::termcount positionlist_count() const {
             ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentterm.h:118:31: error: 'Xapian::termcount' has not been declared
     bool add_position(Xapian::termcount wdf_inc, Xapian::termpos termpos);
                               ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentterm.h:118:58: error: 'Xapian::termpos' has not been declared
     bool add_position(Xapian::termcount wdf_inc, Xapian::termpos termpos);
                                                          ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentterm.h:124:34: error: 'Xapian::termpos' has not been declared
     void append_position(Xapian::termpos termpos) {
                                  ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentterm.h:137:34: error: 'Xapian::termpos' has not been declared
     void remove_position(Xapian::termpos tpos);
                                  ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentterm.h:148:13: error: 'termpos' in namespace 'Xapian' does not name a type
     Xapian::termpos remove_positions(Xapian::termpos termpos_first,
             ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentterm.h:155:31: error: 'Xapian::termcount' has not been declared
     bool increase_wdf(Xapian::termcount delta) {
                               ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentterm.h:166:31: error: 'Xapian::termcount' has not been declared
     void decrease_wdf(Xapian::termcount delta) {
                               ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentterm.h:176:13: error: 'termcount' in namespace 'Xapian' does not name a type
     Xapian::termcount get_wdf() const { return wdf; }
             ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentterm.h: In member function 'void OmDocumentTerm::remove()':
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentterm.h:105:12: error: request for member 'clear' in '((OmDocumentTerm*)this)->OmDocumentTerm::positions', which is of non-class type 'OmDocumentTerm::term_positions {aka int}'
  positions.clear();
            ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentterm.h: In member function 'void OmDocumentTerm::append_position(int)':
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentterm.h:125:12: error: request for member 'push_back' in '((OmDocumentTerm*)this)->OmDocumentTerm::positions', which is of non-class type 'OmDocumentTerm::term_positions {aka int}'
  positions.push_back(termpos);
            ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentterm.h: In member function 'bool OmDocumentTerm::increase_wdf(int)':
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentterm.h:158:6: error: 'wdf' was not declared in this scope
      wdf = delta;
      ^~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:552:2: note: suggested alternative: 'set_termfreq_est'
  real_termfreq_est = termfreq_est_;
  ^~~~~~~~~~~~~~~~~
  set_termfreq_est
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentterm.h:161:2: error: 'wdf' was not declared in this scope
  wdf  = delta;
  ^~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h: In member function 'void Xapian::ValuePostingSource::set_termfreq_max(int)':
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:563:2: error: 'real_termfreq_max' was not declared in this scope
  real_termfreq_max = termfreq_max_;
  ^~~~~~~~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentterm.h: In member function 'void OmDocumentTerm::decrease_wdf(int)':
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentterm.h:168:6: error: 'wdf' was not declared in this scope
  if (wdf >= delta) {
      ^~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentterm.h: In member function 'bool OmDocumentTerm::is_deleted() const':
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentterm.h:183:48: error: request for member 'empty' in '((const OmDocumentTerm*)this)->OmDocumentTerm::positions', which is of non-class type 'OmDocumentTerm::term_positions {aka int}'
     bool is_deleted() const { return positions.empty() && split > 0; }
                                                ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:563:2: note: suggested alternative: 'set_termfreq_max'
  real_termfreq_max = termfreq_max_;
  ^~~~~~~~~~~~~~~~~
  set_termfreq_max
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h: At global scope:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:632:13: error: 'docid' in namespace 'Xapian' does not name a type
     Xapian::docid range_start;
             ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:638:13: error: 'docid' in namespace 'Xapian' does not name a type
     Xapian::docid range_end;
             ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:659:20: error: 'Xapian::docid' has not been declared
            Xapian::docid range_start_ = 0,
                    ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:660:20: error: 'Xapian::docid' has not been declared
            Xapian::docid range_end_ = 0);
                    ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:670:26: error: 'Xapian::docid' has not been declared
     void skip_to(Xapian::docid min_docid, double min_wt);
                          ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:671:24: error: 'Xapian::docid' has not been declared
     bool check(Xapian::docid min_docid, double min_wt);
                        ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/types.h:133:9: error: 'XAPIAN_REVISION_TYPE' does not name a type
 typedef XAPIAN_REVISION_TYPE rev;
         ^~~~~~~~~~~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:740:13: error: 'doccount' in namespace 'Xapian' does not name a type
     Xapian::doccount termfreq;
             ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:749:13: error: 'docid' in namespace 'Xapian' does not name a type
     Xapian::docid check_docid;
             ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:758:13: error: 'doccount' in namespace 'Xapian' does not name a type
     Xapian::doccount get_termfreq_min() const;
             ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:759:13: error: 'doccount' in namespace 'Xapian' does not name a type
     Xapian::doccount get_termfreq_est() const;
             ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:760:13: error: 'doccount' in namespace 'Xapian' does not name a type
     Xapian::doccount get_termfreq_max() const;
             ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:765:26: error: 'Xapian::docid' has not been declared
     void skip_to(Xapian::docid min_docid, double min_wt);
                          ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:766:24: error: 'Xapian::docid' has not been declared
     bool check(Xapian::docid min_docid, double min_wt);
                        ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingsource.h:770:13: error: 'docid' in namespace 'Xapian' does not name a type
     Xapian::docid get_docid() const;
             ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/types.h:139:9: error: 'XAPIAN_TOTALLENGTH_TYPE' does not name a type
 typedef XAPIAN_TOTALLENGTH_TYPE totallength;
         ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:43:0,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:34,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:41:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/positioniterator.h:90:13: error: 'termpos' in namespace 'Xapian' does not name a type
     Xapian::termpos operator*() const;
             ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/positioniterator.h:96:27: error: 'termpos' is not a member of 'Xapian'
     DerefWrapper_<Xapian::termpos> operator  (int) {
                           ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/positioniterator.h:96:27: error: 'termpos' is not a member of 'Xapian'
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/positioniterator.h:96:34: error: template argument 1 is invalid
     DerefWrapper_<Xapian::termpos> operator  (int) {
                                  ^
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/positioniterator.h:108:26: error: 'Xapian::termpos' has not been declared
     void skip_to(Xapian::termpos termpos);
                          ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/positioniterator.h:127:21: error: 'termpos' in namespace 'Xapian' does not name a type
     typedef Xapian::termpos value_type;
                     ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/positioniterator.h:129:21: error: 'termpos_diff' in namespace 'Xapian' does not name a type
     typedef Xapian::termpos_diff difference_type;
                     ^~~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/positioniterator.h:131:21: error: 'termpos' in namespace 'Xapian' does not name a type
     typedef Xapian::termpos * pointer;
                     ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/positioniterator.h:133:21: error: 'termpos' in namespace 'Xapian' does not name a type
     typedef Xapian::termpos & reference;
                     ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/positioniterator.h: In member function 'int Xapian::PositionIterator::operator  (int)':
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/positioniterator.h:97:10: error: 'termpos' is not a member of 'Xapian'
  Xapian::termpos pos(**this);
          ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/positioniterator.h:99:31: error: 'termpos' is not a member of 'Xapian'
  return DerefWrapper_<Xapian::termpos>(pos);
                               ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/positioniterator.h:99:31: error: 'termpos' is not a member of 'Xapian'
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/positioniterator.h:99:38: error: template argument 1 is invalid
  return DerefWrapper_<Xapian::termpos>(pos);
                                      ^
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/positioniterator.h:99:40: error: 'pos' was not declared in this scope
  return DerefWrapper_<Xapian::termpos>(pos);
                                        ^~~
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:44:0,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:34,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:41:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h: At global scope:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:89:13: error: 'docid' in namespace 'Xapian' does not name a type
     Xapian::docid operator*() const;
             ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:92:13: error: 'termcount' in namespace 'Xapian' does not name a type
     Xapian::termcount get_wdf() const;
             ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:95:13: error: 'termcount' in namespace 'Xapian' does not name a type
     Xapian::termcount get_doclength() const;
             ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:98:13: error: 'termcount' in namespace 'Xapian' does not name a type
     Xapian::termcount get_unique_terms() const;
             ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:117:27: error: 'docid' is not a member of 'Xapian'
     DerefWrapper_<Xapian::docid> operator  (int) {
                           ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:117:27: error: 'docid' is not a member of 'Xapian'
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:117:32: error: template argument 1 is invalid
     DerefWrapper_<Xapian::docid> operator  (int) {
                                ^
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:129:26: error: 'Xapian::docid' has not been declared
     void skip_to(Xapian::docid did);
                          ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:148:21: error: 'docid' in namespace 'Xapian' does not name a type
     typedef Xapian::docid value_type;
                     ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:150:21: error: 'doccount_diff' in namespace 'Xapian' does not name a type
     typedef Xapian::doccount_diff difference_type;
                     ^~~~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:152:21: error: 'docid' in namespace 'Xapian' does not name a type
     typedef Xapian::docid * pointer;
                     ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:154:21: error: 'docid' in namespace 'Xapian' does not name a type
     typedef Xapian::docid & reference;
                     ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h: In member function 'int Xapian::PostingIterator::operator  (int)':
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:118:10: error: 'docid' is not a member of 'Xapian'
  Xapian::docid did(**this);
          ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:120:31: error: 'docid' is not a member of 'Xapian'
  return DerefWrapper_<Xapian::docid>(did);
                               ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:120:31: error: 'docid' is not a member of 'Xapian'
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:120:36: error: template argument 1 is invalid
  return DerefWrapper_<Xapian::docid>(did);
                                    ^
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:120:38: error: 'did' was not declared in this scope
  return DerefWrapper_<Xapian::docid>(did);
                                      ^~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/postingiterator.h:120:38: note: suggested alternative: 'div'
  return DerefWrapper_<Xapian::docid>(did);
                                      ^~~
                                      div
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:45:0,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:34,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:41:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/termiterator.h: At global scope:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/termiterator.h:92:13: error: 'termcount' in namespace 'Xapian' does not name a type
     Xapian::termcount get_wdf() const;
             ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/termiterator.h:95:13: error: 'doccount' in namespace 'Xapian' does not name a type
     Xapian::doccount get_termfreq() const;
             ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/termiterator.h:98:13: error: 'termcount' in namespace 'Xapian' does not name a type
     Xapian::termcount positionlist_count() const;
             ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/termiterator.h:148:21: error: 'termcount_diff' in namespace 'Xapian' does not name a type
     typedef Xapian::termcount_diff difference_type;
                     ^~~~~~~~~~~~~~
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:46:0,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:34,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:41:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/valueiterator.h:107:13: error: 'docid' in namespace 'Xapian' does not name a type
     Xapian::docid get_docid() const;
             ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/valueiterator.h:135:26: error: 'Xapian::docid' has not been declared
     void skip_to(Xapian::docid docid_or_slot);
                          ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/valueiterator.h:162:24: error: 'Xapian::docid' has not been declared
     bool check(Xapian::docid docid);
                        ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/valueiterator.h:195:21: error: 'doccount_diff' in namespace 'Xapian' does not name a type
     typedef Xapian::doccount_diff difference_type;
                     ^~~~~~~~~~~~~
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:34:0,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:41:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:234:38: error: 'Xapian::docid' has not been declared
  TermIterator termlist_begin(Xapian::docid did) const;
                                      ^~~~~
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:39:0,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:34,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:41:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:238:51: error: 'Xapian::docid' has not been declared
  TermIterator XAPIAN_NOTHROW(termlist_end(Xapian::docid) const) {
                                                   ^
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/attributes.h:50:29: note: in definition of macro 'XAPIAN_NOTHROW'
 #  define XAPIAN_NOTHROW(D) D XAPIAN_NOEXCEPT __attribute__((__nothrow__))
                             ^
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:34:0,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:41:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:248:46: error: 'Xapian::docid' has not been declared
  PositionIterator positionlist_begin(Xapian::docid did, const std::string &tname) const;
                                              ^~~~~
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:39:0,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:34,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:41:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:252:59: error: 'Xapian::docid' has not been declared
  PositionIterator XAPIAN_NOTHROW(positionlist_end(Xapian::docid, const std::string &) const) {
                                                           ^
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/attributes.h:50:29: note: in definition of macro 'XAPIAN_NOTHROW'
 #  define XAPIAN_NOTHROW(D) D XAPIAN_NOEXCEPT __attribute__((__nothrow__))
                             ^
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:34:0,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:41:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:270:10: error: 'doccount' in namespace 'Xapian' does not name a type
  Xapian::doccount get_doccount() const;
          ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:273:10: error: 'docid' in namespace 'Xapian' does not name a type
  Xapian::docid get_lastdocid() const;
          ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:282:10: error: 'totallength' in namespace 'Xapian' does not name a type
  Xapian::totallength get_total_length() const;
          ^~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:285:10: error: 'doccount' in namespace 'Xapian' does not name a type
  Xapian::doccount get_termfreq(const std::string & tname) const;
          ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:306:10: error: 'termcount' in namespace 'Xapian' does not name a type
  Xapian::termcount get_collection_freq(const std::string & tname) const;
          ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:315:10: error: 'doccount' in namespace 'Xapian' does not name a type
  Xapian::doccount get_value_freq(Xapian::valueno slot) const;
          ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:339:10: error: 'termcount' in namespace 'Xapian' does not name a type
  Xapian::termcount get_doclength_lower_bound() const;
          ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:342:10: error: 'termcount' in namespace 'Xapian' does not name a type
  Xapian::termcount get_doclength_upper_bound() const;
          ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:345:10: error: 'termcount' in namespace 'Xapian' does not name a type
  Xapian::termcount get_wdf_upper_bound(const std::string & term) const;
          ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:356:10: error: 'termcount' in namespace 'Xapian' does not name a type
  Xapian::termcount get_doclength(Xapian::docid did) const;
          ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:359:10: error: 'termcount' in namespace 'Xapian' does not name a type
  Xapian::termcount get_unique_terms(Xapian::docid did) const;
          ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:382:40: error: 'Xapian::docid' has not been declared
  Xapian::Document get_document(Xapian::docid did) const;
                                        ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:401:40: error: 'Xapian::docid' has not been declared
  Xapian::Document get_document(Xapian::docid did, unsigned flags) const;
                                        ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:544:10: error: 'rev' in namespace 'Xapian' does not name a type
  Xapian::rev get_revision() const;
          ^~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:1042:10: error: 'docid' in namespace 'Xapian' does not name a type
  Xapian::docid add_document(const Xapian::Document & document);
          ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:1065:31: error: 'Xapian::docid' has not been declared
  void delete_document(Xapian::docid did);
                               ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:1119:32: error: 'Xapian::docid' has not been declared
  void replace_document(Xapian::docid did,
                                ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:1155:10: error: 'docid' in namespace 'Xapian' does not name a type
  Xapian::docid replace_document(const std::string & unique_term,
          ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:1166:14: error: 'Xapian::termcount' has not been declared
      Xapian::termcount freqinc = 1) const;
              ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/database.h:1177:17: error: 'Xapian::termcount' has not been declared
         Xapian::termcount freqdec = 1) const;
                 ^~~~~~~~~
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:35:0,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:41:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/document.h:161:13: error: 'Xapian::termpos' has not been declared
     Xapian::termpos tpos,
             ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/document.h:162:13: error: 'Xapian::termcount' has not been declared
     Xapian::termcount wdfinc = 1);
             ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/document.h:173:51: error: 'Xapian::termcount' has not been declared
  void add_term(const std::string & tname, Xapian::termcount wdfinc = 1);
                                                   ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/document.h:213:16: error: 'Xapian::termpos' has not been declared
        Xapian::termpos tpos,
                ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/document.h:214:16: error: 'Xapian::termcount' has not been declared
        Xapian::termcount wdfdec = 1);
                ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/document.h:234:10: error: 'termpos' in namespace 'Xapian' does not name a type
  Xapian::termpos remove_postings(const std::string& term,
          ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/document.h:254:10: error: 'termcount' in namespace 'Xapian' does not name a type
  Xapian::termcount termlist_count() const;
          ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/document.h:265:10: error: 'termcount' in namespace 'Xapian' does not name a type
  Xapian::termcount values_count() const;
          ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/document.h:286:2: error: 'docid' does not name a type; did you mean 'void'?
  docid get_docid() const;
  ^~~~~
  void
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:41:0:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:117:18: error: 'doccount' in namespace 'Xapian' does not name a type
  virtual Xapian::doccount get_doccount() const = 0;
                  ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:121:18: error: 'docid' in namespace 'Xapian' does not name a type
  virtual Xapian::docid get_lastdocid() const = 0;
                  ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:124:18: error: 'totallength' in namespace 'Xapian' does not name a type
  virtual Xapian::totallength get_total_length() const = 0;
                  ^~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:136:18: error: 'termcount' in namespace 'Xapian' does not name a type
  virtual Xapian::termcount get_doclength(Xapian::docid did) const = 0;
                  ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:143:18: error: 'termcount' in namespace 'Xapian' does not name a type
  virtual Xapian::termcount get_unique_terms(Xapian::docid did) const = 0;
                  ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:154:19: error: 'Xapian::doccount' has not been declared
           Xapian::doccount * termfreq_ptr,
                   ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:155:19: error: 'Xapian::termcount' has not been declared
           Xapian::termcount * collfreq_ptr) const = 0;
                   ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:167:18: error: 'doccount' in namespace 'Xapian' does not name a type
  virtual Xapian::doccount get_value_freq(Xapian::valueno slot) const = 0;
                  ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:188:18: error: 'termcount' in namespace 'Xapian' does not name a type
  virtual Xapian::termcount get_doclength_lower_bound() const;
                  ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:191:18: error: 'termcount' in namespace 'Xapian' does not name a type
  virtual Xapian::termcount get_doclength_upper_bound() const;
                  ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:194:18: error: 'termcount' in namespace 'Xapian' does not name a type
  virtual Xapian::termcount get_wdf_upper_bound(const std::string & term) const;
                  ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:247:44: error: 'open_term_list' declared as a 'virtual' field
  virtual TermList * open_term_list(Xapian::docid did) const = 0;
                                            ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:247:21: error: expected ';' at end of member declaration
  virtual TermList * open_term_list(Xapian::docid did) const = 0;
                     ^~~~~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:247:50: error: expected ')' before 'did'
  virtual TermList * open_term_list(Xapian::docid did) const = 0;
                                                  ^~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:271:52: error: 'open_position_list' declared as a 'virtual' field
  virtual PositionList * open_position_list(Xapian::docid did,
                                                    ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:271:25: error: expected ';' at end of member declaration
  virtual PositionList * open_position_list(Xapian::docid did,
                         ^~~~~~~~~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:271:58: error: expected ')' before 'did'
  virtual PositionList * open_position_list(Xapian::docid did,
                                                          ^~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:290:24: error: 'open_document' declared as a 'virtual' field
  open_document(Xapian::docid did, bool lazy) const = 0;
                        ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:290:2: error: expected ';' at end of member declaration
  open_document(Xapian::docid did, bool lazy) const = 0;
  ^~~~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:290:30: error: expected ')' before 'did'
  open_document(Xapian::docid did, bool lazy) const = 0;
                              ^~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:308:18: error: 'doccount' in namespace 'Xapian' does not name a type
  virtual Xapian::doccount get_spelling_frequency(const string & word) const;
                  ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:318:15: error: 'Xapian::termcount' has not been declared
       Xapian::termcount freqinc) const;
               ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:329:18: error: 'Xapian::termcount' has not been declared
          Xapian::termcount freqdec) const;
                  ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:431:18: error: 'docid' in namespace 'Xapian' does not name a type
  virtual Xapian::docid add_document(const Xapian::Document & document);
                  ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:437:39: error: 'Xapian::docid' has not been declared
  virtual void delete_document(Xapian::docid did);
                                       ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:449:40: error: 'Xapian::docid' has not been declared
  virtual void replace_document(Xapian::docid did,
                                        ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:456:18: error: 'docid' in namespace 'Xapian' does not name a type
  virtual Xapian::docid replace_document(const string & unique_term,
                  ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:469:40: error: 'Xapian::docid' has not been declared
  virtual void request_document(Xapian::docid /*did*/) const;
                                        ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:471:64: error: 'collect_document' declared as a 'virtual' field
  virtual Xapian::Document::Internal * collect_document(Xapian::docid did) const;
                                                                ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:471:39: error: expected ';' at end of member declaration
  virtual Xapian::Document::Internal * collect_document(Xapian::docid did) const;
                                       ^~~~~~~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:471:70: error: expected ')' before 'did'
  virtual Xapian::Document::Internal * collect_document(Xapian::docid did) const;
                                                                      ^~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:524:44: error: 'Xapian::docid' has not been declared
  virtual void get_used_docid_range(Xapian::docid & first,
                                            ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/database.h:525:16: error: 'Xapian::docid' has not been declared
        Xapian::docid & last) const;
                ^~~~~
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/postlist.h:31:0,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/leafpostlist.h:25,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:43:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/positionlist.h:50:21: error: 'termcount' in namespace 'Xapian' does not name a type
     virtual Xapian::termcount get_approx_size() const = 0;
                     ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/positionlist.h:53:21: error: 'termpos' in namespace 'Xapian' does not name a type
     virtual Xapian::termpos get_position() const = 0;
                     ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/positionlist.h:73:34: error: 'Xapian::termpos' has not been declared
     virtual bool skip_to(Xapian::termpos termpos) = 0;
                                  ^~~~~~~
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/weight/weightinternal.h:25:0,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/postlist.h:32,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/leafpostlist.h:25,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:43:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:106:13: error: 'doccount' in namespace 'Xapian' does not name a type
     Xapian::doccount collection_size_;
             ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:109:13: error: 'doccount' in namespace 'Xapian' does not name a type
     Xapian::doccount rset_size_;
             ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:115:13: error: 'doccount' in namespace 'Xapian' does not name a type
     Xapian::doccount termfreq_;
             ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:118:13: error: 'termcount' in namespace 'Xapian' does not name a type
     Xapian::termcount collectionfreq_;
             ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:121:13: error: 'doccount' in namespace 'Xapian' does not name a type
     Xapian::doccount reltermfreq_;
             ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:124:13: error: 'termcount' in namespace 'Xapian' does not name a type
     Xapian::termcount query_length_;
             ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:127:13: error: 'termcount' in namespace 'Xapian' does not name a type
     Xapian::termcount wqf_;
             ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:130:13: error: 'termcount' in namespace 'Xapian' does not name a type
     Xapian::termcount doclength_lower_bound_;
             ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:133:13: error: 'termcount' in namespace 'Xapian' does not name a type
     Xapian::termcount doclength_upper_bound_;
             ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:136:13: error: 'termcount' in namespace 'Xapian' does not name a type
     Xapian::termcount wdf_upper_bound_;
             ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:229:40: error: 'Xapian::termcount' has not been declared
     virtual double get_sumpart(Xapian::termcount wdf,
                                        ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:230:19: error: 'Xapian::termcount' has not been declared
           Xapian::termcount doclen,
                   ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:231:19: error: 'Xapian::termcount' has not been declared
           Xapian::termcount uniqterms) const = 0;
                   ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:248:41: error: 'Xapian::termcount' has not been declared
     virtual double get_sumextra(Xapian::termcount doclen,
                                         ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:249:13: error: 'Xapian::termcount' has not been declared
     Xapian::termcount uniqterms) const = 0;
             ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:268:48: error: 'Xapian::termcount' has not been declared
     void init_(const Internal & stats, Xapian::termcount query_len_,
                                                ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:269:43: error: 'Xapian::termcount' has not been declared
         const std::string & term, Xapian::termcount wqf_,
                                           ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:282:48: error: 'Xapian::termcount' has not been declared
     void init_(const Internal & stats, Xapian::termcount query_len_,
                                                ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:283:32: error: 'Xapian::doccount' has not been declared
         double factor, Xapian::doccount termfreq,
                                ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:284:17: error: 'Xapian::doccount' has not been declared
         Xapian::doccount reltermfreq, Xapian::termcount collection_freq);
                 ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:284:47: error: 'Xapian::termcount' has not been declared
         Xapian::doccount reltermfreq, Xapian::termcount collection_freq);
                                               ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:292:48: error: 'Xapian::termcount' has not been declared
     void init_(const Internal & stats, Xapian::termcount query_len_);
                                                ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:341:13: error: 'doccount' in namespace 'Xapian' does not name a type
     Xapian::doccount get_collection_size() const { return collection_size_; }
             ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:344:13: error: 'doccount' in namespace 'Xapian' does not name a type
     Xapian::doccount get_rset_size() const { return rset_size_; }
             ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:350:13: error: 'doccount' in namespace 'Xapian' does not name a type
     Xapian::doccount get_termfreq() const { return termfreq_; }
             ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:353:13: error: 'doccount' in namespace 'Xapian' does not name a type
     Xapian::doccount get_reltermfreq() const { return reltermfreq_; }
             ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:356:13: error: 'termcount' in namespace 'Xapian' does not name a type
     Xapian::termcount get_collection_freq() const { return collectionfreq_; }
             ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:359:13: error: 'termcount' in namespace 'Xapian' does not name a type
     Xapian::termcount get_query_length() const { return query_length_; }
             ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:362:13: error: 'termcount' in namespace 'Xapian' does not name a type
     Xapian::termcount get_wqf() const { return wqf_; }
             ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:368:13: error: 'termcount' in namespace 'Xapian' does not name a type
     Xapian::termcount get_doclength_upper_bound() const {
             ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:378:13: error: 'termcount' in namespace 'Xapian' does not name a type
     Xapian::termcount get_doclength_lower_bound() const {
             ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:386:13: error: 'termcount' in namespace 'Xapian' does not name a type
     Xapian::termcount get_wdf_upper_bound() const {
             ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:391:13: error: 'totallength' in namespace 'Xapian' does not name a type
     Xapian::totallength get_total_length() const {
             ^~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:414:32: error: 'Xapian::termcount' has not been declared
     double get_sumpart(Xapian::termcount wdf,
                                ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:415:18: error: 'Xapian::termcount' has not been declared
          Xapian::termcount doclen,
                  ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:416:18: error: 'Xapian::termcount' has not been declared
          Xapian::termcount uniqterms) const;
                  ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:419:33: error: 'Xapian::termcount' has not been declared
     double get_sumextra(Xapian::termcount doclen,
                                 ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:420:12: error: 'Xapian::termcount' has not been declared
    Xapian::termcount uniqterms) const;
            ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:439:29: error: 'Xapian::termcount' has not been declared
     double get_wdfn(Xapian::termcount wdf, char c) const;
                             ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:440:29: error: 'Xapian::doccount' has not been declared
     double get_idfn(Xapian::doccount termfreq, char c) const;
                             ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:501:32: error: 'Xapian::termcount' has not been declared
     double get_sumpart(Xapian::termcount wdf,
                                ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:502:18: error: 'Xapian::termcount' has not been declared
          Xapian::termcount doclen,
                  ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:503:18: error: 'Xapian::termcount' has not been declared
          Xapian::termcount uniqterm) const;
                  ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:506:33: error: 'Xapian::termcount' has not been declared
     double get_sumextra(Xapian::termcount doclen,
                                 ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:507:12: error: 'Xapian::termcount' has not been declared
    Xapian::termcount uniqterms) const;
            ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:606:32: error: 'Xapian::termcount' has not been declared
     double get_sumpart(Xapian::termcount wdf,
                                ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:607:18: error: 'Xapian::termcount' has not been declared
          Xapian::termcount doclen,
                  ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:608:18: error: 'Xapian::termcount' has not been declared
          Xapian::termcount uniqterm) const;
                  ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:611:33: error: 'Xapian::termcount' has not been declared
     double get_sumextra(Xapian::termcount doclen,
                                 ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:612:12: error: 'Xapian::termcount' has not been declared
    Xapian::termcount uniqterms) const;
            ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:727:32: error: 'Xapian::termcount' has not been declared
     double get_sumpart(Xapian::termcount wdf,
                                ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:728:18: error: 'Xapian::termcount' has not been declared
          Xapian::termcount doclen,
                  ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:729:18: error: 'Xapian::termcount' has not been declared
          Xapian::termcount uniqterm) const;
                  ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:732:33: error: 'Xapian::termcount' has not been declared
     double get_sumextra(Xapian::termcount doclen,
                                 ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:733:12: error: 'Xapian::termcount' has not been declared
    Xapian::termcount uniqterms) const;
            ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:788:32: error: 'Xapian::termcount' has not been declared
     double get_sumpart(Xapian::termcount wdf,
                                ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:789:18: error: 'Xapian::termcount' has not been declared
          Xapian::termcount doclen,
                  ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:790:18: error: 'Xapian::termcount' has not been declared
          Xapian::termcount uniqueterms) const;
                  ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:793:33: error: 'Xapian::termcount' has not been declared
     double get_sumextra(Xapian::termcount doclen,
                                 ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:794:12: error: 'Xapian::termcount' has not been declared
    Xapian::termcount uniqterms) const;
            ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:861:32: error: 'Xapian::termcount' has not been declared
     double get_sumpart(Xapian::termcount wdf,
                                ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:862:18: error: 'Xapian::termcount' has not been declared
          Xapian::termcount doclen,
                  ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:863:18: error: 'Xapian::termcount' has not been declared
          Xapian::termcount uniqterms) const;
                  ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:866:33: error: 'Xapian::termcount' has not been declared
     double get_sumextra(Xapian::termcount doclen,
                                 ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:867:12: error: 'Xapian::termcount' has not been declared
    Xapian::termcount uniqterms) const;
            ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:934:32: error: 'Xapian::termcount' has not been declared
     double get_sumpart(Xapian::termcount wdf,
                                ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:935:18: error: 'Xapian::termcount' has not been declared
          Xapian::termcount doclen,
                  ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:936:18: error: 'Xapian::termcount' has not been declared
          Xapian::termcount uniqterm) const;
                  ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:939:33: error: 'Xapian::termcount' has not been declared
     double get_sumextra(Xapian::termcount doclen,
                                 ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:940:12: error: 'Xapian::termcount' has not been declared
    Xapian::termcount uniqterms) const;
            ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:1005:32: error: 'Xapian::termcount' has not been declared
     double get_sumpart(Xapian::termcount wdf,
                                ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:1006:18: error: 'Xapian::termcount' has not been declared
          Xapian::termcount doclen,
                  ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:1007:18: error: 'Xapian::termcount' has not been declared
          Xapian::termcount uniqterms) const;
                  ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:1010:33: error: 'Xapian::termcount' has not been declared
     double get_sumextra(Xapian::termcount doclen,
                                 ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:1011:12: error: 'Xapian::termcount' has not been declared
    Xapian::termcount uniqterms) const;
            ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:1081:32: error: 'Xapian::termcount' has not been declared
     double get_sumpart(Xapian::termcount wdf,
                                ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:1082:18: error: 'Xapian::termcount' has not been declared
          Xapian::termcount doclen,
                  ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:1083:18: error: 'Xapian::termcount' has not been declared
          Xapian::termcount uniqterms) const;
                  ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:1086:33: error: 'Xapian::termcount' has not been declared
     double get_sumextra(Xapian::termcount doclen,
                                 ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:1087:12: error: 'Xapian::termcount' has not been declared
    Xapian::termcount uniqterms) const;
            ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:1140:32: error: 'Xapian::termcount' has not been declared
     double get_sumpart(Xapian::termcount wdf,
                                ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:1141:18: error: 'Xapian::termcount' has not been declared
          Xapian::termcount doclen,
                  ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:1142:18: error: 'Xapian::termcount' has not been declared
          Xapian::termcount uniqterms) const;
                  ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:1145:33: error: 'Xapian::termcount' has not been declared
     double get_sumextra(Xapian::termcount doclen,
                                 ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:1146:12: error: 'Xapian::termcount' has not been declared
    Xapian::termcount uniqterms) const;
            ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:1224:32: error: 'Xapian::termcount' has not been declared
     double get_sumpart(Xapian::termcount wdf,
                                ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:1225:18: error: 'Xapian::termcount' has not been declared
          Xapian::termcount doclen,
                  ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:1226:18: error: 'Xapian::termcount' has not been declared
          Xapian::termcount uniqterms) const;
                  ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:1229:33: error: 'Xapian::termcount' has not been declared
     double get_sumextra(Xapian::termcount doclen,
                                 ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:1230:12: error: 'Xapian::termcount' has not been declared
    Xapian::termcount uniqterms) const;
            ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:1302:32: error: 'Xapian::termcount' has not been declared
     double get_sumpart(Xapian::termcount wdf,
                                ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:1303:18: error: 'Xapian::termcount' has not been declared
          Xapian::termcount doclen,
                  ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:1304:18: error: 'Xapian::termcount' has not been declared
          Xapian::termcount uniqterms) const;
                  ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:1307:33: error: 'Xapian::termcount' has not been declared
     double get_sumextra(Xapian::termcount doclen,
                                 ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:1308:12: error: 'Xapian::termcount' has not been declared
    Xapian::termcount uniqterms) const;
            ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:1364:32: error: 'Xapian::termcount' has not been declared
     double get_sumpart(Xapian::termcount wdf,
                                ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:1365:18: error: 'Xapian::termcount' has not been declared
          Xapian::termcount doclen,
                  ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:1366:18: error: 'Xapian::termcount' has not been declared
          Xapian::termcount uniqterms) const;
                  ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:1369:33: error: 'Xapian::termcount' has not been declared
     double get_sumextra(Xapian::termcount doclen,
                                 ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:1370:12: error: 'Xapian::termcount' has not been declared
    Xapian::termcount uniqterms) const;
            ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:1473:32: error: 'Xapian::termcount' has not been declared
     double get_sumpart(Xapian::termcount wdf,
                                ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:1474:18: error: 'Xapian::termcount' has not been declared
          Xapian::termcount doclen,
                  ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:1475:18: error: 'Xapian::termcount' has not been declared
          Xapian::termcount uniqterm) const;
                  ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:1478:33: error: 'Xapian::termcount' has not been declared
     double get_sumextra(Xapian::termcount doclen, Xapian::termcount) const;
                                 ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:1478:59: error: 'Xapian::termcount' has not been declared
     double get_sumextra(Xapian::termcount doclen, Xapian::termcount) const;
                                                           ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:1504:32: error: 'Xapian::termcount' has not been declared
     double get_sumpart(Xapian::termcount wdf,
                                ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:1505:18: error: 'Xapian::termcount' has not been declared
          Xapian::termcount doclen,
                  ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:1506:18: error: 'Xapian::termcount' has not been declared
          Xapian::termcount uniqterm) const;
                  ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:1509:33: error: 'Xapian::termcount' has not been declared
     double get_sumextra(Xapian::termcount, Xapian::termcount) const;
                                 ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/weight.h:1509:52: error: 'Xapian::termcount' has not been declared
     double get_sumextra(Xapian::termcount, Xapian::termcount) const;
                                                    ^~~~~~~~~
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/weight/weightinternal.h:28:0,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/postlist.h:32,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/leafpostlist.h:25,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:43:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/query.h:342:12: error: 'Xapian::termcount' has not been declared
    Xapian::termcount wqf = 1,
            ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/query.h:343:12: error: 'Xapian::termpos' has not been declared
    Xapian::termpos pos = 0);
            ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/query.h:435:12: error: 'Xapian::termcount' has not been declared
    Xapian::termcount max_expansion = 0,
            ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/query.h:455:43: error: 'Xapian::termcount' has not been declared
     Query(op op_, I begin, I end, Xapian::termcount window = 0)
                                           ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/query.h:509:13: error: 'termcount' in namespace 'Xapian' does not name a type
     Xapian::termcount XAPIAN_NOTHROW(get_length() const) XAPIAN_PURE_FUNCTION;
             ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/query.h:601:59: error: 'Xapian::termcount' has not been declared
     void init(Query::op op_, size_t n_subqueries, Xapian::termcount window = 0);
                                                           ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/query.h:604:38: error: 'Xapian::termcount' has not been declared
     void init(Query::op op_, Xapian::termcount window,
                                      ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/query.h:611:38: error: 'Xapian::termcount' has not been declared
     void init(Query::op op_, Xapian::termcount window,
                                      ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc:34:13: error: 'Xapian::docid' has not been declared
     Xapian::docid range_start_,
             ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc:35:13: error: 'Xapian::docid' has not been declared
     Xapian::docid range_end_)
             ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc: In constructor 'Xapian::DecreasingValueWeightPostingSource::DecreasingValueWeightPostingSource(Xapian::valueno, int, int)':
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc:37:4: error: class 'Xapian::DecreasingValueWeightPostingSource' does not have any field named 'range_start'
    range_start(range_start_),
    ^~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc:38:4: error: class 'Xapian::DecreasingValueWeightPostingSource' does not have any field named 'range_end'
    range_end(range_end_)
    ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc: In member function 'virtual Xapian::DecreasingValueWeightPostingSource* Xapian::DecreasingValueWeightPostingSource::clone() const':
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc:49:63: error: 'range_start' was not declared in this scope
     return new DecreasingValueWeightPostingSource(get_slot(), range_start,
                                                               ^~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/include/xapian/query.h:764:13: error: 'termcount' does not name a type; did you mean 'timeout'?
     virtual termcount XAPIAN_NOTHROW(get_length() const) XAPIAN_PURE_FUNCTION;
             ^~~~~~~~~
             timeout
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc:50:9: error: 'range_end' was not declared in this scope
         range_end);
         ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc:50:9: note: suggested alternative: 'at_end'
         range_end);
         ^~~~~~~~~
         at_end
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc: In member function 'virtual std::string Xapian::DecreasingValueWeightPostingSource::serialise() const':
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc:62:29: error: 'range_start' was not declared in this scope
     result  = encode_length(range_start);
                             ^~~~~~~~~~~
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentvaluelist.h:26:0,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentvaluelist.cc:23:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/document.h: At global scope:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/document.h:80:18: error: 'termcount' in namespace 'Xapian' does not name a type
  mutable Xapian::termcount termlist_size;
                  ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/document.h:88:10: error: 'docid' in namespace 'Xapian' does not name a type
  Xapian::docid did;
          ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/document.h:132:43: error: 'Xapian::termpos' has not been declared
  void add_posting(const string &, Xapian::termpos, Xapian::termcount);
                                           ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/document.h:132:60: error: 'Xapian::termcount' has not been declared
  void add_posting(const string &, Xapian::termpos, Xapian::termcount);
                                                            ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/document.h:133:40: error: 'Xapian::termcount' has not been declared
  void add_term(const string &, Xapian::termcount);
                                        ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/document.h:134:46: error: 'Xapian::termpos' has not been declared
  void remove_posting(const string &, Xapian::termpos, Xapian::termcount);
                                              ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/document.h:134:63: error: 'Xapian::termcount' has not been declared
  void remove_posting(const string &, Xapian::termpos, Xapian::termcount);
                                                               ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/document.h:135:10: error: 'termpos' in namespace 'Xapian' does not name a type
  Xapian::termpos remove_postings(const string &,
          ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/document.h:140:10: error: 'termcount' in namespace 'Xapian' does not name a type
  Xapian::termcount termlist_count() const;
          ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/document.h:209:10: error: 'docid' in namespace 'Xapian' does not name a type
  Xapian::docid get_docid() const { return did; }
          ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/document.h:220:12: error: 'Xapian::docid' has not been declared
    Xapian::docid did_)
            ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc:63:29: error: 'range_end' was not declared in this scope
     result  = encode_length(range_end);
                             ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc:63:29: note: suggested alternative: 'at_end'
     result  = encode_length(range_end);
                             ^~~~~~~~~
                             at_end
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc: In member function 'virtual Xapian::DecreasingValueWeightPostingSource* Xapian::DecreasingValueWeightPostingSource::unserialise(const string&) const':
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc:72:13: error: 'docid' is not a member of 'Xapian'
     Xapian::docid new_range_start, new_range_end;
             ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc:74:30: error: 'new_range_start' was not declared in this scope
     decode_length(&pos, end, new_range_start);
                              ^~~~~~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc:75:30: error: 'new_range_end' was not declared in this scope
     decode_length(&pos, end, new_range_end);
                              ^~~~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/document.h: In constructor 'Xapian::Document::Internal::Internal(Xapian::Internal::intrusive_ptr<const Xapian::Database::Internal>, int)':
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/document.h:222:54: error: class 'Xapian::Document::Internal' does not have any field named 'did'
        terms_here(false), positions_modified(false), did(did_) { }
                                                      ^~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/document.h: In constructor 'Xapian::Document::Internal::Internal()':
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/backends/document.h:226:54: error: class 'Xapian::Document::Internal' does not have any field named 'did'
        terms_here(false), positions_modified(false), did(0) { }
                                                      ^~~
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentvaluelist.cc:23:0:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentvaluelist.h: At global scope:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentvaluelist.h:49:13: error: 'docid' in namespace 'Xapian' does not name a type
     Xapian::docid get_docid() const;
             ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentvaluelist.h:60:26: error: 'Xapian::docid' has not been declared
     void skip_to(Xapian::docid slot);
                          ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc: In member function 'virtual void Xapian::DecreasingValueWeightPostingSource::init(const Xapian::Database&)':
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc:86:9: error: 'range_end' was not declared in this scope
     if (range_end == 0 || get_database().get_doccount() <= range_end)
         ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc:86:9: note: suggested alternative: 'at_end'
     if (range_end == 0 || get_database().get_doccount() <= range_end)
         ^~~~~~~~~
         at_end
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc:86:42: error: 'class Xapian::Database' has no member named 'get_doccount'; did you mean 'get_document'?
     if (range_end == 0 || get_database().get_doccount() <= range_end)
                                          ^~~~~~~~~~~~
                                          get_document
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc: In member function 'void Xapian::DecreasingValueWeightPostingSource::skip_if_in_range(double)':
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc:97:13: error: 'docid' is not a member of 'Xapian'
     Xapian::docid docid = Xapian::ValueWeightPostingSource::get_docid();
             ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc:98:9: error: 'docid' was not declared in this scope
     if (docid >= range_start && (range_end == 0 || docid <= range_end)) {
         ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc:98:9: note: suggested alternative: 'void'
     if (docid >= range_start && (range_end == 0 || docid <= range_end)) {
         ^~~~~
         void
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc:98:18: error: 'range_start' was not declared in this scope
     if (docid >= range_start && (range_end == 0 || docid <= range_end)) {
                  ^~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc:98:34: error: 'range_end' was not declared in this scope
     if (docid >= range_start && (range_end == 0 || docid <= range_end)) {
                                  ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc:98:34: note: suggested alternative: 'at_end'
     if (docid >= range_start && (range_end == 0 || docid <= range_end)) {
                                  ^~~~~~~~~
                                  at_end
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc: At global scope:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc:129:53: error: variable or field 'skip_to' declared void
 DecreasingValueWeightPostingSource::skip_to(Xapian::docid min_docid,
                                                     ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc:129:53: error: 'docid' is not a member of 'Xapian'
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc:130:10: error: expected primary-expression before 'double'
          double min_wt) {
          ^~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc:140:51: error: 'bool Xapian::DecreasingValueWeightPostingSource::check' is not a static data member of 'class Xapian::DecreasingValueWeightPostingSource'
 DecreasingValueWeightPostingSource::check(Xapian::docid min_docid,
                                                   ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc:140:51: error: 'docid' is not a member of 'Xapian'
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc:141:8: error: expected primary-expression before 'double'
        double min_wt) {
        ^~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/decvalwtsource.cc:141:21: error: expression list treated as compound expression in initializer [-fpermissive]
        double min_wt) {
                     ^
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentvaluelist.cc:34:9: error: 'docid' in namespace 'Xapian' does not name a type
 Xapian::docid
         ^~~~~
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/postlist.h:32:0,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/leafpostlist.h:25,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:43:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/weight/weightinternal.h:39:13: error: 'doccount' in namespace 'Xapian' does not name a type
     Xapian::doccount termfreq;
             ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/weight/weightinternal.h:40:13: error: 'doccount' in namespace 'Xapian' does not name a type
     Xapian::doccount reltermfreq;
             ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/weight/weightinternal.h:41:13: error: 'termcount' in namespace 'Xapian' does not name a type
     Xapian::termcount collfreq;
             ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/weight/weightinternal.h:45:32: error: expected ')' before 'termfreq_'
     TermFreqs(Xapian::doccount termfreq_,
                                ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/weight/weightinternal.h: In constructor 'TermFreqs::TermFreqs()':
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/weight/weightinternal.h:44:19: error: class 'TermFreqs' does not have any field named 'termfreq'
     TermFreqs() : termfreq(0), reltermfreq(0), collfreq(0), max_part(0.0) {}
                   ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/weight/weightinternal.h:44:32: error: class 'TermFreqs' does not have any field named 'reltermfreq'
     TermFreqs() : termfreq(0), reltermfreq(0), collfreq(0), max_part(0.0) {}
                                ^~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/weight/weightinternal.h:44:48: error: class 'TermFreqs' does not have any field named 'collfreq'
     TermFreqs() : termfreq(0), reltermfreq(0), collfreq(0), max_part(0.0) {}
                                                ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/weight/weightinternal.h: In member function 'void TermFreqs::operator =(const TermFreqs&)':
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/weight/weightinternal.h:55:2: error: 'termfreq' was not declared in this scope
  termfreq  = other.termfreq;
  ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentvaluelist.cc:71:36: error: variable or field 'skip_to' declared void
 DocumentValueList::skip_to(Xapian::docid slot)
                                    ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/documentvaluelist.cc:71:36: error: 'docid' is not a member of 'Xapian'
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/weight/weightinternal.h:55:2: note: suggested alternative: 'TermFreqs'
  termfreq  = other.termfreq;
  ^~~~~~~~
  TermFreqs
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/weight/weightinternal.h:55:20: error: 'const struct TermFreqs' has no member named 'termfreq'; did you mean 'TermFreqs'?
  termfreq  = other.termfreq;
                    ^~~~~~~~
                    TermFreqs
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/weight/weightinternal.h:56:2: error: 'reltermfreq' was not declared in this scope
  reltermfreq  = other.reltermfreq;
  ^~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/weight/weightinternal.h:56:23: error: 'const struct TermFreqs' has no member named 'reltermfreq'
  reltermfreq  = other.reltermfreq;
                       ^~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/weight/weightinternal.h:57:2: error: 'collfreq' was not declared in this scope
  collfreq  = other.collfreq;
  ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/weight/weightinternal.h:57:20: error: 'const struct TermFreqs' has no member named 'collfreq'
  collfreq  = other.collfreq;
                    ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/weight/weightinternal.h: At global scope:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/weight/weightinternal.h:84:13: error: 'totallength' in namespace 'Xapian' does not name a type
     Xapian::totallength total_length = 0;
             ^~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/weight/weightinternal.h:87:13: error: 'doccount' in namespace 'Xapian' does not name a type
     Xapian::doccount collection_size = 0;
             ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/weight/weightinternal.h:90:13: error: 'doccount' in namespace 'Xapian' does not name a type
     Xapian::doccount rset_size = 0;
             ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/weight/weightinternal.h:138:14: error: 'Xapian::doccount' has not been declared
      Xapian::doccount & termfreq,
              ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/weight/weightinternal.h:139:14: error: 'Xapian::doccount' has not been declared
      Xapian::doccount & reltermfreq,
              ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/weight/weightinternal.h:140:14: error: 'Xapian::termcount' has not been declared
      Xapian::termcount & collfreq) const {
              ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/weight/weightinternal.h:167:14: error: 'Xapian::doccount' has not been declared
      Xapian::doccount & termfreq) const {
              ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/weight/weightinternal.h: In member function 'bool Xapian::Weight::Internal::get_stats(const string&, int&, int&, int&) const':
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/weight/weightinternal.h:147:17: error: 'collection_size' was not declared in this scope
      termfreq = collection_size;
                 ^~~~~~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/weight/weightinternal.h:149:20: error: 'rset_size' was not declared in this scope
      reltermfreq = rset_size;
                    ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/weight/weightinternal.h:149:20: note: suggested alternative: 'setsid'
      reltermfreq = rset_size;
                    ^~~~~~~~~
                    setsid
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/weight/weightinternal.h:159:23: error: 'const struct TermFreqs' has no member named 'termfreq'; did you mean 'TermFreqs'?
  termfreq = i->second.termfreq;
                       ^~~~~~~~
                       TermFreqs
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/weight/weightinternal.h:160:26: error: 'const struct TermFreqs' has no member named 'reltermfreq'
  reltermfreq = i->second.reltermfreq;
                          ^~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/weight/weightinternal.h:161:23: error: 'const struct TermFreqs' has no member named 'collfreq'
  collfreq = i->second.collfreq;
                       ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/weight/weightinternal.h: In member function 'bool Xapian::Weight::Internal::get_stats(const string&, int&) const':
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/weight/weightinternal.h:168:10: error: 'doccount' is not a member of 'Xapian'
  Xapian::doccount dummy1;
          ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/weight/weightinternal.h:168:10: note: suggested alternative: 'Document'
  Xapian::doccount dummy1;
          ^~~~~~~~
          Document
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/weight/weightinternal.h:169:10: error: 'termcount' is not a member of 'Xapian'
  Xapian::termcount dummy2;
          ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/weight/weightinternal.h:169:10: note: suggested alternative: 'timeout'
  Xapian::termcount dummy2;
          ^~~~~~~~~
          timeout
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/weight/weightinternal.h:170:35: error: 'dummy1' was not declared in this scope
  return get_stats(term, termfreq, dummy1, dummy2);
                                   ^~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/weight/weightinternal.h:170:43: error: 'dummy2' was not declared in this scope
  return get_stats(term, termfreq, dummy1, dummy2);
                                           ^~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/weight/weightinternal.h:170:43: note: suggested alternative: 'dup2'
  return get_stats(term, termfreq, dummy1, dummy2);
                                           ^~~~~~
                                           dup2
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:23:0:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/weight/weightinternal.h: In member function 'Xapian::doclength Xapian::Weight::Internal::get_average_length() const':
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/weight/weightinternal.h:227:11: error: 'collection_size' was not declared in this scope
  if (rare(collection_size == 0)) return 0;
           ^
./config.h:521:41: note: in definition of macro 'rare'
 # define rare(COND) __builtin_expect(!!(COND), 0)
                                         ^~~~
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/postlist.h:32:0,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/leafpostlist.h:25,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:43:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/weight/weightinternal.h:228:27: error: 'total_length' was not declared in this scope
  return Xapian::doclength(total_length) / collection_size;
                           ^~~~~~~~~~~~
make[2]: *** [Makefile:2809: api/decvalwtsource.lo] Error 1
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/weight/weightinternal.h:228:27: note: suggested alternative: 'doclength'
  return Xapian::doclength(total_length) / collection_size;
                           ^~~~~~~~~~~~
                           doclength
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/weight/weightinternal.h:228:43: error: 'collection_size' was not declared in this scope
  return Xapian::doclength(total_length) / collection_size;
                                           ^~~~~~~~~~~~~~~
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/leafpostlist.h:25:0,
                 from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:43:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/postlist.h: At global scope:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/postlist.h:55:21: error: 'doccount' in namespace 'Xapian' does not name a type
     virtual Xapian::doccount get_termfreq_min() const = 0;
                     ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/postlist.h:58:21: error: 'doccount' in namespace 'Xapian' does not name a type
     virtual Xapian::doccount get_termfreq_max() const = 0;
                     ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/postlist.h:65:21: error: 'doccount' in namespace 'Xapian' does not name a type
     virtual Xapian::doccount get_termfreq_est() const = 0;
                     ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/postlist.h:80:21: error: 'docid' in namespace 'Xapian' does not name a type
     virtual Xapian::docid get_docid() const = 0;
                     ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/postlist.h:83:21: error: 'termcount' in namespace 'Xapian' does not name a type
     virtual Xapian::termcount get_doclength() const = 0;
                     ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/postlist.h:89:21: error: 'termcount' in namespace 'Xapian' does not name a type
     virtual Xapian::termcount get_unique_terms() const = 0;
                     ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/postlist.h:95:21: error: 'termcount' in namespace 'Xapian' does not name a type
     virtual Xapian::termcount get_wdf() const;
                     ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/postlist.h:166:40: error: 'skip_to' declared as a 'virtual' field
     virtual Internal * skip_to(Xapian::docid did, double w_min) = 0;
                                        ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/postlist.h:166:24: error: expected ';' at end of member declaration
     virtual Internal * skip_to(Xapian::docid did, double w_min) = 0;
                        ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/postlist.h:166:46: error: expected ')' before 'did'
     virtual Internal * skip_to(Xapian::docid did, double w_min) = 0;
                                              ^~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/postlist.h:188:38: error: 'check' declared as a 'virtual' field
     virtual Internal * check(Xapian::docid did, double w_min, bool &valid);
                                      ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/postlist.h:188:24: error: expected ';' at end of member declaration
     virtual Internal * check(Xapian::docid did, double w_min, bool &valid);
                        ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/postlist.h:188:44: error: expected ')' before 'did'
     virtual Internal * check(Xapian::docid did, double w_min, bool &valid);
                                            ^~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/postlist.h:200:16: error: expected ';' at end of member declaration
     Internal * skip_to(Xapian::docid did) { return skip_to(did, 0.0); }
                ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/postlist.h:200:32: error: redeclaration of 'Xapian::PostingIterator::Internal* Xapian::PostingIterator::Internal::skip_to'
     Internal * skip_to(Xapian::docid did) { return skip_to(did, 0.0); }
                                ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/postlist.h:166:40: note: previous declaration 'Xapian::PostingIterator::Internal* Xapian::PostingIterator::Internal::skip_to'
     virtual Internal * skip_to(Xapian::docid did, double w_min) = 0;
                                        ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/postlist.h:200:38: error: expected ')' before 'did'
     Internal * skip_to(Xapian::docid did) { return skip_to(did, 0.0); }
                                      ^~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/postlist.h:203:21: error: 'termcount' in namespace 'Xapian' does not name a type
     virtual Xapian::termcount count_matching_subqs() const;
                     ^~~~~~~~~
In file included from /var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:43:0:
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/leafpostlist.h:74:16: error: 'Xapian::termcount' has not been declared
        Xapian::termcount qlen,
                ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/leafpostlist.h:75:16: error: 'Xapian::termcount' has not been declared
        Xapian::termcount wqf,
                ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/leafpostlist.h:94:21: error: 'doccount' in namespace 'Xapian' does not name a type
     virtual Xapian::doccount get_termfreq() const = 0;
                     ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/leafpostlist.h:96:13: error: 'doccount' in namespace 'Xapian' does not name a type
     Xapian::doccount get_termfreq_min() const;
             ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/leafpostlist.h:97:13: error: 'doccount' in namespace 'Xapian' does not name a type
     Xapian::doccount get_termfreq_max() const;
             ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/leafpostlist.h:98:13: error: 'doccount' in namespace 'Xapian' does not name a type
     Xapian::doccount get_termfreq_est() const;
             ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/leafpostlist.h:107:13: error: 'termcount' in namespace 'Xapian' does not name a type
     Xapian::termcount count_matching_subqs() const;
             ^~~~~~~~~
make[2]: *** [Makefile:2809: api/documentvaluelist.lo] Error 1
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:68:31: error: 'docid' is not a member of 'Xapian'
     const vector<pair<Xapian::docid, Xapian::docid>>& used_ranges;
                               ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:68:31: error: 'docid' is not a member of 'Xapian'
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:68:46: error: 'docid' is not a member of 'Xapian'
     const vector<pair<Xapian::docid, Xapian::docid>>& used_ranges;
                                              ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:68:46: error: 'docid' is not a member of 'Xapian'
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:68:46: error: template argument 1 is invalid
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:68:46: error: template argument 2 is invalid
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:68:51: error: template argument 1 is invalid
     const vector<pair<Xapian::docid, Xapian::docid>>& used_ranges;
                                                   ^~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:68:51: error: template argument 2 is invalid
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:72:46: error: 'docid' is not a member of 'Xapian'
     CmpByFirstUsed(const vector<pair<Xapian::docid, Xapian::docid>>& ur)
                                              ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:72:46: error: 'docid' is not a member of 'Xapian'
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:72:61: error: 'docid' is not a member of 'Xapian'
     CmpByFirstUsed(const vector<pair<Xapian::docid, Xapian::docid>>& ur)
                                                             ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:72:61: error: 'docid' is not a member of 'Xapian'
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:72:61: error: template argument 1 is invalid
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:72:61: error: template argument 2 is invalid
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:72:66: error: template argument 1 is invalid
     CmpByFirstUsed(const vector<pair<Xapian::docid, Xapian::docid>>& ur)
                                                                  ^~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:72:66: error: template argument 2 is invalid
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc: In member function 'bool CmpByFirstUsed::operator()(size_t, size_t) const':
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:76:22: error: invalid types 'const int[size_t {aka long unsigned int}]' for array subscript
  return used_ranges[a].first < used_ranges[b].first;
                      ^
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:76:45: error: invalid types 'const int[size_t {aka long unsigned int}]' for array subscript
  return used_ranges[a].first < used_ranges[b].first;
                                             ^
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc: In member function 'void Xapian::Database::compact_(const string*, int, unsigned int, int, Xapian::Compactor*) const':
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:226:13: error: 'docid' is not a member of 'Xapian'
     Xapian::docid tot_off = 0;
             ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:227:13: error: 'docid' is not a member of 'Xapian'
     Xapian::docid last_docid = 0;
             ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:229:20: error: 'docid' is not a member of 'Xapian'
     vector<Xapian::docid> offset;
                    ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:229:20: error: 'docid' is not a member of 'Xapian'
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:229:25: error: template argument 1 is invalid
     vector<Xapian::docid> offset;
                         ^
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:229:25: error: template argument 2 is invalid
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:230:25: error: 'docid' is not a member of 'Xapian'
     vector<pair<Xapian::docid, Xapian::docid> > used_ranges;
                         ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:230:25: error: 'docid' is not a member of 'Xapian'
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:230:40: error: 'docid' is not a member of 'Xapian'
     vector<pair<Xapian::docid, Xapian::docid> > used_ranges;
                                        ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:230:40: error: 'docid' is not a member of 'Xapian'
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:230:45: error: template argument 1 is invalid
     vector<pair<Xapian::docid, Xapian::docid> > used_ranges;
                                             ^
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:230:45: error: template argument 2 is invalid
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:230:47: error: template argument 1 is invalid
     vector<pair<Xapian::docid, Xapian::docid> > used_ranges;
                                               ^
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:230:47: error: template argument 2 is invalid
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:232:12: error: request for member 'reserve' in 'offset', which is of non-class type 'int'
     offset.reserve(internal.size());
            ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:233:17: error: request for member 'reserve' in 'used_ranges', which is of non-class type 'int'
     used_ranges.reserve(internal.size());
                 ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:240:10: error: 'docid' is not a member of 'Xapian'
  Xapian::docid first = 0, last = 0;
          ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:244:10: error: 'doccount' is not a member of 'Xapian'
  Xapian::doccount num_docs = db->get_doccount();
          ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:244:10: note: suggested alternative: 'Document'
  Xapian::doccount num_docs = db->get_doccount();
          ^~~~~~~~
          Document
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:245:6: error: 'num_docs' was not declared in this scope
  if (num_docs != 0) {
      ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:246:31: error: 'first' was not declared in this scope
      db->get_used_docid_range(first, last);
                               ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:246:38: error: 'last' was not declared in this scope
      db->get_used_docid_range(first, last);
                                      ^~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:246:38: note: suggested alternative: 'labs'
      db->get_used_docid_range(first, last);
                                      ^~~~
                                      labs
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:254:3: error: 'tot_off' was not declared in this scope
   tot_off -= (first - 1);
   ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:274:9: error: request for member 'push_back' in 'offset', which is of non-class type 'int'
  offset.push_back(tot_off);
         ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:274:19: error: 'tot_off' was not declared in this scope
  offset.push_back(tot_off);
                   ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:276:17: error: 'last' was not declared in this scope
      tot_off  = last;
                 ^~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:276:17: note: suggested alternative: 'labs'
      tot_off  = last;
                 ^~~~
                 labs
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:277:11: error: 'last_docid' was not declared in this scope
  else if (last_docid < db->get_lastdocid())
           ^~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:277:28: error: 'class Xapian::Database::Internal' has no member named 'get_lastdocid'
  else if (last_docid < db->get_lastdocid())
                            ^~~~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:278:23: error: 'class Xapian::Database::Internal' has no member named 'get_lastdocid'
      last_docid = db->get_lastdocid();
                       ^~~~~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:279:14: error: request for member 'push_back' in 'used_ranges', which is of non-class type 'int'
  used_ranges.push_back(make_pair(first, last));
              ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:279:34: error: 'first' was not declared in this scope
  used_ranges.push_back(make_pair(first, last));
                                  ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:279:41: error: 'last' was not declared in this scope
  used_ranges.push_back(make_pair(first, last));
                                         ^~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:279:41: note: suggested alternative: 'labs'
  used_ranges.push_back(make_pair(first, last));
                                         ^~~~
                                         labs
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:283:2: error: 'last_docid' was not declared in this scope
  last_docid = tot_off;
  ^~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:283:15: error: 'tot_off' was not declared in this scope
  last_docid = tot_off;
               ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:301:22: error: 'docid' is not a member of 'Xapian'
  vector<pair<Xapian::docid, Xapian::docid>> used_ranges_;
                      ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:301:22: error: 'docid' is not a member of 'Xapian'
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:301:37: error: 'docid' is not a member of 'Xapian'
  vector<pair<Xapian::docid, Xapian::docid>> used_ranges_;
                                     ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:301:37: error: 'docid' is not a member of 'Xapian'
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:301:37: error: template argument 1 is invalid
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:301:37: error: template argument 2 is invalid
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:301:42: error: template argument 1 is invalid
  vector<pair<Xapian::docid, Xapian::docid>> used_ranges_;
                                          ^~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:301:42: error: template argument 2 is invalid
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:302:15: error: request for member 'reserve' in 'used_ranges_', which is of non-class type 'int'
  used_ranges_.reserve(internal.size());
               ^~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:304:10: error: 'docid' is not a member of 'Xapian'
  Xapian::docid last_start = 0, last_end = 0;
          ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:309:19: error: request for member 'push_back' in 'used_ranges_', which is of non-class type 'int'
      used_ranges_.push_back(used_ranges[n]);
                   ^~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:309:42: error: invalid types 'int[size_t {aka long unsigned int}]' for array subscript
      used_ranges_.push_back(used_ranges[n]);
                                          ^
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:311:25: error: 'docid' is not a member of 'Xapian'
      const pair<Xapian::docid, Xapian::docid> p = used_ranges[n];
                         ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:311:25: error: 'docid' is not a member of 'Xapian'
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:311:40: error: 'docid' is not a member of 'Xapian'
      const pair<Xapian::docid, Xapian::docid> p = used_ranges[n];
                                        ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:311:40: error: 'docid' is not a member of 'Xapian'
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:311:45: error: template argument 1 is invalid
      const pair<Xapian::docid, Xapian::docid> p = used_ranges[n];
                                             ^
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:311:45: error: template argument 2 is invalid
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:311:64: error: invalid types 'int[size_t {aka long unsigned int}]' for array subscript
      const pair<Xapian::docid, Xapian::docid> p = used_ranges[n];
                                                                ^
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:313:12: error: request for member 'first' in 'p', which is of non-class type 'const int'
      if (p.first == 0 && p.second == 0)
            ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:313:28: error: request for member 'second' in 'p', which is of non-class type 'const int'
      if (p.first == 0 && p.second == 0)
                            ^~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:316:12: error: request for member 'first' in 'p', which is of non-class type 'const int'
      if (p.first <= last_end) {
            ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:316:21: error: 'last_end' was not declared in this scope
      if (p.first <= last_end) {
                     ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:316:21: note: suggested alternative: 'backend'
      if (p.first <= last_end) {
                     ^~~~~~~~
                     backend
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:322:14: error: 'last_start' was not declared in this scope
   msg  = str(last_start);
              ^~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:322:14: note: suggested alternative: 'lstat'
   msg  = str(last_start);
              ^~~~~~~~~~
              lstat
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:329:16: error: request for member 'first' in 'p', which is of non-class type 'const int'
   msg  = str(p.first);
                ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:331:16: error: request for member 'second' in 'p', which is of non-class type 'const int'
   msg  = str(p.second);
                ^~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:334:6: error: 'last_start' was not declared in this scope
      last_start = p.first;
      ^~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:334:6: note: suggested alternative: 'lstat'
      last_start = p.first;
      ^~~~~~~~~~
      lstat
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:334:21: error: request for member 'first' in 'p', which is of non-class type 'const int'
      last_start = p.first;
                     ^~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:335:6: error: 'last_end' was not declared in this scope
      last_end = p.second;
      ^~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:335:6: note: suggested alternative: 'backend'
      last_end = p.second;
      ^~~~~~~~
      backend
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:335:19: error: request for member 'second' in 'p', which is of non-class type 'const int'
      last_end = p.second;
                   ^~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:398:8: error: 'last_docid' was not declared in this scope
  (void)last_docid;
        ^~~~~~~~~~
/var/services/homes/mitya12342/kiwix-build/SOURCE/xapian-core-1.4.14/api/compactor.cc:414:8: error: 'last_docid' was not declared in this scope
  (void)last_docid;
        ^~~~~~~~~~
make[2]: *** [Makefile:2809: api/compactor.lo] Error 1
make[2]: Leaving directory '/var/services/homes/mitya12342/kiwix-build/BUILD_native_dyn/xapian-core-1.4.14'
make[1]: *** [Makefile:3278: all-recursive] Error 1
make[1]: Leaving directory '/var/services/homes/mitya12342/kiwix-build/BUILD_native_dyn/xapian-core-1.4.14'
make: *** [Makefile:1581: all] Error 2


Stopping build due to errors

I am kind of new to that type of thing so please don't judge hard

@kelson42
Copy link
Contributor

@mitya12342 What do you want exactly to build? kiwix-serve?

@kelson42 kelson42 self-assigned this Aug 25, 2020
@mitya12342
Copy link
Author

@kelson42 yes, kiwix-serve and another kiwix-tools preferably

@kelson42
Copy link
Contributor

@mitya12342
Copy link
Author

It gives Illegal instruction (Core dumped)

@kelson42
Copy link
Contributor

It looks like this CPU is arm64/aarch64 compatible. The binary I have given to you is for arm32. I believe you should be able to execute it with the right kernel. For the rest we need to implement #396.

@mitya12342
Copy link
Author

Unfortunately, that one still does not run, how could i try to look into it?
Anyways thanks for your support

mitya12342@synnas:~$ wget https://download.kiwix.org/release/kiwix-tools/kiwix-tools_linux-armhf.tar.gz
--2020-08-25 21:01:17--  https://download.kiwix.org/release/kiwix-tools/kiwix-tools_linux-armhf.tar.gz
Resolving download.kiwix.org... 195.154.156.115
//redirect stuff omitted//
Saving to: 'kiwix-tools_linux-armhf.tar.gz'
kiwix-tools_linux-armhf.tar.g 100%[=================================================>]  26.25M  3.53MB/s    in 7.2s
2020-08-25 21:01:26 (3.64 MB/s) - 'kiwix-tools_linux-armhf.tar.gz' saved [27529677/27529677]
mitya12342@synnas:~$ tar -xzf kiwix-tools_linux-armhf.tar.gz
mitya12342@synnas:~$ cd kiwix-tools_linux-armhf-3.1.2-1/
mitya12342@synnas:~/kiwix-tools_linux-armhf-3.1.2-1$ ./kiwix-serve
Illegal instruction (core dumped)

Kernel info
Linux synnas 4.4.59 #25426 SMP Tue Jul 14 19:47:36 CST 2020 aarch64 GNU/Linux synology_rtd1296_ds220j

@kelson42
Copy link
Contributor

There is nothing much I can do here. We need to add support of aarch54 like requested in other ticket. This ticket is a duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants