Cook: zoneminder 1.25.0 ================================================================================ QA: checking package receipt... Checking build dependencies... Installing (pkg/local): libmysqlclient-5.5.59-i486 Installing (pkg/local): libaio-0.3.111-i486 Installing (pkg/local): mysql-client-5.5.59-i486 Installing (pkg/local): mysql-5.5.59-i486 Installing (pkg/local): libbzip2-1.0.6-i486 Installing (pkg/local): perl-core-5.28.1-i486 Installing (pkg/local): perl-5.28.1-i486 Installing (pkg/local): mysql-test-5.5.59-i486 Installing (pkg/local): mysql-dev-5.5.59-i486 Installing (pkg/local): libjpeg-9b-i486 Installing (pkg/local): jpeg-9b-i486 Installing (pkg/local): jpeg-dev-9b-i486 Installing (pkg/local): fdk-aac-0.1.6-i486 Installing (pkg/local): libpcre-8.42-i486 Installing (pkg/local): util-linux-smartcols-2.33-i486 Installing (pkg/local): util-linux-uuid-2.33-i486 Installing (pkg/local): util-linux-blkid-2.33-i486 Installing (pkg/local): util-linux-mount-2.33-i486 Installing (pkg/local): glib-2.58.2-i486 Installing (pkg/local): libharfbuzz-1.8.4-i486 Installing (pkg/local): libpng-1.6.36-i486 Installing (pkg/local): freetype-2.9.1-i486 Installing (pkg/local): lame-3.100-i486 Installing (pkg/local): libxml2-2.9.8-i486 Installing (pkg/local): fontconfig-2.13.1-i486 Installing (pkg/local): fribidi-1.0.5-i486 Installing (pkg/local): libass-0.13.6-i486 Installing (pkg/local): libogg-1.3.3-i486 Installing (pkg/local): libtheora-enc-1.1.1-i486 Installing (pkg/local): libvorbis-1.3.6-i486 Installing (pkg/local): libvpx-1.7.0-i486 Installing (pkg/local): opus-1.3-i486 Installing (pkg/local): x264-20181013-i486 Installing (pkg/local): x265-2.9-i486 Installing (pkg/local): libxau-1.0.8-i486 Installing (pkg/local): libxdmcp-1.1.2-i486 Installing (pkg/local): libxcb-1.13.1-i486 Installing (pkg/local): ffmpeg-3.4.2-i486 Installing (pkg/local): bzip2-dev-1.0.6-i486 Installing (pkg/local): fdk-aac-dev-0.1.6-any Installing (pkg/local): libx11-1.6.7-i486 Installing (pkg/local): pixman-0.36.0-i486 Installing (pkg/local): libcairo-1.16.0-i486 Installing (pkg/local): harfbuzz-1.8.4-i486 Installing (pkg/local): libpcre16-8.42-i486 Installing (pkg/local): libpcre32-8.42-i486 Installing (pkg/local): libpcrecpp-8.42-i486 Installing (pkg/local): libpcreposix-8.42-i486 Installing (pkg/local): pcre-8.42-any Installing (pkg/local): pcre-apps-8.42-i486 Installing (pkg/local): pcre-dev-8.42-any Installing (pkg/local): util-linux-uuid-dev-2.33-any Installing (pkg/local): util-linux-blkid-dev-2.33-any Installing (pkg/local): util-linux-mount-dev-2.33-any Installing (pkg/local): zlib-static-1.2.11-i486 Installing (pkg/local): zlib-dev-1.2.11-any Installing (pkg/local): glib-dev-2.58.2-i486 Installing (pkg/local): harfbuzz-dev-1.8.4-i486 Installing (pkg/local): libpng-dev-1.6.36-i486 Installing (pkg/local): freetype-dev-2.9.1-i486 Installing (pkg/local): lame-dev-3.100-any Installing (pkg/local): xz-tools-5.2.4-i486 Installing (pkg/local): xz-dev-5.2.4-any Installing (pkg/local): libxml2-tools-2.9.8-i486 Installing (pkg/local): libxml2-dev-2.9.8-any Installing (pkg/local): fontconfig-dev-2.13.1-any Installing (pkg/local): fribidi-dev-1.0.5-any Installing (pkg/local): libass-dev-0.13.6-i486 Installing (pkg/local): libogg-dev-1.3.3-i486 Installing (pkg/local): libtheora-1.1.1-i486 Installing (pkg/local): libtheora-dev-1.1.1-i486 Installing (pkg/local): libvorbis-dev-1.3.6-i486 Installing (pkg/local): libvpx-dev-1.7.0-any Installing (pkg/local): opus-dev-1.3-any Installing (pkg/local): x264-dev-20181013-any Installing (pkg/local): x265-dev-2.9-i486 Installing (pkg/local): xorgproto-2018.4-any Installing (pkg/local): libxau-dev-1.0.8-any Installing (pkg/local): libxdmcp-dev-1.1.2-any Installing (pkg/local): libxcb-dev-1.13.1-any Installing (pkg/local): libx11-dev-1.6.7-any Installing (pkg/local): ffmpeg-dev-3.4.2-any Installing (pkg/local): libunistring-0.9.10-i486 Installing (pkg/local): libidn2-2.0.5-i486 Installing (pkg/local): libp11-kit-0.23.12-i486 Installing (pkg/local): libtasn1-4.13-i486 Installing (pkg/local): nettle-3.4-i486 Installing (pkg/local): unbound-1.7.3-i486 Installing (pkg/local): libgnutls-3.5.19-i486 Installing (pkg/local): gnutls-3.5.19-i486 Installing (pkg/local): gmp-dev-6.1.2-i486 Installing (pkg/local): libunistring-dev-0.9.10-any Installing (pkg/local): libidn2-dev-2.0.5-any Installing (pkg/local): libtasn1-dev-4.13-any Installing (pkg/local): nettle-dev-3.4-i486 Installing (pkg/local): p11-kit-0.23.12-i486 Installing (pkg/local): p11-kit-dev-0.23.12-any Installing (pkg/local): openssl-dev-1.1.1a-i486 Installing (pkg/local): unbound-dev-1.7.3-any Installing (pkg/local): gnutls-dev-3.5.19-any Installing (pkg/local): tslib-1.18-i486 Installing (pkg/local): sdl-1.2.15-i486 Installing (pkg/local): libav-0.6.1-i486 Installing (pkg/local): libav-dev-0.6.1-i486 Installing (pkg/local): perl-dbi-1.642-i486 Installing (pkg/local): perl-dbd-mysql-4.049-i486 Installing (pkg/local): perl-time-hires-1.9758-i486 Installing (pkg/local): perl-getopt-long-2.50-any Installing (pkg/local): perl-date-manip-6.75-any Installing (pkg/local): perl-encode-locale-1.05-any Installing (pkg/local): perl-http-date-6.02-any Installing (pkg/local): perl-file-listing-6.04-any Installing (pkg/local): perl-html-tagset-3.20-any Installing (pkg/local): perl-html-parser-3.72-i486 Installing (pkg/local): perl-io-html-1.001-any Installing (pkg/local): perl-lwp-mediatypes-6.02-any Installing (pkg/local): perl-test-needs-0.002005-any Installing (pkg/local): perl-uri-1.74-any Installing (pkg/local): perl-try-tiny-0.30-any Installing (pkg/local): perl-http-message-6.18-any Installing (pkg/local): perl-http-cookies-6.04-any Installing (pkg/local): perl-http-daemon-6.01-any Installing (pkg/local): perl-http-negotiate-6.01-any Installing (pkg/local): perl-net-http-6.18-any Installing (pkg/local): perl-www-robotrules-6.02-any Installing (pkg/local): perl-test-fatal-0.014-any Installing (pkg/local): perl-test-requiresinternet-0.05-any Installing (pkg/local): perl-libwww-perl-6.36-any Installing (pkg/local): perl-archive-zip-1.64-any Extracting source archive "ZoneMinder-1.25.0.tar.gz" Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed configure: loading site script /etc/slitaz/cook.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes configure: WARNING: You can call configure with the --with-extralibs option. Ordinarily you will need to use this option only when your copy of ffmpeg has been built with support for additional formats and you would use this option to detail which additional libraries ffmpeg was built with so that it is able to link successfully with ZoneMinder. You will need to wrap this option in quotes if it contains any spaces. e.g. --with-extralibs="-lmp3lame" configure: WARNING: You can call configure with the --with-webhost option. This tells configure what the host name is for name based virtual hosting. This is only used to populate the sample web/zmHttpd.conf file. e.g. --with-webhost=zm.localdomain configure: WARNING: You can call configure with the --enable-debug= or --disable-debug option. This tells configure whether to compile ZoneMinder with debug included. Although debug is included by default it is not output unless explicitly switched on elsewhere. These checks may induce a small penalty on performance and if you are after squeezing the maximum possible performance out of ZoneMinder you may use this switch to prevent debug from being compiled in. e.g. --enable-debug=yes or --disable-debug configure: WARNING: You can call configure with the --enable-crashtrace= or --disable-crashtrace option. This tells configure whether to compile ZoneMinder with crash tracing included. This allows a dump of the stack trace when a ZoneMinder binary crashes or is killed by an unexpected signal. Although this should work on most systems it does rely on un(or loosely) documented features and so should be regarded as experimental. If you experience problems compiling zm_signal.cpp or ZoneMinder binaries fail to shut down correctly then you should probably disable this feature. e.g. --enable-crashtrace=yes or --disable-crashtrace checking for i486-slitaz-linux-g++... i486-slitaz-linux-g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether i486-slitaz-linux-g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of i486-slitaz-linux-g++... gcc3 checking for i486-slitaz-linux-gcc... i486-slitaz-linux-gcc checking whether we are using the GNU C compiler... yes checking whether i486-slitaz-linux-gcc accepts -g... yes checking for i486-slitaz-linux-gcc option to accept ISO C89... none needed checking dependency style of i486-slitaz-linux-gcc... gcc3 checking whether ln -s works... yes checking for i486-slitaz-linux-ranlib... i486-slitaz-linux-ranlib checking whether make sets $(MAKE)... (cached) yes checking how to run the C++ preprocessor... i486-slitaz-linux-g++ -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for stdbool.h that conforms to C99... no checking for _Bool... no checking for an ANSI C-conforming const... yes checking for uid_t in sys/types.h... yes checking for inline... inline checking for mode_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking return type of signal handlers... void checking for siginfo_t... yes checking for struct sigcontext... yes checking for struct sigcontext.eip... yes checking for ucontext_t... yes checking whether i486-slitaz-linux-gcc needs -traditional... no checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking types of arguments for select... int,fd_set *,struct timeval * checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for strftime... yes checking for working strtod... yes checking for vprintf... yes checking for _doprnt... no checking for gethostbyname... yes checking for gethostname... yes checking for gettimeofday... yes checking for memmove... yes checking for memset... yes checking for mkdir... yes checking for munmap... yes checking for putenv... yes checking for select... yes checking for socket... yes checking for sqrt... yes checking for strcasecmp... yes checking for strchr... yes checking for strcspn... yes checking for strerror... yes checking for strncasecmp... yes checking for strrchr... yes checking for strsignal... yes checking for strspn... yes checking for strstr... yes checking for strtol... yes checking for strtoull... yes checking for syscall... yes checking for sleep... yes checking for usleep... yes checking for ioctl... yes checking for ioctlsocket... no checking for sigaction... yes checking for ffmpeg... yes checking for ffmpeg... /usr/bin/ffmpeg checking for pnmscale... no checking for pnmscale... no checking for mysql_init in -lmysqlclient... yes checking for jpeg_start_compress in -ljpeg... yes checking for pthread_create in -lpthread... yes checking for dlsym in -ldl... yes checking gcrypt.h usability... no checking gcrypt.h presence... no checking for gcrypt.h... no configure: WARNING: zm requires libgcrypt headers to be installed for gnutls checking for gcry_check_version in -lgcrypt... no configure: WARNING: libgcrypt.a is required for authenticated streaming - use ZM_SSL_LIB option to select openssl instead checking for MD5 in -lgnutls-openssl... yes checking for pcre_compile in -lpcre... yes checking for zlibVersion in -lz... yes checking for x264_predict_16x16_init in -lx264... no checking for av_malloc in -lavutil... yes checking for av_image_copy in -lavcore... no checking for avcodec_init in -lavcodec... yes checking for av_new_stream in -lavformat... yes checking for avdevice_register_all in -lavdevice... yes checking for sws_scale in -lswscale... yes checking for BZ2_bzCompress in -lbz2... yes checking for compress in -lz... yes checking for working alloca.h... yes checking for alloca... yes checking for ANSI C header files... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for memory.h... (cached) yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for sys/param.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking values.h usability... yes checking values.h presence... yes checking for values.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking for sys/socket.h... (cached) yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking glob.h usability... yes checking glob.h presence... yes checking for glob.h... yes checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking syscall.h usability... yes checking syscall.h presence... yes checking for syscall.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking linux/videodev.h usability... no checking linux/videodev.h presence... no checking for linux/videodev.h... no checking linux/videodev2.h usability... yes checking linux/videodev2.h presence... yes checking for linux/videodev2.h... yes checking jpeglib.h usability... yes checking jpeglib.h presence... yes checking for jpeglib.h... yes checking mysql/mysql.h usability... yes checking mysql/mysql.h presence... yes checking for mysql/mysql.h... yes checking libavutil/avutil.h usability... yes checking libavutil/avutil.h presence... yes checking for libavutil/avutil.h... yes checking libavcodec/avcodec.h usability... yes checking libavcodec/avcodec.h presence... yes checking for libavcodec/avcodec.h... yes checking libavformat/avformat.h usability... yes checking libavformat/avformat.h presence... yes checking for libavformat/avformat.h... yes checking libswscale/swscale.h usability... yes checking libswscale/swscale.h presence... yes checking for libswscale/swscale.h... yes checking pcre/pcre.h usability... no checking pcre/pcre.h presence... no checking for pcre/pcre.h... no checking pcre.h usability... yes checking pcre.h presence... yes checking for pcre.h... yes checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/shm.h usability... yes checking sys/shm.h presence... yes checking for sys/shm.h... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking whether round is declared... no checking whether MD5 is declared... yes checking whether backtrace is declared... yes checking for perl... perl checking for perl version greater than or equal to 5.6.0... ok checking for perl module Sys::Syslog... ok checking for perl module DBI... ok checking for perl module DBD::mysql... ok checking for perl module Getopt::Long... ok checking for perl module Time::HiRes... ok checking for perl module Date::Manip... ok checking for perl module LWP::UserAgent... ok checking for perl module ExtUtils::MakeMaker... ok checking for perl module Module::Load... ok checking for perl module Device::SerialPort... no configure: WARNING: Device::SerialPort is required for RS232/RS485 PTZ camera control checking for perl module Net::FTP... ok checking for perl module Net::SFTP::Foreign... no configure: WARNING: Net::SFTP::Foreign is required for automatic event uploading using sftp checking for perl module Expect... no configure: WARNING: Expect is required for automatic event uploading using sftp checking for perl module Archive::Tar... ok checking for perl module Archive::Zip... ok checking for perl module Net::SMTP... ok checking for perl module MIME::Lite... no configure: WARNING: MIME::Lite may be required for automatic event email notification checking for perl module MIME::Entity... no configure: WARNING: MIME::Entity may be required for automatic event email notification checking for perl module X10::ActiveHome... no configure: WARNING: X10::ActiveHome is required for X.10 support configure: creating ./config.status config.status: creating Makefile config.status: creating zm.conf config.status: creating zmconfgen.pl config.status: creating db/Makefile config.status: creating db/zm_create.sql config.status: creating misc/Makefile config.status: creating misc/apache.conf config.status: creating misc/logrotate.conf config.status: creating misc/syslog.conf config.status: creating scripts/Makefile config.status: creating scripts/zm config.status: creating scripts/zmaudit.pl config.status: creating scripts/zmcontrol.pl config.status: creating scripts/zmdc.pl config.status: creating scripts/zmfilter.pl config.status: creating scripts/zmpkg.pl config.status: creating scripts/zmtrack.pl config.status: creating scripts/zmtrigger.pl config.status: creating scripts/zmupdate.pl config.status: creating scripts/zmvideo.pl config.status: creating scripts/zmwatch.pl config.status: creating scripts/zmx10.pl config.status: creating scripts/zmdbbackup config.status: creating scripts/zmdbrestore config.status: creating scripts/zmeventdump config.status: creating scripts/zmlogrotate.conf config.status: creating scripts/ZoneMinder/lib/ZoneMinder/Base.pm config.status: creating scripts/ZoneMinder/lib/ZoneMinder/Config.pm config.status: creating scripts/ZoneMinder/lib/ZoneMinder/Memory.pm config.status: creating scripts/ZoneMinder/lib/ZoneMinder/ConfigData.pm config.status: creating src/Makefile config.status: creating src/zm_config.h config.status: creating web/Makefile config.status: creating web/ajax/Makefile config.status: creating web/css/Makefile config.status: creating web/graphics/Makefile config.status: creating web/includes/Makefile config.status: creating web/includes/config.php config.status: creating web/js/Makefile config.status: creating web/lang/Makefile config.status: creating web/skins/Makefile config.status: creating web/skins/classic/Makefile config.status: creating web/skins/classic/ajax/Makefile config.status: creating web/skins/classic/css/Makefile config.status: creating web/skins/classic/graphics/Makefile config.status: creating web/skins/classic/includes/Makefile config.status: creating web/skins/classic/js/Makefile config.status: creating web/skins/classic/lang/Makefile config.status: creating web/skins/classic/views/Makefile config.status: creating web/skins/classic/views/css/Makefile config.status: creating web/skins/classic/views/js/Makefile config.status: creating web/skins/mobile/Makefile config.status: creating web/skins/mobile/ajax/Makefile config.status: creating web/skins/mobile/css/Makefile config.status: creating web/skins/mobile/graphics/Makefile config.status: creating web/skins/mobile/includes/Makefile config.status: creating web/skins/mobile/lang/Makefile config.status: creating web/skins/mobile/views/Makefile config.status: creating web/skins/mobile/views/css/Makefile config.status: creating web/tools/Makefile config.status: creating web/tools/mootools/Makefile config.status: creating web/views/Makefile config.status: creating web/skins/xml/Makefile config.status: creating web/skins/xml/views/Makefile config.status: creating web/skins/xml/includes/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing src/zm_config_defines.h commands Generating 'src/zm_config_defines.h' Updating 'db/zm_create.sql' config.status: executing scripts/ZoneMinder/Makefile commands perl Makefile.PL PREFIX=/usr Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for ZoneMinder Writing MYMETA.yml and MYMETA.json make all-recursive make[1]: Entering directory '/home/slitaz/wok/zoneminder/source/zoneminder-1.25.0' Making all in src make[2]: Entering directory '/home/slitaz/wok/zoneminder/source/zoneminder-1.25.0/src' i486-slitaz-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -D_GLIBCXX_USE_C99_MATH=1 -D__STDC_CONSTANT_MACROS -MT zmc.o -MD -MP -MF .deps/zmc.Tpo -c -o zmc.o zmc.cpp i486-slitaz-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -D_GLIBCXX_USE_C99_MATH=1 -D__STDC_CONSTANT_MACROS -MT zm_box.o -MD -MP -MF .deps/zm_box.Tpo -c -o zm_box.o zm_box.cpp i486-slitaz-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -D_GLIBCXX_USE_C99_MATH=1 -D__STDC_CONSTANT_MACROS -MT zm_buffer.o -MD -MP -MF .deps/zm_buffer.Tpo -c -o zm_buffer.o zm_buffer.cpp i486-slitaz-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -D_GLIBCXX_USE_C99_MATH=1 -D__STDC_CONSTANT_MACROS -MT zm_camera.o -MD -MP -MF .deps/zm_camera.Tpo -c -o zm_camera.o zm_camera.cpp i486-slitaz-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -D_GLIBCXX_USE_C99_MATH=1 -D__STDC_CONSTANT_MACROS -MT zm_comms.o -MD -MP -MF .deps/zm_comms.Tpo -c -o zm_comms.o zm_comms.cpp i486-slitaz-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -D_GLIBCXX_USE_C99_MATH=1 -D__STDC_CONSTANT_MACROS -MT zm_config.o -MD -MP -MF .deps/zm_config.Tpo -c -o zm_config.o zm_config.cpp In file included from zm_buffer.cpp:23: zm_buffer.h: In member function 'void Buffer::tidy(bool)': zm_buffer.h:162:33: warning: comparison of constant '2' with boolean expression is always false [-Wbool-compare] else if ( level >= 2 ) ~~~~~~^~~~ In file included from /usr/include/features.h:428, from /usr/include/c++/8.2.0/i486-slitaz-linux/bits/os_defines.h:39, from /usr/include/c++/8.2.0/i486-slitaz-linux/bits/c++config.h:508, from /usr/include/c++/8.2.0/string:38, from zm_config.h:26, from zm.h:23, from zm_camera.cpp:20: /usr/include/bits/mathcalls.h:298:1: error: declaration of 'double round(double) throw ()' has a different exception specifier __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^~~~~~~~~~~ In file included from zm_camera.cpp:20: zm.h:29:8: note: from previous declaration 'double round(double)' double round(double); ^~~~~ mv -f .deps/zm_buffer.Tpo .deps/zm_buffer.Po i486-slitaz-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include -D_GLIBCXX_USE_C99_MATH=1 -D__STDC_CONSTANT_MACROS -MT zm_coord.o -MD -MP -MF .deps/zm_coord.Tpo -c -o zm_coord.o zm_coord.cpp In file included from zm_comms.cpp:20: zm_comms.h: In member function 'virtual int CommsBase::readV(const iovec*, int)': zm_comms.h:91:18: error: '::readv' has not been declared int nBytes = ::readv( mRd, iov, iovcnt ); ^~~~~ zm_comms.h:91:18: note: suggested alternative: 'read' int nBytes = ::readv( mRd, iov, iovcnt ); ^~~~~ read zm_comms.h: In member function 'virtual int CommsBase::writeV(const iovec*, int)': zm_comms.h:98:22: error: '::writev' has not been declared ssize_t nBytes = ::writev( mWd, iov, iovcnt ); ^~~~~~ zm_comms.h:98:22: note: suggested alternative: 'write' ssize_t nBytes = ::writev( mWd, iov, iovcnt ); ^~~~~~ write In file included from /usr/lib/gcc/i486-slitaz-linux/8.2.0/include-fixed/limits.h:194, from /usr/lib/gcc/i486-slitaz-linux/8.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/i486-slitaz-linux/8.2.0/include-fixed/limits.h:34, from /usr/include/zconf.h:418, from /usr/include/zlib.h:34, from zm_image.h:34, from zm_camera.h:26, from zm_camera.cpp:21: zm_image.h:70:25: error: expected identifier before numeric constant enum { CHAR_HEIGHT=11, CHAR_WIDTH=6 }; ^~~~~~~~~~ zm_image.h:70:25: error: expected '}' before numeric constant In file included from zm_camera.h:26, from zm_camera.cpp:21: zm_image.h:70:7: note: to match this '{' enum { CHAR_HEIGHT=11, CHAR_WIDTH=6 }; ^ In file included from /usr/lib/gcc/i486-slitaz-linux/8.2.0/include-fixed/limits.h:194, from /usr/lib/gcc/i486-slitaz-linux/8.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/i486-slitaz-linux/8.2.0/include-fixed/limits.h:34, from /usr/include/zconf.h:418, from /usr/include/zlib.h:34, from zm_image.h:34, from zm_camera.h:26, from zm_camera.cpp:21: zm_image.h:70:25: error: expected unqualified-id before numeric constant enum { CHAR_HEIGHT=11, CHAR_WIDTH=6 }; ^~~~~~~~~~ In file included from zm_camera.h:26, from zm_camera.cpp:21: zm_image.h:71:24: error: 'CHAR_HEIGHT' was not declared in this scope enum { LINE_HEIGHT=CHAR_HEIGHT+0 }; ^~~~~~~~~~~ zm_image.h:71:24: note: suggested alternative: 'CHAR_BIT' enum { LINE_HEIGHT=CHAR_HEIGHT+0 }; ^~~~~~~~~~~ CHAR_BIT zm_image.h:73:1: error: expected unqualified-id before 'protected' protected: ^~~~~~~~~ zm_image.h:79:9: error: 'BlendTablePtr' does not name a type static BlendTablePtr blend_tables[101]; ^~~~~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/getopt.h:24, from zmc.cpp:20: /usr/include/bits/mathcalls.h:298:1: error: declaration of 'double round(double) throw ()' has a different exception specifier __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^~~~~~~~~~~ In file included from zmc.cpp:24: zm.h:29:8: note: from previous declaration 'double round(double)' double round(double); ^~~~~ zm_image.h:84:1: error: expected unqualified-id before 'protected' protected: ^~~~~~~~~ zm_image.h:95:1: error: expected unqualified-id before 'protected' protected: ^~~~~~~~~ zm_image.h:98:1: error: expected unqualified-id before 'protected' protected: ^~~~~~~~~ zm_image.h:100:9: error: 'BlendTablePtr' does not name a type static BlendTablePtr GetBlendTable( int ); ^~~~~~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/c++/8.2.0/i486-slitaz-linux/bits/os_defines.h:39, from /usr/include/c++/8.2.0/i486-slitaz-linux/bits/c++config.h:508, from /usr/include/c++/8.2.0/string:38, from zm_config.h:26, from zm.h:23, from zm_box.cpp:20: /usr/include/bits/mathcalls.h:298:1: error: declaration of 'double round(double) throw ()' has a different exception specifier __MATHCALLX (round,, (_Mdouble_ __x), (__const__)); ^~~~~~~~~~~ In file included from zm_box.cpp:20: zm.h:29:8: note: from previous declaration 'double round(double)' double round(double); ^~~~~ zm_image.h:102:1: error: expected unqualified-id before 'public' public: ^~~~~~ zm_image.h:104:9: error: expected unqualified-id before 'const' Image( const char *filename ); ^~~~~ zm_image.h:104:8: error: expected ')' before 'const' Image( const char *filename ); ~^~~~~~ ) zm_image.h:105:9: error: expected unqualified-id before 'int' Image( int p_width, int p_height, int p_colours, uint8_t *p_buffer=0 ); ^~~ zm_image.h:105:8: error: expected ')' before 'int' Image( int p_width, int p_height, int p_colours, uint8_t *p_buffer=0 ); ~^~~~ ) zm_image.h:106:9: error: expected unqualified-id before 'const' Image( const Image &p_image ); ^~~~~ zm_image.h:106:8: error: expected ')' before 'const' Image( const Image &p_image ); ~^~~~~~ ) zm_image.h:107:10: error: expected constructor, destructor, or type conversion before ';' token ~Image(); ^ zm_image.h:109:21: error: non-member function 'int Width()' cannot have cv-qualifier inline int Width() const { return( width ); } ^~~~~ zm_image.h: In function 'int Width()': zm_image.h:109:37: error: 'width' was not declared in this scope inline int Width() const { return( width ); } ^~~~~ zm_image.h:109:37: note: suggested alternative: 'Width' inline int Width() const { return( width ); } ^~~~~ Width zm_image.h: At global scope: zm_image.h:110:22: error: non-member function 'int Height()' cannot have cv-qualifier inline int Height() const { return( height ); } ^~~~~ zm_image.h:111:22: error: non-member function 'int Pixels()' cannot have cv-qualifier inline int Pixels() const { return( pixels ); } ^~~~~ zm_image.h:112:23: error: non-member function 'int Colours()' cannot have cv-qualifier inline int Colours() const { return( colours ); } ^~~~~ zm_image.h:113:20: error: non-member function 'int Size()' cannot have cv-qualifier inline int Size() const { return( size ); } ^~~~~ zm_image.h:114:27: error: non-member function 'uint8_t* Buffer()' cannot have cv-qualifier inline uint8_t *Buffer() const { return( buffer ); } ^~~~~ zm_image.h:115:62: error: non-member function 'uint8_t* Buffer(unsigned int, unsigned int)' cannot have cv-qualifier inline uint8_t *Buffer( unsigned int x, unsigned int y= 0 ) const { return( &buffer[colours*((y*width)+x)] ); } ^~~~~ zm_image.h: In function 'uint8_t* Buffer(unsigned int, unsigned int)': zm_image.h:115:98: error: 'width' was not declared in this scope inline uint8_t *Buffer( unsigned int x, unsigned int y= 0 ) const { return( &buffer[colours*((y*width)+x)] ); } ^~~~~ zm_image.h:115:98: note: suggested alternative: 'Width' inline uint8_t *Buffer( unsigned int x, unsigned int y= 0 ) const { return( &buffer[colours*((y*width)+x)] ); } ^~~~~ Width zm_image.h: In function 'void CopyBuffer(const Image&)': zm_image.h:123:14: error: 'const class Image' has no member named 'size' if ( image.size != size ) ^~~~ In file included from zm.h:24, from zm_camera.cpp:20: zm_image.h:125:101: error: 'const class Image' has no member named 'size' Panic( "Attempt to copy different size image buffers, expected %d, got %d", size, image.size ); ^~~~ zm_logger.h:205:79: note: in definition of macro 'logPrintf' Logger::fetch()->logPrint( false, __FILE__, __LINE__, logLevel, ##params );\ ^~~~~~ zm_image.h:125:13: note: in expansion of macro 'Panic' Panic( "Attempt to copy different size image buffers, expected %d, got %d", size, image.size ); ^~~~~ In file included from zm_camera.h:26, from zm_camera.cpp:21: zm_image.h:127:25: error: 'const class Image' has no member named 'buffer' memcpy( buffer, image.buffer, size ); ^~~~~~ zm_image.h: At global scope: zm_image.h:129:59: error: 'Image& operator=(const unsigned char*)' must be a nonstatic member function inline Image &operator=( const unsigned char *new_buffer ) ^ zm_image.h:136:40: error: non-member function 'bool WriteRaw(const char*)' cannot have cv-qualifier bool WriteRaw( const char *filename ) const; ^~~~~ zm_image.h:139:65: error: non-member function 'bool WriteJpeg(const char*, int)' cannot have cv-qualifier bool WriteJpeg( const char *filename, int quality_override=0 ) const; ^~~~~ zm_image.h:141:84: error: non-member function 'bool EncodeJpeg(JOCTET*, int*, int)' cannot have cv-qualifier bool EncodeJpeg( JOCTET *outbuffer, int *outbuffer_size, int quality_override=0 ) const; ^~~~~ zm_image.h:145:98: error: non-member function 'bool Zip(Bytef*, long unsigned int*, int)' cannot have cv-qualifier bool Zip( Bytef *outbuffer, unsigned long *outbuffer_size, int compression_level=Z_BEST_SPEED ) const; ^~~~~ zm_image.h:153:56: error: non-member function 'void Blend(const Image&, int)' cannot have cv-qualifier void Blend( const Image &image, int transparency=10 ) const; ^~~~~ zm_image.h:157:37: error: non-member function 'Image* Delta(const Image&)' cannot have cv-qualifier Image *Delta( const Image &image ) const; ^~~~~ zm_image.h:178:1: error: expected declaration before '}' token }; ^ zm_comms.cpp: In member function 'virtual int CommsBase::readV(int, ...)': zm_comms.cpp:51:20: error: '::readv' has not been declared int nBytes = ::readv( mRd, iov, iovcnt ); ^~~~~ zm_comms.cpp:51:20: note: suggested alternative: 'read' int nBytes = ::readv( mRd, iov, iovcnt ); ^~~~~ read zm_comms.cpp: In member function 'virtual int CommsBase::writeV(int, ...)': zm_comms.cpp:71:24: error: '::writev' has not been declared ssize_t nBytes = ::writev( mWd, iov, iovcnt ); ^~~~~~ zm_comms.cpp:71:24: note: suggested alternative: 'write' ssize_t nBytes = ::writev( mWd, iov, iovcnt ); ^~~~~~ write zm_comms.cpp: In member function 'virtual bool Socket::socket()': zm_comms.cpp:250:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ( mSd >= 0 ) ^~ zm_comms.cpp:253:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if ( (mSd = ::socket( getDomain(), getType(), 0 ) ) < 0 ) ^~ zm_comms.cpp: In member function 'bool TcpInetServer::accept(TcpInetSocket*&)': zm_comms.cpp:528:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ( !Socket::accept( newSd ) ) ^~ zm_comms.cpp:531:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' newSocket = new TcpInetSocket( *this, newSd ); ^~~~~~~~~ zm_comms.cpp: In member function 'bool TcpUnixServer::accept(TcpUnixSocket*&)': zm_comms.cpp:541:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if ( !Socket::accept( newSd ) ) ^~ zm_comms.cpp:544:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' newSocket = new TcpUnixSocket( *this, newSd ); ^~~~~~~~~ zm_image.h:154:16: warning: 'Image* Merge(int, Image**)' declared 'static' but never defined [-Wunused-function] static Image *Merge( int n_images, Image *images[] ); ^~~~~ zm_image.h:155:16: warning: 'Image* Merge(int, Image**, double)' declared 'static' but never defined [-Wunused-function] static Image *Merge( int n_images, Image *images[], double weight ); ^~~~~ zm_image.h:156:16: warning: 'Image* Highlight(int, Image**, Rgb, Rgb)' declared 'static' but never defined [-Wunused-function] static Image *Highlight( int n_images, Image *images[], const Rgb threshold=RGB_BLACK, const Rgb ref_colour=RGB_RED ); ^~~~~~~~~ zm_image.h:82:29: warning: 'jpg_err' defined but not used [-Wunused-variable] static struct zm_error_mgr jpg_err; ^~~~~~~ zm_image.h:81:33: warning: 'jpg_dcinfo' defined but not used [-Wunused-variable] static jpeg_decompress_struct *jpg_dcinfo; ^~~~~~~~~~ zm_image.h:80:31: warning: 'jpg_ccinfo' defined but not used [-Wunused-variable] static jpeg_compress_struct *jpg_ccinfo[100]; ^~~~~~~~~~ zm_image.h:78:24: warning: 'y_b_table' defined but not used [-Wunused-variable] static unsigned char *y_b_table; ^~~~~~~~~ zm_image.h:77:24: warning: 'y_g_table' defined but not used [-Wunused-variable] static unsigned char *y_g_table; ^~~~~~~~~ zm_image.h:76:24: warning: 'y_r_table' defined but not used [-Wunused-variable] static unsigned char *y_r_table; ^~~~~~~~~ zm_image.h:75:24: warning: 'abs_table' defined but not used [-Wunused-variable] static unsigned char *abs_table; ^~~~~~~~~ In file included from /usr/lib/gcc/i486-slitaz-linux/8.2.0/include-fixed/limits.h:194, from /usr/lib/gcc/i486-slitaz-linux/8.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/i486-slitaz-linux/8.2.0/include-fixed/limits.h:34, from /usr/include/values.h:27, from zmc.cpp:22: zm_image.h:70:25: error: expected identifier before numeric constant enum { CHAR_HEIGHT=11, CHAR_WIDTH=6 }; ^~~~~~~~~~ make[2]: *** [Makefile:500: zm_camera.o] Error 1 make[2]: *** Waiting for unfinished jobs.... zm_image.h:70:25: error: expected '}' before numeric constant In file included from zm_monitor.h:25, from zmc.cpp:28: zm_image.h:70:7: note: to match this '{' enum { CHAR_HEIGHT=11, CHAR_WIDTH=6 }; ^ In file included from /usr/lib/gcc/i486-slitaz-linux/8.2.0/include-fixed/limits.h:194, from /usr/lib/gcc/i486-slitaz-linux/8.2.0/include-fixed/syslimits.h:7, from /usr/lib/gcc/i486-slitaz-linux/8.2.0/include-fixed/limits.h:34, from /usr/include/values.h:27, from zmc.cpp:22: zm_image.h:70:25: error: expected unqualified-id before numeric constant enum { CHAR_HEIGHT=11, CHAR_WIDTH=6 }; ^~~~~~~~~~ In file included from zm_monitor.h:25, from zmc.cpp:28: zm_image.h:71:24: error: 'CHAR_HEIGHT' was not declared in this scope enum { LINE_HEIGHT=CHAR_HEIGHT+0 }; ^~~~~~~~~~~ zm_image.h:71:24: note: suggested alternative: 'CHAR_BIT' enum { LINE_HEIGHT=CHAR_HEIGHT+0 }; ^~~~~~~~~~~ CHAR_BIT zm_image.h:73:1: error: expected unqualified-id before 'protected' protected: ^~~~~~~~~ zm_image.h:79:9: error: 'BlendTablePtr' does not name a type static BlendTablePtr blend_tables[101]; ^~~~~~~~~~~~~ zm_image.h:84:1: error: expected unqualified-id before 'protected' protected: ^~~~~~~~~ zm_image.h:95:1: error: expected unqualified-id before 'protected' protected: ^~~~~~~~~ zm_image.h:98:1: error: expected unqualified-id before 'protected' protected: ^~~~~~~~~ zm_image.h:100:9: error: 'BlendTablePtr' does not name a type static BlendTablePtr GetBlendTable( int ); ^~~~~~~~~~~~~ zm_image.h:102:1: error: expected unqualified-id before 'public' public: ^~~~~~ zm_image.h:104:9: error: expected unqualified-id before 'const' Image( const char *filename ); ^~~~~ zm_image.h:104:8: error: expected ')' before 'const' Image( const char *filename ); ~^~~~~~ ) zm_image.h:105:9: error: expected unqualified-id before 'int' Image( int p_width, int p_height, int p_colours, uint8_t *p_buffer=0 ); ^~~ zm_image.h:105:8: error: expected ')' before 'int' Image( int p_width, int p_height, int p_colours, uint8_t *p_buffer=0 ); ~^~~~ ) zm_image.h:106:9: error: expected unqualified-id before 'const' Image( const Image &p_image ); ^~~~~ zm_image.h:106:8: error: expected ')' before 'const' Image( const Image &p_image ); ~^~~~~~ ) zm_image.h:107:10: error: expected constructor, destructor, or type conversion before ';' token ~Image(); ^ zm_image.h:109:21: error: non-member function 'int Width()' cannot have cv-qualifier inline int Width() const { return( width ); } ^~~~~ zm_image.h: In function 'int Width()': zm_image.h:109:37: error: 'width' was not declared in this scope inline int Width() const { return( width ); } ^~~~~ zm_image.h:109:37: note: suggested alternative: 'Width' inline int Width() const { return( width ); } ^~~~~ Width zm_image.h: At global scope: zm_image.h:110:22: error: non-member function 'int Height()' cannot have cv-qualifier inline int Height() const { return( height ); } ^~~~~ zm_image.h:111:22: error: non-member function 'int Pixels()' cannot have cv-qualifier inline int Pixels() const { return( pixels ); } ^~~~~ zm_image.h:112:23: error: non-member function 'int Colours()' cannot have cv-qualifier inline int Colours() const { return( colours ); } ^~~~~ zm_image.h:113:20: error: non-member function 'int Size()' cannot have cv-qualifier inline int Size() const { return( size ); } ^~~~~ zm_image.h:114:27: error: non-member function 'uint8_t* Buffer()' cannot have cv-qualifier inline uint8_t *Buffer() const { return( buffer ); } ^~~~~ zm_image.h:115:62: error: non-member function 'uint8_t* Buffer(unsigned int, unsigned int)' cannot have cv-qualifier inline uint8_t *Buffer( unsigned int x, unsigned int y= 0 ) const { return( &buffer[colours*((y*width)+x)] ); } ^~~~~ zm_image.h: In function 'uint8_t* Buffer(unsigned int, unsigned int)': zm_image.h:115:98: error: 'width' was not declared in this scope inline uint8_t *Buffer( unsigned int x, unsigned int y= 0 ) const { return( &buffer[colours*((y*width)+x)] ); } ^~~~~ zm_image.h:115:98: note: suggested alternative: 'Width' inline uint8_t *Buffer( unsigned int x, unsigned int y= 0 ) const { return( &buffer[colours*((y*width)+x)] ); } ^~~~~ Width zm_image.h: In function 'void CopyBuffer(const Image&)': zm_image.h:123:14: error: 'const class Image' has no member named 'size' if ( image.size != size ) ^~~~ In file included from zm.h:24, from zmc.cpp:24: zm_image.h:125:101: error: 'const class Image' has no member named 'size' Panic( "Attempt to copy different size image buffers, expected %d, got %d", size, image.size ); ^~~~ zm_logger.h:205:79: note: in definition of macro 'logPrintf' Logger::fetch()->logPrint( false, __FILE__, __LINE__, logLevel, ##params );\ ^~~~~~ zm_image.h:125:13: note: in expansion of macro 'Panic' Panic( "Attempt to copy different size image buffers, expected %d, got %d", size, image.size ); ^~~~~ In file included from zm_monitor.h:25, from zmc.cpp:28: zm_image.h:127:25: error: 'const class Image' has no member named 'buffer' memcpy( buffer, image.buffer, size ); ^~~~~~ zm_image.h: At global scope: zm_image.h:129:59: error: 'Image& operator=(const unsigned char*)' must be a nonstatic member function inline Image &operator=( const unsigned char *new_buffer ) ^ zm_image.h:136:40: error: non-member function 'bool WriteRaw(const char*)' cannot have cv-qualifier bool WriteRaw( const char *filename ) const; ^~~~~ zm_image.h:139:65: error: non-member function 'bool WriteJpeg(const char*, int)' cannot have cv-qualifier bool WriteJpeg( const char *filename, int quality_override=0 ) const; ^~~~~ zm_image.h:141:84: error: non-member function 'bool EncodeJpeg(JOCTET*, int*, int)' cannot have cv-qualifier bool EncodeJpeg( JOCTET *outbuffer, int *outbuffer_size, int quality_override=0 ) const; ^~~~~ zm_image.h:145:98: error: non-member function 'bool Zip(Bytef*, long unsigned int*, int)' cannot have cv-qualifier bool Zip( Bytef *outbuffer, unsigned long *outbuffer_size, int compression_level=Z_BEST_SPEED ) const; ^~~~~ zm_image.h:153:56: error: non-member function 'void Blend(const Image&, int)' cannot have cv-qualifier void Blend( const Image &image, int transparency=10 ) const; ^~~~~ zm_image.h:157:37: error: non-member function 'Image* Delta(const Image&)' cannot have cv-qualifier Image *Delta( const Image &image ) const; ^~~~~ zm_image.h:178:1: error: expected declaration before '}' token }; ^ make[2]: *** [Makefile:500: zm_box.o] Error 1 zm_image.h:154:16: warning: 'Image* Merge(int, Image**)' declared 'static' but never defined [-Wunused-function] static Image *Merge( int n_images, Image *images[] ); ^~~~~ zm_image.h:155:16: warning: 'Image* Merge(int, Image**, double)' declared 'static' but never defined [-Wunused-function] static Image *Merge( int n_images, Image *images[], double weight ); ^~~~~ zm_image.h:156:16: warning: 'Image* Highlight(int, Image**, Rgb, Rgb)' declared 'static' but never defined [-Wunused-function] static Image *Highlight( int n_images, Image *images[], const Rgb threshold=RGB_BLACK, const Rgb ref_colour=RGB_RED ); ^~~~~~~~~ zm_image.h:82:29: warning: 'jpg_err' defined but not used [-Wunused-variable] static struct zm_error_mgr jpg_err; ^~~~~~~ zm_image.h:81:33: warning: 'jpg_dcinfo' defined but not used [-Wunused-variable] static jpeg_decompress_struct *jpg_dcinfo; ^~~~~~~~~~ zm_image.h:80:31: warning: 'jpg_ccinfo' defined but not used [-Wunused-variable] static jpeg_compress_struct *jpg_ccinfo[100]; ^~~~~~~~~~ zm_image.h:78:24: warning: 'y_b_table' defined but not used [-Wunused-variable] static unsigned char *y_b_table; ^~~~~~~~~ zm_image.h:77:24: warning: 'y_g_table' defined but not used [-Wunused-variable] static unsigned char *y_g_table; ^~~~~~~~~ zm_image.h:76:24: warning: 'y_r_table' defined but not used [-Wunused-variable] static unsigned char *y_r_table; ^~~~~~~~~ zm_image.h:75:24: warning: 'abs_table' defined but not used [-Wunused-variable] static unsigned char *abs_table; ^~~~~~~~~ make[2]: *** [Makefile:500: zmc.o] Error 1 make[2]: *** [Makefile:500: zm_comms.o] Error 1 mv -f .deps/zm_config.Tpo .deps/zm_config.Po mv -f .deps/zm_coord.Tpo .deps/zm_coord.Po make[2]: Leaving directory '/home/slitaz/wok/zoneminder/source/zoneminder-1.25.0/src' make[1]: *** [Makefile:386: all-recursive] Error 1 make[1]: Leaving directory '/home/slitaz/wok/zoneminder/source/zoneminder-1.25.0' make: *** [Makefile:292: all] Error 2 Build dependencies to remove: 129 Removing: bzip2-dev fdk-aac fdk-aac-dev ffmpeg ffmpeg-dev fontconfig fontconfig-dev freetype freetype-dev fribidi fribidi-dev glib glib-dev gmp-dev gnutls gnutls-dev harfbuzz harfbuzz-dev jpeg jpeg-dev lame lame-dev libaio libass libass-dev libav libav-dev libbzip2 libcairo libgnutls libharfbuzz libidn2 libidn2-dev libjpeg libmysqlclient libogg libogg-dev libp11-kit libpcre libpcre16 libpcre32 libpcrecpp libpcreposix libpng libpng-dev libtasn1 libtasn1-dev libtheora libtheora-dev libtheora-enc libunistring libunistring-dev libvorbis libvorbis-dev libvpx libvpx-dev libx11 libx11-dev libxau libxau-dev libxcb libxcb-dev libxdmcp libxdmcp-dev libxml2 libxml2-dev libxml2-tools mysql mysql-client mysql-dev mysql-test nettle nettle-dev openssl-dev opus opus-dev p11-kit p11-kit-dev pcre pcre-apps pcre-dev perl perl-archive-zip perl-core perl-date-manip perl-dbd-mysql perl-dbi perl-encode-locale perl-file-listing perl-getopt-long perl-html-parser perl-html-tagset perl-http-cookies perl-http-daemon perl-http-date perl-http-message perl-http-negotiate perl-io-html perl-libwww-perl perl-lwp-mediatypes perl-net-http perl-test-fatal perl-test-needs perl-test-requiresinternet perl-time-hires perl-try-tiny perl-uri perl-www-robotrules pixman sdl tslib unbound unbound-dev util-linux-blkid util-linux-blkid-dev util-linux-mount util-linux-mount-dev util-linux-smartcols util-linux-uuid util-linux-uuid-dev x264 x264-dev x265 x265-dev xorgproto xz-dev xz-tools zlib-dev zlib-static Debug information ret1. ================================================================================ Cook date: 2019-01-07 20:12 Wasted time : 95s ~ 01m 35s 518:/usr/include/bits/mathcalls.h:298:1: error: declaration of 'double round(double) throw ()' has a different exception specifier 529:zm_comms.h:91:18: error: '::readv' has not been declared 537:zm_comms.h:98:22: error: '::writev' has not been declared 552:zm_image.h:70:25: error: expected identifier before numeric constant 555:zm_image.h:70:25: error: expected '}' before numeric constant 569:zm_image.h:70:25: error: expected unqualified-id before numeric constant 574:zm_image.h:71:24: error: 'CHAR_HEIGHT' was not declared in this scope 581:zm_image.h:73:1: error: expected unqualified-id before 'protected' 584:zm_image.h:79:9: error: 'BlendTablePtr' does not name a type 590:/usr/include/bits/mathcalls.h:298:1: error: declaration of 'double round(double) throw ()' has a different exception specifier 597:zm_image.h:84:1: error: expected unqualified-id before 'protected' 600:zm_image.h:95:1: error: expected unqualified-id before 'protected' 603:zm_image.h:98:1: error: expected unqualified-id before 'protected' 606:zm_image.h:100:9: error: 'BlendTablePtr' does not name a type 616:/usr/include/bits/mathcalls.h:298:1: error: declaration of 'double round(double) throw ()' has a different exception specifier 623:zm_image.h:102:1: error: expected unqualified-id before 'public' 626:zm_image.h:104:9: error: expected unqualified-id before 'const' 629:zm_image.h:104:8: error: expected ')' before 'const' 633:zm_image.h:105:9: error: expected unqualified-id before 'int' 636:zm_image.h:105:8: error: expected ')' before 'int' 640:zm_image.h:106:9: error: expected unqualified-id before 'const' 643:zm_image.h:106:8: error: expected ')' before 'const' 647:zm_image.h:107:10: error: expected constructor, destructor, or type conversion before ';' token 650:zm_image.h:109:21: error: non-member function 'int Width()' cannot have cv-qualifier 654:zm_image.h:109:37: error: 'width' was not declared in this scope 662:zm_image.h:110:22: error: non-member function 'int Height()' cannot have cv-qualifier 665:zm_image.h:111:22: error: non-member function 'int Pixels()' cannot have cv-qualifier 668:zm_image.h:112:23: error: non-member function 'int Colours()' cannot have cv-qualifier 671:zm_image.h:113:20: error: non-member function 'int Size()' cannot have cv-qualifier 674:zm_image.h:114:27: error: non-member function 'uint8_t* Buffer()' cannot have cv-qualifier 677:zm_image.h:115:62: error: non-member function 'uint8_t* Buffer(unsigned int, unsigned int)' cannot have cv-qualifier 681:zm_image.h:115:98: error: 'width' was not declared in this scope 689:zm_image.h:123:14: error: 'const class Image' has no member named 'size' 694:zm_image.h:125:101: error: 'const class Image' has no member named 'size' 705:zm_image.h:127:25: error: 'const class Image' has no member named 'buffer' 709:zm_image.h:129:59: error: 'Image& operator=(const unsigned char*)' must be a nonstatic member function 712:zm_image.h:136:40: error: non-member function 'bool WriteRaw(const char*)' cannot have cv-qualifier 715:zm_image.h:139:65: error: non-member function 'bool WriteJpeg(const char*, int)' cannot have cv-qualifier 718:zm_image.h:141:84: error: non-member function 'bool EncodeJpeg(JOCTET*, int*, int)' cannot have cv-qualifier 721:zm_image.h:145:98: error: non-member function 'bool Zip(Bytef*, long unsigned int*, int)' cannot have cv-qualifier 724:zm_image.h:153:56: error: non-member function 'void Blend(const Image&, int)' cannot have cv-qualifier 727:zm_image.h:157:37: error: non-member function 'Image* Delta(const Image&)' cannot have cv-qualifier 730:zm_image.h:178:1: error: expected declaration before '}' token 734:zm_comms.cpp:51:20: error: '::readv' has not been declared 742:zm_comms.cpp:71:24: error: '::writev' has not been declared 805:zm_image.h:70:25: error: expected identifier before numeric constant 810:zm_image.h:70:25: error: expected '}' before numeric constant 821:zm_image.h:70:25: error: expected unqualified-id before numeric constant 826:zm_image.h:71:24: error: 'CHAR_HEIGHT' was not declared in this scope 833:zm_image.h:73:1: error: expected unqualified-id before 'protected' 836:zm_image.h:79:9: error: 'BlendTablePtr' does not name a type 839:zm_image.h:84:1: error: expected unqualified-id before 'protected' 842:zm_image.h:95:1: error: expected unqualified-id before 'protected' 845:zm_image.h:98:1: error: expected unqualified-id before 'protected' 848:zm_image.h:100:9: error: 'BlendTablePtr' does not name a type 851:zm_image.h:102:1: error: expected unqualified-id before 'public' 854:zm_image.h:104:9: error: expected unqualified-id before 'const' 857:zm_image.h:104:8: error: expected ')' before 'const' 861:zm_image.h:105:9: error: expected unqualified-id before 'int' 864:zm_image.h:105:8: error: expected ')' before 'int' 868:zm_image.h:106:9: error: expected unqualified-id before 'const' 871:zm_image.h:106:8: error: expected ')' before 'const' 875:zm_image.h:107:10: error: expected constructor, destructor, or type conversion before ';' token 878:zm_image.h:109:21: error: non-member function 'int Width()' cannot have cv-qualifier 882:zm_image.h:109:37: error: 'width' was not declared in this scope 890:zm_image.h:110:22: error: non-member function 'int Height()' cannot have cv-qualifier 893:zm_image.h:111:22: error: non-member function 'int Pixels()' cannot have cv-qualifier 896:zm_image.h:112:23: error: non-member function 'int Colours()' cannot have cv-qualifier 899:zm_image.h:113:20: error: non-member function 'int Size()' cannot have cv-qualifier 902:zm_image.h:114:27: error: non-member function 'uint8_t* Buffer()' cannot have cv-qualifier 905:zm_image.h:115:62: error: non-member function 'uint8_t* Buffer(unsigned int, unsigned int)' cannot have cv-qualifier 909:zm_image.h:115:98: error: 'width' was not declared in this scope 917:zm_image.h:123:14: error: 'const class Image' has no member named 'size' 922:zm_image.h:125:101: error: 'const class Image' has no member named 'size' 933:zm_image.h:127:25: error: 'const class Image' has no member named 'buffer' 937:zm_image.h:129:59: error: 'Image& operator=(const unsigned char*)' must be a nonstatic member function 940:zm_image.h:136:40: error: non-member function 'bool WriteRaw(const char*)' cannot have cv-qualifier 943:zm_image.h:139:65: error: non-member function 'bool WriteJpeg(const char*, int)' cannot have cv-qualifier 946:zm_image.h:141:84: error: non-member function 'bool EncodeJpeg(JOCTET*, int*, int)' cannot have cv-qualifier 949:zm_image.h:145:98: error: non-member function 'bool Zip(Bytef*, long unsigned int*, int)' cannot have cv-qualifier 952:zm_image.h:153:56: error: non-member function 'void Blend(const Image&, int)' cannot have cv-qualifier 955:zm_image.h:157:37: error: non-member function 'Image* Delta(const Image&)' cannot have cv-qualifier 958:zm_image.h:178:1: error: expected declaration before '}' token ================================================================================ Post-check ================================================================================ Checking build... Failed Updating activity log... Done ================================================================================