---- Server + Mysql + Agent --- netbsd7# ./configure --enable-server --enable-agent --with-mysql; make install 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 checking whether make supports nested variables... yes configure: Configuring Zabbix 2.4.6 checking whether make sets $(MAKE)... (cached) yes checking build system type... x86_64-unknown-netbsd7.0 checking host system type... x86_64-unknown-netbsd7.0 checking for gcc... gcc 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/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 stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking mtent.h usability... no checking mtent.h presence... no checking for mtent.h... no checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking sys/vfs.h usability... no checking sys/vfs.h presence... no checking for sys/vfs.h... no checking sys/pstat.h usability... no checking sys/pstat.h presence... no checking for sys/pstat.h... no checking sys/sysinfo.h usability... no checking sys/sysinfo.h presence... no checking for sys/sysinfo.h... no checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking sys/statfs.h usability... no checking sys/statfs.h presence... no checking for sys/statfs.h... no checking for sys/socket.h... (cached) yes checking sys/loadavg.h usability... no checking sys/loadavg.h presence... no checking for sys/loadavg.h... no checking for arpa/inet.h... (cached) yes checking sys/vmmeter.h usability... yes checking sys/vmmeter.h presence... yes checking for sys/vmmeter.h... yes checking for strings.h... (cached) yes checking vm/vm_param.h usability... no checking vm/vm_param.h presence... no checking for vm/vm_param.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking kstat.h usability... no checking kstat.h presence... no checking for kstat.h... no checking sys/syscall.h usability... yes checking sys/syscall.h presence... yes checking for sys/syscall.h... yes checking sys/sysmacros.h usability... no checking sys/sysmacros.h presence... no checking for sys/sysmacros.h... no checking for stdint.h... (cached) yes checking mach/host_info.h usability... no checking mach/host_info.h presence... no checking for mach/host_info.h... no checking mach/mach_host.h usability... no checking mach/mach_host.h presence... no checking for mach/mach_host.h... no checking knlist.h usability... no checking knlist.h presence... no checking for knlist.h... no checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking sys/var.h usability... no checking sys/var.h presence... no checking for sys/var.h... no checking arpa/nameser.h usability... yes checking arpa/nameser.h presence... yes checking for arpa/nameser.h... yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking sys/dkstat.h usability... yes checking sys/dkstat.h presence... yes checking for sys/dkstat.h... yes checking sys/disk.h usability... yes checking sys/disk.h presence... yes checking for sys/disk.h... yes checking sys/sched.h usability... yes checking sys/sched.h presence... yes checking for sys/sched.h... yes checking zone.h usability... no checking zone.h presence... no checking for zone.h... no checking nlist.h usability... yes checking nlist.h presence... yes checking for nlist.h... yes checking kvm.h usability... yes checking kvm.h presence... yes checking for kvm.h... yes checking linux/kernel.h usability... no checking linux/kernel.h presence... no checking for linux/kernel.h... no checking procinfo.h usability... no checking procinfo.h presence... no checking for procinfo.h... no checking sys/dk.h usability... no checking sys/dk.h presence... no checking for sys/dk.h... no checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking process.h usability... no checking process.h presence... no checking for process.h... no checking conio.h usability... no checking conio.h presence... no checking for conio.h... no checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking winsock2.h usability... no checking winsock2.h presence... no checking for winsock2.h... no checking pdh.h usability... no checking pdh.h presence... no checking for pdh.h... no checking psapi.h usability... no checking psapi.h presence... no checking for psapi.h... no checking sys/sem.h usability... yes checking sys/sem.h presence... yes checking for sys/sem.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 Winldap.h usability... no checking Winldap.h presence... no checking for Winldap.h... no checking sys/timeb.h usability... yes checking sys/timeb.h presence... yes checking for sys/timeb.h... yes checking Winber.h usability... no checking Winber.h presence... no checking for Winber.h... no checking lber.h usability... yes checking lber.h presence... yes checking for lber.h... yes checking ws2tcpip.h usability... no checking ws2tcpip.h presence... no checking for ws2tcpip.h... no checking for inttypes.h... (cached) yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking libperfstat.h usability... no checking libperfstat.h presence... no checking for libperfstat.h... no checking sys/systemcfg.h usability... no checking sys/systemcfg.h presence... no checking for sys/systemcfg.h... no checking sys/mnttab.h usability... no checking sys/mnttab.h presence... no checking for sys/mnttab.h... no checking mntent.h usability... no checking mntent.h presence... no checking for mntent.h... no checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking for resolv.h... yes checking for net/if.h... yes checking for net/if_mib.h... no checking for sys/mount.h... yes checking for sys/proc.h... yes checking for sys/sysctl.h... yes checking for sys/user.h... yes checking for sys/swap.h... yes checking for sys/ucontext.h... yes checking for devstat.h... no checking for library containing socket... none required checking for library containing kstat_open... no checking for library containing gethostbyname... none required checking for library containing clock_gettime... none required checking for library containing dlopen... none required checking for library containing perfstat_memory_total... no checking for library containing devstat_getdevs... no checking for library containing getdevs... no checking for library containing backtrace_symbols... -lexecinfo checking for main in -lm... yes checking for main in -lkvm... yes checking for DNS lookup functions... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for an ANSI C-conforming const... yes checking for pid_t... yes checking for socklen_t... yes checking for actual socklen_t parameter type in socket functions... socklen_t checking for integer field name in union sigval of struct siginfo_t... sival_int checking for union semun... no checking for struct swaptable in sys/swap.h... no checking for struct sensordev in sys/sensors.h... no checking for struct statvfs64 in sys/statvfs.h... no checking for struct statfs64 in sys/statfs.h... no checking for field ss_family in struct sockaddr_storage... yes checking for field mem_unit in struct sysinfo... no checking for field freeswap in struct sysinfo... no checking for field totalswap in struct sysinfo... no checking for field totalram in struct sysinfo... no checking for field sharedram in struct sysinfo... no checking for field bufferram in struct sysinfo... no checking for field freeram in struct sysinfo... no checking for field uptime in struct sysinfo... no checking for field procs in struct sysinfo... no checking for field tm_gmtoff in struct tm... yes checking for function sysconf() in unistd.h... no checking for function initgroups()... yes checking for functions seteuid() and setegid()... yes checking for function setproctitle()... yes checking for function sysctlbyname()... yes checking for function sysctl (KERN_BOOTTIME)... yes checking for function sysctl (HW_NCPU)... yes checking for function sysctl (KERN_MAXFILES)... yes checking for function sysctl (KERN_MAXPROC)... yes checking for function sysctl (KERN_CPTIME,KERN_CPTIME2)... no checking for function clock_gettime in time.h... yes checking for macro __va_copy() in stdarg.h... yes checking for macro __VA_ARGS__... yes checking return type of signal handlers... void checking for getloadavg... yes checking for hstrerror... yes checking for getenv... yes checking for putenv... yes checking for sigqueue... yes checking for /proc filesystem... yes checking for file /proc/stat... yes checking for file /proc/cpuinfo... yes checking for file /proc/0/psinfo... no checking for file /proc/loadavg... yes checking for file /proc/net/dev... no checking for long long format... yes checking for -rdynamic linking option... yes checking for libperfstat 5.2.0.40 fileset... no checking for libperfstat 5.3.0.60 fileset... no checking for architecture... netbsd (netbsd7.0) checking size of void *... 8 checking for mysql_config... /usr/pkg/bin/mysql_config checking for main in -lmysqlclient... yes checking for Oracle support... no checking for Zabbix server/proxy database selection... ok checking for multirow insert statements... yes checking for pkg-config... /usr/pkg/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for ICONV support... yes checking for mkdir -p candidate... ok (./install-sh -c -d) checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating database/Makefile config.status: creating misc/Makefile config.status: creating src/Makefile config.status: creating src/libs/Makefile config.status: creating src/libs/zbxlog/Makefile config.status: creating src/libs/zbxalgo/Makefile config.status: creating src/libs/zbxmemory/Makefile config.status: creating src/libs/zbxcrypto/Makefile config.status: creating src/libs/zbxconf/Makefile config.status: creating src/libs/zbxdbcache/Makefile config.status: creating src/libs/zbxdbhigh/Makefile config.status: creating src/libs/zbxmedia/Makefile config.status: creating src/libs/zbxsysinfo/Makefile config.status: creating src/libs/zbxcommon/Makefile config.status: creating src/libs/zbxsysinfo/agent/Makefile config.status: creating src/libs/zbxsysinfo/common/Makefile config.status: creating src/libs/zbxsysinfo/simple/Makefile config.status: creating src/libs/zbxsysinfo/linux/Makefile config.status: creating src/libs/zbxsysinfo/aix/Makefile config.status: creating src/libs/zbxsysinfo/freebsd/Makefile config.status: creating src/libs/zbxsysinfo/hpux/Makefile config.status: creating src/libs/zbxsysinfo/openbsd/Makefile config.status: creating src/libs/zbxsysinfo/osx/Makefile config.status: creating src/libs/zbxsysinfo/solaris/Makefile config.status: creating src/libs/zbxsysinfo/osf/Makefile config.status: creating src/libs/zbxsysinfo/netbsd/Makefile config.status: creating src/libs/zbxsysinfo/unknown/Makefile config.status: creating src/libs/zbxnix/Makefile config.status: creating src/libs/zbxsys/Makefile config.status: creating src/libs/zbxcomms/Makefile config.status: creating src/libs/zbxcommshigh/Makefile config.status: creating src/libs/zbxdb/Makefile config.status: creating src/libs/zbxdbupgrade/Makefile config.status: creating src/libs/zbxjson/Makefile config.status: creating src/libs/zbxserver/Makefile config.status: creating src/libs/zbxicmpping/Makefile config.status: creating src/libs/zbxexec/Makefile config.status: creating src/libs/zbxself/Makefile config.status: creating src/libs/zbxmodules/Makefile config.status: creating src/libs/zbxregexp/Makefile config.status: creating src/zabbix_agent/Makefile config.status: creating src/zabbix_get/Makefile config.status: creating src/zabbix_sender/Makefile config.status: creating src/zabbix_server/Makefile config.status: creating src/zabbix_server/alerter/Makefile config.status: creating src/zabbix_server/dbsyncer/Makefile config.status: creating src/zabbix_server/dbconfig/Makefile config.status: creating src/zabbix_server/discoverer/Makefile config.status: creating src/zabbix_server/housekeeper/Makefile config.status: creating src/zabbix_server/httppoller/Makefile config.status: creating src/zabbix_server/pinger/Makefile config.status: creating src/zabbix_server/poller/Makefile config.status: creating src/zabbix_server/snmptrapper/Makefile config.status: creating src/zabbix_server/timer/Makefile config.status: creating src/zabbix_server/trapper/Makefile config.status: creating src/zabbix_server/watchdog/Makefile config.status: creating src/zabbix_server/escalator/Makefile config.status: creating src/zabbix_server/proxypoller/Makefile config.status: creating src/zabbix_server/selfmon/Makefile config.status: creating src/zabbix_server/vmware/Makefile config.status: creating src/zabbix_proxy/Makefile config.status: creating src/zabbix_proxy/heart/Makefile config.status: creating src/zabbix_proxy/housekeeper/Makefile config.status: creating src/zabbix_proxy/proxyconfig/Makefile config.status: creating src/zabbix_proxy/datasender/Makefile config.status: creating src/zabbix_java/Makefile config.status: creating upgrades/Makefile config.status: creating man/Makefile config.status: creating include/config.h config.status: executing depfiles commands Configuration: Detected OS: netbsd7.0 Install path: /usr/local Compilation arch: netbsd Compiler: gcc Compiler flags: -g -O2 -I/usr/pkg/include/mysql -DUSE_OLD_FUNCTIONS -fPIC -DPIC -g -DNDEBUG Enable server: yes Server details: With database: MySQL WEB Monitoring: no Native Jabber: no SNMP: no IPMI: no SSH: no ODBC: no Linker flags: -rdynamic -L/usr/pkg/lib Libraries: -lkvm -lm -lexecinfo -lmysqlclient Enable proxy: no Enable agent: yes Agent details: Linker flags: -rdynamic Libraries: -lkvm -lm -lexecinfo Enable Java gateway: no LDAP support: no IPv6 support: no *********************************************************** * Now run 'make install' * * * * Thank you for using Zabbix! * * * *********************************************************** Making install in src Making install in libs Making install in zbxcrypto gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -I/usr/pkg/include/mysql -D USE_OLD_FUNCTIONS -fPIC -DPIC -g -DNDEBUG -MT md5.o -MD -MP -MF .deps/md5.Tpo - c -o md5.o md5.c mv -f .deps/md5.Tpo .deps/md5.Po gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -I/usr/pkg/include/mysql -D USE_OLD_FUNCTIONS -fPIC -DPIC -g -DNDEBUG -MT base64.o -MD -MP -MF .deps/base64 .Tpo -c -o base64.o base64.c mv -f .deps/base64.Tpo .deps/base64.Po rm -f libzbxcrypto.a ar cru libzbxcrypto.a md5.o base64.o ranlib libzbxcrypto.a Making install in zbxcommon gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -I/usr/pkg/include/mysql -DUSE_OLD_FUNCTIONS -fPIC -DPIC -g -DNDEBUG -MT misc.o -MD -MP -MF .deps/misc.Tpo -c -o misc.o misc.c mv -f .deps/misc.Tpo .deps/misc.Po gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -I/usr/pkg/include/mysql -DUSE_OLD_FUNCTIONS -fPIC -DPIC -g -DNDEBUG -MT xml.o -MD -MP -MF .deps/xml.Tpo -c -o xml.o xml.c mv -f .deps/xml.Tpo .deps/xml.Po gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -I/usr/pkg/include/mysql -DUSE_OLD_FUNCTIONS -fPIC -DPIC -g -DNDEBUG -MT comms.o -MD -MP -MF .deps/comms.Tpo -c -o comms.o comms.c mv -f .deps/comms.Tpo .deps/comms.Po gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -I/usr/pkg/include/mysql -DUSE_OLD_FUNCTIONS -fPIC -DPIC -g -DNDEBUG -MT str.o -MD -MP -MF .deps/str.Tpo -c -o str.o str.c str.c: In function 'convert_to_utf8': str.c:2700:2: warning: passing argument 2 of 'iconv' from incompatible pointer type [enabled by default] while ((size_t)(-1) == iconv(cd, &in, &in_size_left, &p, &out_size_left)) ^ In file included from ../../../include/sysinc.h:411:0, from ../../../include/common.h:23, from str.c:20: /usr/include/iconv.h:46:8: note: expected 'const char ** __restrict__' but argument is of type 'char **' size_t iconv(iconv_t, const char ** __restrict, ^ mv -f .deps/str.Tpo .deps/str.Po gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -I/usr/pkg/include/mysql -DUSE_OLD_FUNCTIONS -fPIC -DPIC -g -DNDEBUG -MT time.o -MD -MP -MF .deps/time.Tpo -c -o time.o time.c mv -f .deps/time.Tpo .deps/time.Po gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -I/usr/pkg/include/mysql -DUSE_OLD_FUNCTIONS -fPIC -DPIC -g -DNDEBUG -MT zbxgetopt.o -MD -MP -MF .deps/zbxgetopt.Tpo -c -o zbxgetopt.o zbxgetopt.c mv -f .deps/zbxgetopt.Tpo .deps/zbxgetopt.Po gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -I/usr/pkg/include/mysql -DUSE_OLD_FUNCTIONS -fPIC -DPIC -g -DNDEBUG -MT alias.o -MD -MP -MF .deps/alias.Tpo -c -o alias.o alias.c mv -f .deps/alias.Tpo .deps/alias.Po gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -I/usr/pkg/include/mysql -DUSE_OLD_FUNCTIONS -fPIC -DPIC -g -DNDEBUG -MT file.o -MD -MP -MF .deps/file.Tpo -c -o file.o file.c mv -f .deps/file.Tpo .deps/file.Po gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -I/usr/pkg/include/mysql -DUSE_OLD_FUNCTIONS -fPIC -DPIC -g -DNDEBUG -MT setproctitle.o -MD -MP -MF .deps/setproctitle.Tpo -c -o setproctitle.o setproctitle.c mv -f .deps/setproctitle.Tpo .deps/setproctitle.Po gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -I/usr/pkg/include/mysql -DUSE_OLD_FUNCTIONS -fPIC -DPIC -g -DNDEBUG -MT iprange.o -MD -MP -MF .deps/iprange.Tpo -c -o iprange.o iprange.c mv -f .deps/iprange.Tpo .deps/iprange.Po rm -f libzbxcommon.a ar cru libzbxcommon.a misc.o xml.o comms.o str.o time.o zbxgetopt.o alias.o file.o setproctitle.o iprange.o ranlib libzbxcommon.a Making install in zbxlog gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -I/usr/pkg/include/mysql -DUSE_OLD_FUNCTIONS -fPIC -DPIC -g -DNDEBUG -MT log.o -MD -MP -MF .deps/log.Tpo -c -o log.o log.c mv -f .deps/log.Tpo .deps/log.Po rm -f libzbxlog.a ar cru libzbxlog.a log.o ranlib libzbxlog.a Making install in zbxalgo gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -I/usr/pkg/include/mysql -DUSE_OLD_FUNCTIONS -fPIC -DPIC -g -DNDEBUG -MT algodefs.o -MD -MP -MF .deps/algodefs.Tpo -c -o algodefs.o algodefs.c mv -f .deps/algodefs.Tpo .deps/algodefs.Po gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -I/usr/pkg/include/mysql -DUSE_OLD_FUNCTIONS -fPIC -DPIC -g -DNDEBUG -MT binaryheap.o -MD -MP -MF .deps/binaryheap.Tpo -c -o binaryheap.o binaryheap.c mv -f .deps/binaryheap.Tpo .deps/binaryheap.Po gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -I/usr/pkg/include/mysql -DUSE_OLD_FUNCTIONS -fPIC -DPIC -g -DNDEBUG -MT evaluate.o -MD -MP -MF .deps/evaluate.Tpo -c -o evaluate.o evaluate.c mv -f .deps/evaluate.Tpo .deps/evaluate.Po gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -I/usr/pkg/include/mysql -DUSE_OLD_FUNCTIONS -fPIC -DPIC -g -DNDEBUG -MT hashmap.o -MD -MP -MF .deps/hashmap.Tpo -c -o hashmap.o hashmap.c mv -f .deps/hashmap.Tpo .deps/hashmap.Po gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -I/usr/pkg/include/mysql -DUSE_OLD_FUNCTIONS -fPIC -DPIC -g -DNDEBUG -MT hashset.o -MD -MP -MF .deps/hashset.Tpo -c -o hashset.o hashset.c mv -f .deps/hashset.Tpo .deps/hashset.Po gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -I/usr/pkg/include/mysql -DUSE_OLD_FUNCTIONS -fPIC -DPIC -g -DNDEBUG -MT int128.o -MD -MP -MF .deps/int128.Tpo -c -o int128.o int128.c mv -f .deps/int128.Tpo .deps/int128.Po gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -I/usr/pkg/include/mysql -DUSE_OLD_FUNCTIONS -fPIC -DPIC -g -DNDEBUG -MT vector.o -MD -MP -MF .deps/vector.Tpo -c -o vector.o vector.c mv -f .deps/vector.Tpo .deps/vector.Po rm -f libzbxalgo.a ar cru libzbxalgo.a algodefs.o binaryheap.o evaluate.o hashmap.o hashset.o int128.o vector.o ranlib libzbxalgo.a Making install in zbxnix gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -I/usr/pkg/include/mysql -DUSE_OLD_FUNCTIONS -fPIC -DPIC -g -DNDEBUG -MT daemon.o -MD -MP -MF .deps/daemon.Tpo -c -o daemon.o daemon.c mv -f .deps/daemon.Tpo .deps/daemon.Po gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -I/usr/pkg/include/mysql -DUSE_OLD_FUNCTIONS -fPIC -DPIC -g -DNDEBUG -MT pid.o -MD -MP -MF .deps/pid.Tpo -c -o pid.o pid.c mv -f .deps/pid.Tpo .deps/pid.Po gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -I/usr/pkg/include/mysql -DUSE_OLD_FUNCTIONS -fPIC -DPIC -g -DNDEBUG -MT ipc.o -MD -MP -MF .deps/ipc.Tpo -c -o ipc.o ipc.c mv -f .deps/ipc.Tpo .deps/ipc.Po gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -I/usr/pkg/include/mysql -DUSE_OLD_FUNCTIONS -fPIC -DPIC -g -DNDEBUG -MT fatal.o -MD -MP -MF .deps/fatal.Tpo -c -o fatal.o fatal.c mv -f .deps/fatal.Tpo .deps/fatal.Po gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -I/usr/pkg/include/mysql -DUSE_OLD_FUNCTIONS -fPIC -DPIC -g -DNDEBUG -MT sighandler.o -MD -MP -MF .deps/sighandler.Tpo -c -o sighandler.o sighandler.c mv -f .deps/sighandler.Tpo .deps/sighandler.Po gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -I/usr/pkg/include/mysql -DUSE_OLD_FUNCTIONS -fPIC -DPIC -g -DNDEBUG -MT control.o -MD -MP -MF .deps/control.Tpo -c -o control.o control.c mv -f .deps/control.Tpo .deps/control.Po rm -f libzbxnix.a ar cru libzbxnix.a daemon.o pid.o ipc.o fatal.o sighandler.o control.o ranlib libzbxnix.a Making install in zbxconf gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -I/usr/pkg/include/mysql -DUSE_OLD_FUNCTIONS -fPIC -DPIC -g -DNDEBUG -MT cfg.o -MD -MP -MF .deps/cfg.Tpo -c -o cfg.o cfg.c mv -f .deps/cfg.Tpo .deps/cfg.Po rm -f libzbxconf.a ar cru libzbxconf.a cfg.o ranlib libzbxconf.a Making install in zbxsysinfo Making install in agent gcc -DHAVE_CONFIG_H -I. -I../../../../include -g -O2 -I/usr/pkg/include/mysql -DUSE_OLD_FUNCTIONS -fPIC -DPIC -g -DNDEBUG -MT agent.o -MD -MP -MF .deps/agent.Tpo -c -o agent.o agent.c mv -f .deps/agent.Tpo .deps/agent.Po rm -f libagentsysinfo.a ar cru libagentsysinfo.a agent.o ranlib libagentsysinfo.a Making install in common gcc -DHAVE_CONFIG_H -I. -I../../../../include -g -O2 -I/usr/pkg/include/mysql -DUSE_OLD_FUNCTIONS -fPIC -DPIC -g -DNDEBUG -MT common.o -MD -MP -MF .deps/common.Tpo -c -o common.o common.c mv -f .deps/common.Tpo .deps/common.Po gcc -DHAVE_CONFIG_H -I. -I../../../../include -g -O2 -I/usr/pkg/include/mysql -DUSE_OLD_FUNCTIONS -fPIC -DPIC -g -DNDEBUG -MT file.o -MD -MP -MF .deps/file.Tpo -c -o file.o file.c mv -f .deps/file.Tpo .deps/file.Po gcc -DHAVE_CONFIG_H -I. -I../../../../include -g -O2 -I/usr/pkg/include/mysql -DUSE_OLD_FUNCTIONS -fPIC -DPIC -g -DNDEBUG -MT http.o -MD -MP -MF .deps/http.Tpo -c -o http.o http.c mv -f .deps/http.Tpo .deps/http.Po gcc -DHAVE_CONFIG_H -I. -I../../../../include -g -O2 -I/usr/pkg/include/mysql -DUSE_OLD_FUNCTIONS -fPIC -DPIC -g -DNDEBUG -MT net.o -MD -MP -MF .deps/net.Tpo -c -o net.o net.c mv -f .deps/net.Tpo .deps/net.Po gcc -DHAVE_CONFIG_H -I. -I../../../../include -g -O2 -I/usr/pkg/include/mysql -DUSE_OLD_FUNCTIONS -fPIC -DPIC -g -DNDEBUG -MT system.o -MD -MP -MF .deps/system.Tpo -c -o system.o system.c mv -f .deps/system.Tpo .deps/system.Po rm -f libcommonsysinfo.a ar cru libcommonsysinfo.a common.o file.o http.o net.o system.o ranlib libcommonsysinfo.a Making install in simple gcc -DHAVE_CONFIG_H -I. -I../../../../include -g -O2 -I/usr/pkg/include/mysql -DUSE_OLD_FUNCTIONS -fPIC -DPIC -g -DNDEBUG -MT simple.o -MD -MP -MF .deps/simple.Tpo -c -o simple.o simple.c mv -f .deps/simple.Tpo .deps/simple.Po gcc -DHAVE_CONFIG_H -I. -I../../../../include -g -O2 -I/usr/pkg/include/mysql -DUSE_OLD_FUNCTIONS -fPIC -DPIC -g -DNDEBUG -MT ntp.o -MD -MP -MF .deps/ntp.Tpo -c -o ntp.o ntp.c mv -f .deps/ntp.Tpo .deps/ntp.Po rm -f libsimplesysinfo.a ar cru libsimplesysinfo.a simple.o ntp.o ranlib libsimplesysinfo.a Making install in netbsd gcc -DHAVE_CONFIG_H -I. -I../../../../include -I../../../../src/zabbix_agent/ -g -O2 -I/usr/pkg/include/mysql -DUSE_OLD_FUNCTIONS -fPIC -DPIC -g -DNDEBUG -MT libspecsysinfo_a-boottime.o -MD -MP -MF .deps/libspecsysinfo_a-boottime.Tpo -c -o libspecsysinfo_a-boottime.o `test -f 'boottime.c' || echo './'`boottime.c mv -f .deps/libspecsysinfo_a-boottime.Tpo .deps/libspecsysinfo_a-boottime.Po gcc -DHAVE_CONFIG_H -I. -I../../../../include -I../../../../src/zabbix_agent/ -g -O2 -I/usr/pkg/include/mysql -DUSE_OLD_FUNCTIONS -fPIC -DPIC -g -DNDEBUG -MT libspecsysinfo_a-cpu.o -MD -MP -MF .deps/libspecsysinfo_a-cpu.Tpo -c -o libspecsysinfo_a-cpu.o `test -f 'cpu.c' || echo './'`cpu.c cpu.c: In function 'SYSTEM_CPU_SWITCHES': cpu.c:232:23: error: storage size of 'v' isn't known struct uvmexp_sysctl v; ^ cpu.c:234:15: error: invalid application of 'sizeof' to incomplete type 'struct uvmexp_sysctl' len = sizeof(struct uvmexp_sysctl); ^ cpu.c: In function 'SYSTEM_CPU_INTR': cpu.c:251:23: error: storage size of 'v' isn't known struct uvmexp_sysctl v; ^ cpu.c:253:15: error: invalid application of 'sizeof' to incomplete type 'struct uvmexp_sysctl' len = sizeof(struct uvmexp_sysctl); ^ *** Error code 1 Stop. make[4]: stopped in /usr/local/zabbix-2.4.6/src/libs/zbxsysinfo/netbsd *** Error code 1 Stop. make[3]: stopped in /usr/local/zabbix-2.4.6/src/libs/zbxsysinfo *** Error code 1 Stop. make[2]: stopped in /usr/local/zabbix-2.4.6/src/libs *** Error code 1 ---- Server + Mysql --- netbsd7# ./configure --enable-server --with-mysql; make install 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 checking whether make supports nested variables... yes configure: Configuring Zabbix 2.4.6 checking whether make sets $(MAKE)... (cached) yes checking build system type... x86_64-unknown-netbsd7.0 checking host system type... x86_64-unknown-netbsd7.0 checking for gcc... gcc 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/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 stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking mtent.h usability... no checking mtent.h presence... no checking for mtent.h... no checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking sys/vfs.h usability... no checking sys/vfs.h presence... no checking for sys/vfs.h... no checking sys/pstat.h usability... no checking sys/pstat.h presence... no checking for sys/pstat.h... no checking sys/sysinfo.h usability... no checking sys/sysinfo.h presence... no checking for sys/sysinfo.h... no checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking sys/statfs.h usability... no checking sys/statfs.h presence... no checking for sys/statfs.h... no checking for sys/socket.h... (cached) yes checking sys/loadavg.h usability... no checking sys/loadavg.h presence... no checking for sys/loadavg.h... no checking for arpa/inet.h... (cached) yes checking sys/vmmeter.h usability... yes checking sys/vmmeter.h presence... yes checking for sys/vmmeter.h... yes checking for strings.h... (cached) yes checking vm/vm_param.h usability... no checking vm/vm_param.h presence... no checking for vm/vm_param.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking kstat.h usability... no checking kstat.h presence... no checking for kstat.h... no checking sys/syscall.h usability... yes checking sys/syscall.h presence... yes checking for sys/syscall.h... yes checking sys/sysmacros.h usability... no checking sys/sysmacros.h presence... no checking for sys/sysmacros.h... no checking for stdint.h... (cached) yes checking mach/host_info.h usability... no checking mach/host_info.h presence... no checking for mach/host_info.h... no checking mach/mach_host.h usability... no checking mach/mach_host.h presence... no checking for mach/mach_host.h... no checking knlist.h usability... no checking knlist.h presence... no checking for knlist.h... no checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking sys/var.h usability... no checking sys/var.h presence... no checking for sys/var.h... no checking arpa/nameser.h usability... yes checking arpa/nameser.h presence... yes checking for arpa/nameser.h... yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking sys/dkstat.h usability... yes checking sys/dkstat.h presence... yes checking for sys/dkstat.h... yes checking sys/disk.h usability... yes checking sys/disk.h presence... yes checking for sys/disk.h... yes checking sys/sched.h usability... yes checking sys/sched.h presence... yes checking for sys/sched.h... yes checking zone.h usability... no checking zone.h presence... no checking for zone.h... no checking nlist.h usability... yes checking nlist.h presence... yes checking for nlist.h... yes checking kvm.h usability... yes checking kvm.h presence... yes checking for kvm.h... yes checking linux/kernel.h usability... no checking linux/kernel.h presence... no checking for linux/kernel.h... no checking procinfo.h usability... no checking procinfo.h presence... no checking for procinfo.h... no checking sys/dk.h usability... no checking sys/dk.h presence... no checking for sys/dk.h... no checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking process.h usability... no checking process.h presence... no checking for process.h... no checking conio.h usability... no checking conio.h presence... no checking for conio.h... no checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking winsock2.h usability... no checking winsock2.h presence... no checking for winsock2.h... no checking pdh.h usability... no checking pdh.h presence... no checking for pdh.h... no checking psapi.h usability... no checking psapi.h presence... no checking for psapi.h... no checking sys/sem.h usability... yes checking sys/sem.h presence... yes checking for sys/sem.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 Winldap.h usability... no checking Winldap.h presence... no checking for Winldap.h... no checking sys/timeb.h usability... yes checking sys/timeb.h presence... yes checking for sys/timeb.h... yes checking Winber.h usability... no checking Winber.h presence... no checking for Winber.h... no checking lber.h usability... yes checking lber.h presence... yes checking for lber.h... yes checking ws2tcpip.h usability... no checking ws2tcpip.h presence... no checking for ws2tcpip.h... no checking for inttypes.h... (cached) yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking libperfstat.h usability... no checking libperfstat.h presence... no checking for libperfstat.h... no checking sys/systemcfg.h usability... no checking sys/systemcfg.h presence... no checking for sys/systemcfg.h... no checking sys/mnttab.h usability... no checking sys/mnttab.h presence... no checking for sys/mnttab.h... no checking mntent.h usability... no checking mntent.h presence... no checking for mntent.h... no checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking for resolv.h... yes checking for net/if.h... yes checking for net/if_mib.h... no checking for sys/mount.h... yes checking for sys/proc.h... yes checking for sys/sysctl.h... yes checking for sys/user.h... yes checking for sys/swap.h... yes checking for sys/ucontext.h... yes checking for devstat.h... no checking for library containing socket... none required checking for library containing kstat_open... no checking for library containing gethostbyname... none required checking for library containing clock_gettime... none required checking for library containing dlopen... none required checking for library containing perfstat_memory_total... no checking for library containing devstat_getdevs... no checking for library containing getdevs... no checking for library containing backtrace_symbols... -lexecinfo checking for main in -lm... yes checking for main in -lkvm... yes checking for DNS lookup functions... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for an ANSI C-conforming const... yes checking for pid_t... yes checking for socklen_t... yes checking for actual socklen_t parameter type in socket functions... socklen_t checking for integer field name in union sigval of struct siginfo_t... sival_int checking for union semun... no checking for struct swaptable in sys/swap.h... no checking for struct sensordev in sys/sensors.h... no checking for struct statvfs64 in sys/statvfs.h... no checking for struct statfs64 in sys/statfs.h... no checking for field ss_family in struct sockaddr_storage... yes checking for field mem_unit in struct sysinfo... no checking for field freeswap in struct sysinfo... no checking for field totalswap in struct sysinfo... no checking for field totalram in struct sysinfo... no checking for field sharedram in struct sysinfo... no checking for field bufferram in struct sysinfo... no checking for field freeram in struct sysinfo... no checking for field uptime in struct sysinfo... no checking for field procs in struct sysinfo... no checking for field tm_gmtoff in struct tm... yes checking for function sysconf() in unistd.h... no checking for function initgroups()... yes checking for functions seteuid() and setegid()... yes checking for function setproctitle()... yes checking for function sysctlbyname()... yes checking for function sysctl (KERN_BOOTTIME)... yes checking for function sysctl (HW_NCPU)... yes checking for function sysctl (KERN_MAXFILES)... yes checking for function sysctl (KERN_MAXPROC)... yes checking for function sysctl (KERN_CPTIME,KERN_CPTIME2)... no checking for function clock_gettime in time.h... yes checking for macro __va_copy() in stdarg.h... yes checking for macro __VA_ARGS__... yes checking return type of signal handlers... void checking for getloadavg... yes checking for hstrerror... yes checking for getenv... yes checking for putenv... yes checking for sigqueue... yes checking for /proc filesystem... yes checking for file /proc/stat... yes checking for file /proc/cpuinfo... yes checking for file /proc/0/psinfo... no checking for file /proc/loadavg... yes checking for file /proc/net/dev... no checking for long long format... yes checking for -rdynamic linking option... yes checking for libperfstat 5.2.0.40 fileset... no checking for libperfstat 5.3.0.60 fileset... no checking for architecture... netbsd (netbsd7.0) checking size of void *... 8 checking for mysql_config... /usr/pkg/bin/mysql_config checking for main in -lmysqlclient... yes checking for Oracle support... no checking for Zabbix server/proxy database selection... ok checking for multirow insert statements... yes checking for pkg-config... /usr/pkg/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for ICONV support... yes checking for mkdir -p candidate... ok (./install-sh -c -d) checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating database/Makefile config.status: creating misc/Makefile config.status: creating src/Makefile config.status: creating src/libs/Makefile config.status: creating src/libs/zbxlog/Makefile config.status: creating src/libs/zbxalgo/Makefile config.status: creating src/libs/zbxmemory/Makefile config.status: creating src/libs/zbxcrypto/Makefile config.status: creating src/libs/zbxconf/Makefile config.status: creating src/libs/zbxdbcache/Makefile config.status: creating src/libs/zbxdbhigh/Makefile config.status: creating src/libs/zbxmedia/Makefile config.status: creating src/libs/zbxsysinfo/Makefile config.status: creating src/libs/zbxcommon/Makefile config.status: creating src/libs/zbxsysinfo/agent/Makefile config.status: creating src/libs/zbxsysinfo/common/Makefile config.status: creating src/libs/zbxsysinfo/simple/Makefile config.status: creating src/libs/zbxsysinfo/linux/Makefile config.status: creating src/libs/zbxsysinfo/aix/Makefile config.status: creating src/libs/zbxsysinfo/freebsd/Makefile config.status: creating src/libs/zbxsysinfo/hpux/Makefile config.status: creating src/libs/zbxsysinfo/openbsd/Makefile config.status: creating src/libs/zbxsysinfo/osx/Makefile config.status: creating src/libs/zbxsysinfo/solaris/Makefile config.status: creating src/libs/zbxsysinfo/osf/Makefile config.status: creating src/libs/zbxsysinfo/netbsd/Makefile config.status: creating src/libs/zbxsysinfo/unknown/Makefile config.status: creating src/libs/zbxnix/Makefile config.status: creating src/libs/zbxsys/Makefile config.status: creating src/libs/zbxcomms/Makefile config.status: creating src/libs/zbxcommshigh/Makefile config.status: creating src/libs/zbxdb/Makefile config.status: creating src/libs/zbxdbupgrade/Makefile config.status: creating src/libs/zbxjson/Makefile config.status: creating src/libs/zbxserver/Makefile config.status: creating src/libs/zbxicmpping/Makefile config.status: creating src/libs/zbxexec/Makefile config.status: creating src/libs/zbxself/Makefile config.status: creating src/libs/zbxmodules/Makefile config.status: creating src/libs/zbxregexp/Makefile config.status: creating src/zabbix_agent/Makefile config.status: creating src/zabbix_get/Makefile config.status: creating src/zabbix_sender/Makefile config.status: creating src/zabbix_server/Makefile config.status: creating src/zabbix_server/alerter/Makefile config.status: creating src/zabbix_server/dbsyncer/Makefile config.status: creating src/zabbix_server/dbconfig/Makefile config.status: creating src/zabbix_server/discoverer/Makefile config.status: creating src/zabbix_server/housekeeper/Makefile config.status: creating src/zabbix_server/httppoller/Makefile config.status: creating src/zabbix_server/pinger/Makefile config.status: creating src/zabbix_server/poller/Makefile config.status: creating src/zabbix_server/snmptrapper/Makefile config.status: creating src/zabbix_server/timer/Makefile config.status: creating src/zabbix_server/trapper/Makefile config.status: creating src/zabbix_server/watchdog/Makefile config.status: creating src/zabbix_server/escalator/Makefile config.status: creating src/zabbix_server/proxypoller/Makefile config.status: creating src/zabbix_server/selfmon/Makefile config.status: creating src/zabbix_server/vmware/Makefile config.status: creating src/zabbix_proxy/Makefile config.status: creating src/zabbix_proxy/heart/Makefile config.status: creating src/zabbix_proxy/housekeeper/Makefile config.status: creating src/zabbix_proxy/proxyconfig/Makefile config.status: creating src/zabbix_proxy/datasender/Makefile config.status: creating src/zabbix_java/Makefile config.status: creating upgrades/Makefile config.status: creating man/Makefile config.status: creating include/config.h config.status: include/config.h is unchanged config.status: executing depfiles commands Configuration: Detected OS: netbsd7.0 Install path: /usr/local Compilation arch: netbsd Compiler: gcc Compiler flags: -g -O2 -I/usr/pkg/include/mysql -DUSE_OLD_FUNCTIONS -fPIC -DPIC -g -DNDEBUG Enable server: yes Server details: With database: MySQL WEB Monitoring: no Native Jabber: no SNMP: no IPMI: no SSH: no ODBC: no Linker flags: -rdynamic -L/usr/pkg/lib Libraries: -lkvm -lm -lexecinfo -lmysqlclient Enable proxy: no Enable agent: no Enable Java gateway: no LDAP support: no IPv6 support: no *********************************************************** * Now run 'make install' * * * * Thank you for using Zabbix! * * * *********************************************************** Making install in src Making install in libs Making install in zbxcrypto Making install in zbxcommon Making install in zbxlog Making install in zbxalgo Making install in zbxnix Making install in zbxconf Making install in zbxsysinfo Making install in agent Making install in common Making install in simple Making install in netbsd gcc -DHAVE_CONFIG_H -I. -I../../../../include -I../../../../src/zabbix_agent/ -g -O2 -I/usr/pkg/include/mysql -DUSE_OLD_FUNCTIONS -fPIC -DPIC -g -DNDEBUG -MT libspecsysinfo_a-cpu.o -MD -MP -MF .deps/libspecsysinfo_a-cpu.Tpo -c -o libspecsysinfo_a-cpu.o `test -f 'cpu.c' || echo './'`cpu.c cpu.c: In function 'SYSTEM_CPU_SWITCHES': cpu.c:232:23: error: storage size of 'v' isn't known struct uvmexp_sysctl v; ^ cpu.c:234:15: error: invalid application of 'sizeof' to incomplete type 'struct uvmexp_sysctl' len = sizeof(struct uvmexp_sysctl); ^ cpu.c: In function 'SYSTEM_CPU_INTR': cpu.c:251:23: error: storage size of 'v' isn't known struct uvmexp_sysctl v; ^ cpu.c:253:15: error: invalid application of 'sizeof' to incomplete type 'struct uvmexp_sysctl' len = sizeof(struct uvmexp_sysctl); ^ *** Error code 1 Stop. make[4]: stopped in /usr/local/zabbix-2.4.6/src/libs/zbxsysinfo/netbsd *** Error code 1 Stop. make[3]: stopped in /usr/local/zabbix-2.4.6/src/libs/zbxsysinfo *** Error code 1 Stop. make[2]: stopped in /usr/local/zabbix-2.4.6/src/libs *** Error code 1 Stop. make[1]: stopped in /usr/local/zabbix-2.4.6/src *** Error code 1 Stop. make: stopped in /usr/local/zabbix-2.4.6 netbsd7# ---- Agent --- netbsd7# ./configure --enable-agent; make install 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 checking whether make supports nested variables... yes configure: Configuring Zabbix 2.4.6 checking whether make sets $(MAKE)... (cached) yes checking build system type... x86_64-unknown-netbsd7.0 checking host system type... x86_64-unknown-netbsd7.0 checking for gcc... gcc 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/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 stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking mtent.h usability... no checking mtent.h presence... no checking for mtent.h... no checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking sys/vfs.h usability... no checking sys/vfs.h presence... no checking for sys/vfs.h... no checking sys/pstat.h usability... no checking sys/pstat.h presence... no checking for sys/pstat.h... no checking sys/sysinfo.h usability... no checking sys/sysinfo.h presence... no checking for sys/sysinfo.h... no checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking sys/statfs.h usability... no checking sys/statfs.h presence... no checking for sys/statfs.h... no checking for sys/socket.h... (cached) yes checking sys/loadavg.h usability... no checking sys/loadavg.h presence... no checking for sys/loadavg.h... no checking for arpa/inet.h... (cached) yes checking sys/vmmeter.h usability... yes checking sys/vmmeter.h presence... yes checking for sys/vmmeter.h... yes checking for strings.h... (cached) yes checking vm/vm_param.h usability... no checking vm/vm_param.h presence... no checking for vm/vm_param.h... no checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking kstat.h usability... no checking kstat.h presence... no checking for kstat.h... no checking sys/syscall.h usability... yes checking sys/syscall.h presence... yes checking for sys/syscall.h... yes checking sys/sysmacros.h usability... no checking sys/sysmacros.h presence... no checking for sys/sysmacros.h... no checking for stdint.h... (cached) yes checking mach/host_info.h usability... no checking mach/host_info.h presence... no checking for mach/host_info.h... no checking mach/mach_host.h usability... no checking mach/mach_host.h presence... no checking for mach/mach_host.h... no checking knlist.h usability... no checking knlist.h presence... no checking for knlist.h... no checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking sys/var.h usability... no checking sys/var.h presence... no checking for sys/var.h... no checking arpa/nameser.h usability... yes checking arpa/nameser.h presence... yes checking for arpa/nameser.h... yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking sys/dkstat.h usability... yes checking sys/dkstat.h presence... yes checking for sys/dkstat.h... yes checking sys/disk.h usability... yes checking sys/disk.h presence... yes checking for sys/disk.h... yes checking sys/sched.h usability... yes checking sys/sched.h presence... yes checking for sys/sched.h... yes checking zone.h usability... no checking zone.h presence... no checking for zone.h... no checking nlist.h usability... yes checking nlist.h presence... yes checking for nlist.h... yes checking kvm.h usability... yes checking kvm.h presence... yes checking for kvm.h... yes checking linux/kernel.h usability... no checking linux/kernel.h presence... no checking for linux/kernel.h... no checking procinfo.h usability... no checking procinfo.h presence... no checking for procinfo.h... no checking sys/dk.h usability... no checking sys/dk.h presence... no checking for sys/dk.h... no checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking process.h usability... no checking process.h presence... no checking for process.h... no checking conio.h usability... no checking conio.h presence... no checking for conio.h... no checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking winsock2.h usability... no checking winsock2.h presence... no checking for winsock2.h... no checking pdh.h usability... no checking pdh.h presence... no checking for pdh.h... no checking psapi.h usability... no checking psapi.h presence... no checking for psapi.h... no checking sys/sem.h usability... yes checking sys/sem.h presence... yes checking for sys/sem.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 Winldap.h usability... no checking Winldap.h presence... no checking for Winldap.h... no checking sys/timeb.h usability... yes checking sys/timeb.h presence... yes checking for sys/timeb.h... yes checking Winber.h usability... no checking Winber.h presence... no checking for Winber.h... no checking lber.h usability... yes checking lber.h presence... yes checking for lber.h... yes checking ws2tcpip.h usability... no checking ws2tcpip.h presence... no checking for ws2tcpip.h... no checking for inttypes.h... (cached) yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking execinfo.h usability... yes checking execinfo.h presence... yes checking for execinfo.h... yes checking libperfstat.h usability... no checking libperfstat.h presence... no checking for libperfstat.h... no checking sys/systemcfg.h usability... no checking sys/systemcfg.h presence... no checking for sys/systemcfg.h... no checking sys/mnttab.h usability... no checking sys/mnttab.h presence... no checking for sys/mnttab.h... no checking mntent.h usability... no checking mntent.h presence... no checking for mntent.h... no checking sys/times.h usability... yes checking sys/times.h presence... yes checking for sys/times.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking for resolv.h... yes checking for net/if.h... yes checking for net/if_mib.h... no checking for sys/mount.h... yes checking for sys/proc.h... yes checking for sys/sysctl.h... yes checking for sys/user.h... yes checking for sys/swap.h... yes checking for sys/ucontext.h... yes checking for devstat.h... no checking for library containing socket... none required checking for library containing kstat_open... no checking for library containing gethostbyname... none required checking for library containing clock_gettime... none required checking for library containing dlopen... none required checking for library containing perfstat_memory_total... no checking for library containing devstat_getdevs... no checking for library containing getdevs... no checking for library containing backtrace_symbols... -lexecinfo checking for main in -lm... yes checking for main in -lkvm... yes checking for DNS lookup functions... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for an ANSI C-conforming const... yes checking for pid_t... yes checking for socklen_t... yes checking for actual socklen_t parameter type in socket functions... socklen_t checking for integer field name in union sigval of struct siginfo_t... sival_int checking for union semun... no checking for struct swaptable in sys/swap.h... no checking for struct sensordev in sys/sensors.h... no checking for struct statvfs64 in sys/statvfs.h... no checking for struct statfs64 in sys/statfs.h... no checking for field ss_family in struct sockaddr_storage... yes checking for field mem_unit in struct sysinfo... no checking for field freeswap in struct sysinfo... no checking for field totalswap in struct sysinfo... no checking for field totalram in struct sysinfo... no checking for field sharedram in struct sysinfo... no checking for field bufferram in struct sysinfo... no checking for field freeram in struct sysinfo... no checking for field uptime in struct sysinfo... no checking for field procs in struct sysinfo... no checking for field tm_gmtoff in struct tm... yes checking for function sysconf() in unistd.h... no checking for function initgroups()... yes checking for functions seteuid() and setegid()... yes checking for function setproctitle()... yes checking for function sysctlbyname()... yes checking for function sysctl (KERN_BOOTTIME)... yes checking for function sysctl (HW_NCPU)... yes checking for function sysctl (KERN_MAXFILES)... yes checking for function sysctl (KERN_MAXPROC)... yes checking for function sysctl (KERN_CPTIME,KERN_CPTIME2)... no checking for function clock_gettime in time.h... yes checking for macro __va_copy() in stdarg.h... yes checking for macro __VA_ARGS__... yes checking return type of signal handlers... void checking for getloadavg... yes checking for hstrerror... yes checking for getenv... yes checking for putenv... yes checking for sigqueue... yes checking for /proc filesystem... yes checking for file /proc/stat... yes checking for file /proc/cpuinfo... yes checking for file /proc/0/psinfo... no checking for file /proc/loadavg... yes checking for file /proc/net/dev... no checking for long long format... yes checking for -rdynamic linking option... yes checking for libperfstat 5.2.0.40 fileset... no checking for libperfstat 5.3.0.60 fileset... no checking for architecture... netbsd (netbsd7.0) checking size of void *... 8 checking for ICONV support... yes checking for mkdir -p candidate... ok (./install-sh -c -d) checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating database/Makefile config.status: creating misc/Makefile config.status: creating src/Makefile config.status: creating src/libs/Makefile config.status: creating src/libs/zbxlog/Makefile config.status: creating src/libs/zbxalgo/Makefile config.status: creating src/libs/zbxmemory/Makefile config.status: creating src/libs/zbxcrypto/Makefile config.status: creating src/libs/zbxconf/Makefile config.status: creating src/libs/zbxdbcache/Makefile config.status: creating src/libs/zbxdbhigh/Makefile config.status: creating src/libs/zbxmedia/Makefile config.status: creating src/libs/zbxsysinfo/Makefile config.status: creating src/libs/zbxcommon/Makefile config.status: creating src/libs/zbxsysinfo/agent/Makefile config.status: creating src/libs/zbxsysinfo/common/Makefile config.status: creating src/libs/zbxsysinfo/simple/Makefile config.status: creating src/libs/zbxsysinfo/linux/Makefile config.status: creating src/libs/zbxsysinfo/aix/Makefile config.status: creating src/libs/zbxsysinfo/freebsd/Makefile config.status: creating src/libs/zbxsysinfo/hpux/Makefile config.status: creating src/libs/zbxsysinfo/openbsd/Makefile config.status: creating src/libs/zbxsysinfo/osx/Makefile config.status: creating src/libs/zbxsysinfo/solaris/Makefile config.status: creating src/libs/zbxsysinfo/osf/Makefile config.status: creating src/libs/zbxsysinfo/netbsd/Makefile config.status: creating src/libs/zbxsysinfo/unknown/Makefile config.status: creating src/libs/zbxnix/Makefile config.status: creating src/libs/zbxsys/Makefile config.status: creating src/libs/zbxcomms/Makefile config.status: creating src/libs/zbxcommshigh/Makefile config.status: creating src/libs/zbxdb/Makefile config.status: creating src/libs/zbxdbupgrade/Makefile config.status: creating src/libs/zbxjson/Makefile config.status: creating src/libs/zbxserver/Makefile config.status: creating src/libs/zbxicmpping/Makefile config.status: creating src/libs/zbxexec/Makefile config.status: creating src/libs/zbxself/Makefile config.status: creating src/libs/zbxmodules/Makefile config.status: creating src/libs/zbxregexp/Makefile config.status: creating src/zabbix_agent/Makefile config.status: creating src/zabbix_get/Makefile config.status: creating src/zabbix_sender/Makefile config.status: creating src/zabbix_server/Makefile config.status: creating src/zabbix_server/alerter/Makefile config.status: creating src/zabbix_server/dbsyncer/Makefile config.status: creating src/zabbix_server/dbconfig/Makefile config.status: creating src/zabbix_server/discoverer/Makefile config.status: creating src/zabbix_server/housekeeper/Makefile config.status: creating src/zabbix_server/httppoller/Makefile config.status: creating src/zabbix_server/pinger/Makefile config.status: creating src/zabbix_server/poller/Makefile config.status: creating src/zabbix_server/snmptrapper/Makefile config.status: creating src/zabbix_server/timer/Makefile config.status: creating src/zabbix_server/trapper/Makefile config.status: creating src/zabbix_server/watchdog/Makefile config.status: creating src/zabbix_server/escalator/Makefile config.status: creating src/zabbix_server/proxypoller/Makefile config.status: creating src/zabbix_server/selfmon/Makefile config.status: creating src/zabbix_server/vmware/Makefile config.status: creating src/zabbix_proxy/Makefile config.status: creating src/zabbix_proxy/heart/Makefile config.status: creating src/zabbix_proxy/housekeeper/Makefile config.status: creating src/zabbix_proxy/proxyconfig/Makefile config.status: creating src/zabbix_proxy/datasender/Makefile config.status: creating src/zabbix_java/Makefile config.status: creating upgrades/Makefile config.status: creating man/Makefile config.status: creating include/config.h config.status: include/config.h is unchanged config.status: executing depfiles commands Configuration: Detected OS: netbsd7.0 Install path: /usr/local Compilation arch: netbsd Compiler: gcc Compiler flags: -g -O2 Enable server: no Enable proxy: no Enable agent: yes Agent details: Linker flags: -rdynamic Libraries: -lkvm -lm -lexecinfo Enable Java gateway: no LDAP support: no IPv6 support: no *********************************************************** * Now run 'make install' * * * * Thank you for using Zabbix! * * * *********************************************************** Making install in src Making install in libs Making install in zbxcrypto gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -MT md5.o -MD -MP -MF .deps/md5.Tpo -c -o md5.o md5.c mv -f .deps/md5.Tpo .deps/md5.Po gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -MT base64.o -MD -MP -MF .deps/base64.Tpo -c -o base64.o base64.c mv -f .deps/base64.Tpo .deps/base64.Po rm -f libzbxcrypto.a ar cru libzbxcrypto.a md5.o base64.o ranlib libzbxcrypto.a Making install in zbxcommon gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -MT misc.o -MD -MP -MF .deps/misc.Tpo -c -o misc.o misc.c mv -f .deps/misc.Tpo .deps/misc.Po gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -MT xml.o -MD -MP -MF .deps/xml.Tpo -c -o xml.o xml.c mv -f .deps/xml.Tpo .deps/xml.Po gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -MT comms.o -MD -MP -MF .deps/comms.Tpo -c -o comms.o comms.c mv -f .deps/comms.Tpo .deps/comms.Po gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -MT str.o -MD -MP -MF .deps/str.Tpo -c -o str.o str.c str.c: In function 'convert_to_utf8': str.c:2700:2: warning: passing argument 2 of 'iconv' from incompatible pointer type [enabled by default] while ((size_t)(-1) == iconv(cd, &in, &in_size_left, &p, &out_size_left)) ^ In file included from ../../../include/sysinc.h:411:0, from ../../../include/common.h:23, from str.c:20: /usr/include/iconv.h:46:8: note: expected 'const char ** __restrict__' but argument is of type 'char **' size_t iconv(iconv_t, const char ** __restrict, ^ mv -f .deps/str.Tpo .deps/str.Po gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -MT time.o -MD -MP -MF .deps/time.Tpo -c -o time.o time.c mv -f .deps/time.Tpo .deps/time.Po gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -MT zbxgetopt.o -MD -MP -MF .deps/zbxgetopt.Tpo -c -o zbxgetopt.o zbxgetopt.c mv -f .deps/zbxgetopt.Tpo .deps/zbxgetopt.Po gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -MT alias.o -MD -MP -MF .deps/alias.Tpo -c -o alias.o alias.c mv -f .deps/alias.Tpo .deps/alias.Po gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -MT file.o -MD -MP -MF .deps/file.Tpo -c -o file.o file.c mv -f .deps/file.Tpo .deps/file.Po gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -MT setproctitle.o -MD -MP -MF .deps/setproctitle.Tpo -c -o setproctitle.o setproctitle.c mv -f .deps/setproctitle.Tpo .deps/setproctitle.Po gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -MT iprange.o -MD -MP -MF .deps/iprange.Tpo -c -o iprange.o iprange.c mv -f .deps/iprange.Tpo .deps/iprange.Po rm -f libzbxcommon.a ar cru libzbxcommon.a misc.o xml.o comms.o str.o time.o zbxgetopt.o alias.o file.o setproctitle.o iprange.o ranlib libzbxcommon.a Making install in zbxlog gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -MT log.o -MD -MP -MF .deps/log.Tpo -c -o log.o log.c mv -f .deps/log.Tpo .deps/log.Po rm -f libzbxlog.a ar cru libzbxlog.a log.o ranlib libzbxlog.a Making install in zbxalgo gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -MT algodefs.o -MD -MP -MF .deps/algodefs.Tpo -c -o algodefs.o algodefs.c mv -f .deps/algodefs.Tpo .deps/algodefs.Po gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -MT binaryheap.o -MD -MP -MF .deps/binaryheap.Tpo -c -o binaryheap.o binaryheap.c mv -f .deps/binaryheap.Tpo .deps/binaryheap.Po gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -MT hashmap.o -MD -MP -MF .deps/hashmap.Tpo -c -o hashmap.o hashmap.c mv -f .deps/hashmap.Tpo .deps/hashmap.Po gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -MT hashset.o -MD -MP -MF .deps/hashset.Tpo -c -o hashset.o hashset.c mv -f .deps/hashset.Tpo .deps/hashset.Po gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -MT int128.o -MD -MP -MF .deps/int128.Tpo -c -o int128.o int128.c mv -f .deps/int128.Tpo .deps/int128.Po gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -MT vector.o -MD -MP -MF .deps/vector.Tpo -c -o vector.o vector.c mv -f .deps/vector.Tpo .deps/vector.Po rm -f libzbxalgo.a ar cru libzbxalgo.a algodefs.o binaryheap.o hashmap.o hashset.o int128.o vector.o ranlib libzbxalgo.a Making install in zbxnix gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -MT daemon.o -MD -MP -MF .deps/daemon.Tpo -c -o daemon.o daemon.c mv -f .deps/daemon.Tpo .deps/daemon.Po gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -MT pid.o -MD -MP -MF .deps/pid.Tpo -c -o pid.o pid.c mv -f .deps/pid.Tpo .deps/pid.Po gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -MT ipc.o -MD -MP -MF .deps/ipc.Tpo -c -o ipc.o ipc.c mv -f .deps/ipc.Tpo .deps/ipc.Po gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -MT fatal.o -MD -MP -MF .deps/fatal.Tpo -c -o fatal.o fatal.c mv -f .deps/fatal.Tpo .deps/fatal.Po gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -MT sighandler.o -MD -MP -MF .deps/sighandler.Tpo -c -o sighandler.o sighandler.c mv -f .deps/sighandler.Tpo .deps/sighandler.Po gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -MT control.o -MD -MP -MF .deps/control.Tpo -c -o control.o control.c mv -f .deps/control.Tpo .deps/control.Po rm -f libzbxnix.a ar cru libzbxnix.a daemon.o pid.o ipc.o fatal.o sighandler.o control.o ranlib libzbxnix.a Making install in zbxconf gcc -DHAVE_CONFIG_H -I. -I../../../include -g -O2 -MT cfg.o -MD -MP -MF .deps/cfg.Tpo -c -o cfg.o cfg.c mv -f .deps/cfg.Tpo .deps/cfg.Po rm -f libzbxconf.a ar cru libzbxconf.a cfg.o ranlib libzbxconf.a Making install in zbxsysinfo Making install in agent gcc -DHAVE_CONFIG_H -I. -I../../../../include -g -O2 -MT agent.o -MD -MP -MF .deps/agent.Tpo -c -o agent.o agent.c mv -f .deps/agent.Tpo .deps/agent.Po rm -f libagentsysinfo.a ar cru libagentsysinfo.a agent.o ranlib libagentsysinfo.a Making install in common gcc -DHAVE_CONFIG_H -I. -I../../../../include -g -O2 -MT common.o -MD -MP -MF .deps/common.Tpo -c -o common.o common.c mv -f .deps/common.Tpo .deps/common.Po gcc -DHAVE_CONFIG_H -I. -I../../../../include -g -O2 -MT file.o -MD -MP -MF .deps/file.Tpo -c -o file.o file.c mv -f .deps/file.Tpo .deps/file.Po gcc -DHAVE_CONFIG_H -I. -I../../../../include -g -O2 -MT http.o -MD -MP -MF .deps/http.Tpo -c -o http.o http.c mv -f .deps/http.Tpo .deps/http.Po gcc -DHAVE_CONFIG_H -I. -I../../../../include -g -O2 -MT net.o -MD -MP -MF .deps/net.Tpo -c -o net.o net.c mv -f .deps/net.Tpo .deps/net.Po gcc -DHAVE_CONFIG_H -I. -I../../../../include -g -O2 -MT system.o -MD -MP -MF .deps/system.Tpo -c -o system.o system.c mv -f .deps/system.Tpo .deps/system.Po rm -f libcommonsysinfo.a ar cru libcommonsysinfo.a common.o file.o http.o net.o system.o ranlib libcommonsysinfo.a Making install in simple gcc -DHAVE_CONFIG_H -I. -I../../../../include -g -O2 -MT simple.o -MD -MP -MF .deps/simple.Tpo -c -o simple.o simple.c mv -f .deps/simple.Tpo .deps/simple.Po gcc -DHAVE_CONFIG_H -I. -I../../../../include -g -O2 -MT ntp.o -MD -MP -MF .deps/ntp.Tpo -c -o ntp.o ntp.c mv -f .deps/ntp.Tpo .deps/ntp.Po rm -f libsimplesysinfo.a ar cru libsimplesysinfo.a simple.o ntp.o ranlib libsimplesysinfo.a Making install in netbsd gcc -DHAVE_CONFIG_H -I. -I../../../../include -I../../../../src/zabbix_agent/ -g -O2 -MT libspecsysinfo_a-boottime.o -MD -MP -MF .deps/libspecsysinfo_a-boottime.Tpo -c -o libspecsysinfo_a-boottime.o `test -f 'boottime.c' || echo './'`boottime.c mv -f .deps/libspecsysinfo_a-boottime.Tpo .deps/libspecsysinfo_a-boottime.Po gcc -DHAVE_CONFIG_H -I. -I../../../../include -I../../../../src/zabbix_agent/ -g -O2 -MT libspecsysinfo_a-cpu.o -MD -MP -MF .deps/libspecsysinfo_a-cpu.Tpo -c -o libspecsysinfo_a-cpu.o `test -f 'cpu.c' || echo './'`cpu.c cpu.c: In function 'SYSTEM_CPU_SWITCHES': cpu.c:232:23: error: storage size of 'v' isn't known struct uvmexp_sysctl v; ^ cpu.c:234:15: error: invalid application of 'sizeof' to incomplete type 'struct uvmexp_sysctl' len = sizeof(struct uvmexp_sysctl); ^ cpu.c: In function 'SYSTEM_CPU_INTR': cpu.c:251:23: error: storage size of 'v' isn't known struct uvmexp_sysctl v; ^ cpu.c:253:15: error: invalid application of 'sizeof' to incomplete type 'struct uvmexp_sysctl' len = sizeof(struct uvmexp_sysctl); ^ *** Error code 1 Stop. make[4]: stopped in /usr/local/zabbix-2.4.6/src/libs/zbxsysinfo/netbsd *** Error code 1 Stop. make[3]: stopped in /usr/local/zabbix-2.4.6/src/libs/zbxsysinfo *** Error code 1 Stop. make[2]: stopped in /usr/local/zabbix-2.4.6/src/libs *** Error code 1 Stop. make[1]: stopped in /usr/local/zabbix-2.4.6/src *** Error code 1 Stop. make: stopped in /usr/local/zabbix-2.4.6 netbsd7# Stop. make[1]: stopped in /usr/local/zabbix-2.4.6/src *** Error code 1 Stop. make: stopped in /usr/local/zabbix-2.4.6 netbsd7#