=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for monit-5.8nb1 /usr/pkg/bin/gmake all-recursive gmake[1]: Entering directory '/data/scratch/sysutils/monit/work/monit-5.8' Making all in libmonit gmake[2]: Entering directory '/data/scratch/sysutils/monit/work/monit-5.8/libmonit' Making all in . gmake[3]: Entering directory '/data/scratch/sysutils/monit/work/monit-5.8/libmonit' /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c -o src/Bootstrap.lo src/Bootstrap.c /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c -o src/util/List.lo src/util/List.c /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c -o src/util/Str.lo src/util/Str.c /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c -o src/util/StringBuffer.lo src/util/StringBuffer.c /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c -o src/exceptions/assert.lo src/exceptions/assert.c /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c -o src/exceptions/Exception.lo src/exceptions/Exception.c /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c -o src/io/Dir.lo src/io/Dir.c /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c -o src/io/File.lo src/io/File.c /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c -o src/io/InputStream.lo src/io/InputStream.c /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c -o src/io/OutputStream.lo src/io/OutputStream.c /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c -o src/system/Mem.lo src/system/Mem.c /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c -o src/system/Net.lo src/system/Net.c /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c -o src/system/Time.lo src/system/Time.c /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c -o src/system/Command.lo src/system/Command.c /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c -o src/system/System.lo src/system/System.c /bin/sh ./libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c -o src/thread/Thread.lo src/thread/Thread.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/exceptions/Exception.c -fPIC -DPIC -o src/exceptions/.libs/Exception.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/util/List.c -fPIC -DPIC -o src/util/.libs/List.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/Bootstrap.c -fPIC -DPIC -o src/.libs/Bootstrap.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/io/File.c -fPIC -DPIC -o src/io/.libs/File.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/system/Command.c -fPIC -DPIC -o src/system/.libs/Command.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/io/OutputStream.c -fPIC -DPIC -o src/io/.libs/OutputStream.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/exceptions/assert.c -fPIC -DPIC -o src/exceptions/.libs/assert.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/util/Str.c -fPIC -DPIC -o src/util/.libs/Str.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/io/InputStream.c -fPIC -DPIC -o src/io/.libs/InputStream.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/util/StringBuffer.c -fPIC -DPIC -o src/util/.libs/StringBuffer.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/io/Dir.c -fPIC -DPIC -o src/io/.libs/Dir.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/system/Time.c -fPIC -DPIC -o src/system/.libs/Time.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/system/Mem.c -fPIC -DPIC -o src/system/.libs/Mem.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/thread/Thread.c -fPIC -DPIC -o src/thread/.libs/Thread.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/system/System.c -fPIC -DPIC -o src/system/.libs/System.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/system/Net.c -fPIC -DPIC -o src/system/.libs/Net.o src/io/OutputStream.c:425:44: warning: array subscript is of type 'char' [-Wchar-subscripts] if (*fmt == '*' || isdigit(*fmt)) { ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ src/io/OutputStream.c:432:53: warning: array subscript is of type 'char' [-Wchar-subscripts] for (n = 0; isdigit(*fmt); fmt++) { ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ src/io/OutputStream.c:439:62: warning: array subscript is of type 'char' [-Wchar-subscripts] if (*fmt == '.' && (*++fmt == '*' || isdigit(*fmt))) { ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ src/io/OutputStream.c:446:53: warning: array subscript is of type 'char' [-Wchar-subscripts] for (n = 0; isdigit(*fmt); fmt++) { ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit' #define isdigit(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D)) ^~~~ libtool: compile: clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/Bootstrap.c -o src/Bootstrap.o >/dev/null 2>&1 libtool: compile: clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/system/System.c -o src/system/System.o >/dev/null 2>&1 src/io/File.c:311:39: warning: array subscript is of type 'char' [-Wchar-subscripts] while ((p > path) && (isspace(*p) || *p == SEPARATOR_CHAR)); ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ src/util/Str.c:76:27: warning: array subscript is of type 'char' [-Wchar-subscripts] if (STR_DEF(s) && isspace(*s)) { ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ src/util/Str.c:79:29: warning: array subscript is of type 'char' [-Wchar-subscripts] for (i = 0; isspace(s[i]); i++) ; ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ src/util/Str.c:89:48: warning: array subscript is of type 'char' [-Wchar-subscripts] for (size_t j = strlen(s) - 1; isspace(s[j]); j--) s[j] = 0; ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ src/util/Str.c:98:48: warning: array subscript is of type 'char' [-Wchar-subscripts] while (*t == 34 || *t == 39 || isspace(*t)) t++; ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ src/util/Str.c:109:58: warning: array subscript is of type 'char' [-Wchar-subscripts] while (t > s && (*t == 34 || *t == 39 || isspace(*t))); ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ src/util/Str.c:118:32: warning: array subscript is of type 'char' [-Wchar-subscripts] s[i] = tolower(s[i]); ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:59:46: note: expanded from macro 'tolower' #define tolower(c) ((int)((_tolower_tab_ + 1)[(c)])) ^~~~ src/util/Str.c:126:32: warning: array subscript is of type 'char' [-Wchar-subscripts] s[i] = toupper(s[i]); ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/util/Str.c:215:28: warning: array subscript is of type 'char' [-Wchar-subscripts] if(toupper(a[i]) != toupper(b[j])) return false; ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/util/Str.c:215:45: warning: array subscript is of type 'char' [-Wchar-subscripts] if(toupper(a[i]) != toupper(b[j])) return false; ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/util/Str.c:226:29: warning: array subscript is of type 'char' [-Wchar-subscripts] if (toupper(*a) == toupper(*b)) { ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/util/Str.c:226:44: warning: array subscript is of type 'char' [-Wchar-subscripts] if (toupper(*a) == toupper(*b)) { ^~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/util/Str.c:232:40: warning: array subscript is of type 'char' [-Wchar-subscripts] while (toupper(*p++) == toupper(*q++)); ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/util/Str.c:232:57: warning: array subscript is of type 'char' [-Wchar-subscripts] while (toupper(*p++) == toupper(*q++)); ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/util/Str.c:257:29: warning: array subscript is of type 'char' [-Wchar-subscripts] if (toupper(*a++) != toupper(*b++)) return false; ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ src/util/Str.c:257:46: warning: array subscript is of type 'char' [-Wchar-subscripts] if (toupper(*a++) != toupper(*b++)) return false; ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:60:46: note: expanded from macro 'toupper' #define toupper(c) ((int)((_toupper_tab_ + 1)[(c)])) ^~~~ libtool: compile: clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/system/Mem.c -o src/system/Mem.o >/dev/null 2>&1 libtool: compile: clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/exceptions/Exception.c -o src/exceptions/Exception.o >/dev/null 2>&1 libtool: compile: clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/util/List.c -o src/util/List.o >/dev/null 2>&1 libtool: compile: clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/util/StringBuffer.c -o src/util/StringBuffer.o >/dev/null 2>&1 libtool: compile: clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/system/Time.c -o src/system/Time.o >/dev/null 2>&1 1 warning generated. 4 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/io/File.c -o src/io/File.o >/dev/null 2>&1 libtool: compile: clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/io/OutputStream.c -o src/io/OutputStream.o >/dev/null 2>&1 libtool: compile: clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/io/Dir.c -o src/io/Dir.o >/dev/null 2>&1 libtool: compile: clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/system/Net.c -o src/system/Net.o >/dev/null 2>&1 libtool: compile: clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/exceptions/assert.c -o src/exceptions/assert.o >/dev/null 2>&1 libtool: compile: clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/io/InputStream.c -o src/io/InputStream.o >/dev/null 2>&1 libtool: compile: clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/thread/Thread.c -o src/thread/Thread.o >/dev/null 2>&1 libtool: compile: clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/system/Command.c -o src/system/Command.o >/dev/null 2>&1 15 warnings generated. libtool: compile: clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -I./src -I./src/exceptions -I./src/io -I./src/net -I./src/util -I./src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c src/util/Str.c -o src/util/Str.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CC --mode=link clang -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o libmonit.la src/Bootstrap.lo src/exceptions/assert.lo src/exceptions/Exception.lo src/io/Dir.lo src/io/File.lo src/io/InputStream.lo src/io/OutputStream.lo src/system/Mem.lo src/system/Net.lo src/system/Time.lo src/system/Command.lo src/system/System.lo src/util/List.lo src/util/Str.lo src/util/StringBuffer.lo src/thread/Thread.lo -lpthread libtool: link: ar cru .libs/libmonit.a src/.libs/Bootstrap.o src/exceptions/.libs/assert.o src/exceptions/.libs/Exception.o src/io/.libs/Dir.o src/io/.libs/File.o src/io/.libs/InputStream.o src/io/.libs/OutputStream.o src/system/.libs/Mem.o src/system/.libs/Net.o src/system/.libs/Time.o src/system/.libs/Command.o src/system/.libs/System.o src/util/.libs/List.o src/util/.libs/Str.o src/util/.libs/StringBuffer.o src/thread/.libs/Thread.o libtool: link: ranlib .libs/libmonit.a libtool: link: ( cd ".libs" && rm -f "libmonit.la" && ln -s "../libmonit.la" "libmonit.la" ) gmake[3]: Leaving directory '/data/scratch/sysutils/monit/work/monit-5.8/libmonit' Making all in test gmake[3]: Entering directory '/data/scratch/sysutils/monit/work/monit-5.8/libmonit/test' clang -DHAVE_CONFIG_H -I. -I../src -I../src/ -I../src/util -I../src/net -I../src/io -I../src/exceptions -I../src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c StrTest.c clang -DHAVE_CONFIG_H -I. -I../src -I../src/ -I../src/util -I../src/net -I../src/io -I../src/exceptions -I../src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c SystemTest.c clang -DHAVE_CONFIG_H -I. -I../src -I../src/ -I../src/util -I../src/net -I../src/io -I../src/exceptions -I../src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c ListTest.c clang -DHAVE_CONFIG_H -I. -I../src -I../src/ -I../src/util -I../src/net -I../src/io -I../src/exceptions -I../src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c DirTest.c clang -DHAVE_CONFIG_H -I. -I../src -I../src/ -I../src/util -I../src/net -I../src/io -I../src/exceptions -I../src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c StringBufferTest.c clang -DHAVE_CONFIG_H -I. -I../src -I../src/ -I../src/util -I../src/net -I../src/io -I../src/exceptions -I../src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c InputStreamTest.c clang -DHAVE_CONFIG_H -I. -I../src -I../src/ -I../src/util -I../src/net -I../src/io -I../src/exceptions -I../src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c OutputStreamTest.c clang -DHAVE_CONFIG_H -I. -I../src -I../src/ -I../src/util -I../src/net -I../src/io -I../src/exceptions -I../src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c FileTest.c clang -DHAVE_CONFIG_H -I. -I../src -I../src/ -I../src/util -I../src/net -I../src/io -I../src/exceptions -I../src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c ExceptionTest.c clang -DHAVE_CONFIG_H -I. -I../src -I../src/ -I../src/util -I../src/net -I../src/io -I../src/exceptions -I../src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c NetTest.c clang -DHAVE_CONFIG_H -I. -I../src -I../src/ -I../src/util -I../src/net -I../src/io -I../src/exceptions -I../src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c TimeTest.c clang -DHAVE_CONFIG_H -I. -I../src -I../src/ -I../src/util -I../src/net -I../src/io -I../src/exceptions -I../src/thread -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -c CommandTest.c /bin/sh ../libtool --tag=CC --mode=link clang -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o InputStreamTest InputStreamTest.o ../libmonit.la -lpthread /bin/sh ../libtool --tag=CC --mode=link clang -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o DirTest DirTest.o ../libmonit.la -lpthread libtool: link: clang -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o InputStreamTest InputStreamTest.o -L/usr/lib ../.libs/libmonit.a -lpthread /bin/sh ../libtool --tag=CC --mode=link clang -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o FileTest FileTest.o ../libmonit.la -lpthread /bin/sh ../libtool --tag=CC --mode=link clang -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o NetTest NetTest.o ../libmonit.la -lpthread libtool: link: clang -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o DirTest DirTest.o -L/usr/lib ../.libs/libmonit.a -lpthread /bin/sh ../libtool --tag=CC --mode=link clang -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o ListTest ListTest.o ../libmonit.la -lpthread libtool: link: clang -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o FileTest FileTest.o -L/usr/lib ../.libs/libmonit.a -lpthread /bin/sh ../libtool --tag=CC --mode=link clang -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o OutputStreamTest OutputStreamTest.o ../libmonit.la -lpthread libtool: link: clang -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o NetTest NetTest.o -L/usr/lib ../.libs/libmonit.a -lpthread /bin/sh ../libtool --tag=CC --mode=link clang -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o SystemTest SystemTest.o ../libmonit.la -lpthread /bin/sh ../libtool --tag=CC --mode=link clang -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o TimeTest TimeTest.o ../libmonit.la -lpthread /bin/sh ../libtool --tag=CC --mode=link clang -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o CommandTest CommandTest.o ../libmonit.la -lpthread libtool: link: clang -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o OutputStreamTest OutputStreamTest.o -L/usr/lib ../.libs/libmonit.a -lpthread /bin/sh ../libtool --tag=CC --mode=link clang -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o StringBufferTest StringBufferTest.o ../libmonit.la -lpthread libtool: link: clang -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o ListTest ListTest.o -L/usr/lib ../.libs/libmonit.a -lpthread libtool: link: clang -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o TimeTest TimeTest.o -L/usr/lib ../.libs/libmonit.a -lpthread libtool: link: clang -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o SystemTest SystemTest.o -L/usr/lib ../.libs/libmonit.a -lpthread libtool: link: clang -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o CommandTest CommandTest.o -L/usr/lib ../.libs/libmonit.a -lpthread /bin/sh ../libtool --tag=CC --mode=link clang -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o ExceptionTest ExceptionTest.o ../libmonit.la -lpthread /bin/sh ../libtool --tag=CC --mode=link clang -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o StrTest StrTest.o ../libmonit.la -lpthread libtool: link: clang -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o StringBufferTest StringBufferTest.o -L/usr/lib ../.libs/libmonit.a -lpthread libtool: link: clang -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o ExceptionTest ExceptionTest.o -L/usr/lib ../.libs/libmonit.a -lpthread libtool: link: clang -Wno-address -Wno-pointer-sign -O2 -I/usr/include -D_REENTRANT -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o StrTest StrTest.o -L/usr/lib ../.libs/libmonit.a -lpthread gmake[3]: Leaving directory '/data/scratch/sysutils/monit/work/monit-5.8/libmonit/test' gmake[2]: Leaving directory '/data/scratch/sysutils/monit/work/monit-5.8/libmonit' gmake[2]: Entering directory '/data/scratch/sysutils/monit/work/monit-5.8' clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -DNETBSD -DSYSCONFDIR="\"/usr/pkg/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/process -I./src/protocols -I./libmonit/src -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/y.tab.o src/y.tab.c clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -DNETBSD -DSYSCONFDIR="\"/usr/pkg/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/process -I./src/protocols -I./libmonit/src -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/lex.yy.o src/lex.yy.c clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -DNETBSD -DSYSCONFDIR="\"/usr/pkg/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/process -I./src/protocols -I./libmonit/src -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/monit.o src/monit.c clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -DNETBSD -DSYSCONFDIR="\"/usr/pkg/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/process -I./src/protocols -I./libmonit/src -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/alert.o src/alert.c clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -DNETBSD -DSYSCONFDIR="\"/usr/pkg/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/process -I./src/protocols -I./libmonit/src -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/collector.o src/collector.c clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -DNETBSD -DSYSCONFDIR="\"/usr/pkg/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/process -I./src/protocols -I./libmonit/src -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/control.o src/control.c clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -DNETBSD -DSYSCONFDIR="\"/usr/pkg/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/process -I./src/protocols -I./libmonit/src -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/daemonize.o src/daemonize.c clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -DNETBSD -DSYSCONFDIR="\"/usr/pkg/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/process -I./src/protocols -I./libmonit/src -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/env.o src/env.c clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -DNETBSD -DSYSCONFDIR="\"/usr/pkg/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/process -I./src/protocols -I./libmonit/src -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/event.o src/event.c clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -DNETBSD -DSYSCONFDIR="\"/usr/pkg/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/process -I./src/protocols -I./libmonit/src -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/file.o src/file.c clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -DNETBSD -DSYSCONFDIR="\"/usr/pkg/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/process -I./src/protocols -I./libmonit/src -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/gc.o src/gc.c clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -DNETBSD -DSYSCONFDIR="\"/usr/pkg/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/process -I./src/protocols -I./libmonit/src -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/http.o src/http.c clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -DNETBSD -DSYSCONFDIR="\"/usr/pkg/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/process -I./src/protocols -I./libmonit/src -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/log.o src/log.c clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -DNETBSD -DSYSCONFDIR="\"/usr/pkg/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/process -I./src/protocols -I./libmonit/src -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/md5.o src/md5.c clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -DNETBSD -DSYSCONFDIR="\"/usr/pkg/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/process -I./src/protocols -I./libmonit/src -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/md5_crypt.o src/md5_crypt.c clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -DNETBSD -DSYSCONFDIR="\"/usr/pkg/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/process -I./src/protocols -I./libmonit/src -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/net.o src/net.c clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -DNETBSD -DSYSCONFDIR="\"/usr/pkg/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/process -I./src/protocols -I./libmonit/src -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/process.o src/process.c clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -DNETBSD -DSYSCONFDIR="\"/usr/pkg/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/process -I./src/protocols -I./libmonit/src -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/sendmail.o src/sendmail.c clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -DNETBSD -DSYSCONFDIR="\"/usr/pkg/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/process -I./src/protocols -I./libmonit/src -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/sha1.o src/sha1.c clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -DNETBSD -DSYSCONFDIR="\"/usr/pkg/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/process -I./src/protocols -I./libmonit/src -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/signal.o src/signal.c clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -DNETBSD -DSYSCONFDIR="\"/usr/pkg/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/process -I./src/protocols -I./libmonit/src -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/socket.o src/socket.c clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -DNETBSD -DSYSCONFDIR="\"/usr/pkg/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/process -I./src/protocols -I./libmonit/src -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/spawn.o src/spawn.c clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -DNETBSD -DSYSCONFDIR="\"/usr/pkg/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/process -I./src/protocols -I./libmonit/src -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/ssl.o src/ssl.c clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -DNETBSD -DSYSCONFDIR="\"/usr/pkg/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/process -I./src/protocols -I./libmonit/src -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/state.o src/state.c clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -DNETBSD -DSYSCONFDIR="\"/usr/pkg/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/process -I./src/protocols -I./libmonit/src -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/status.o src/status.c clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -DNETBSD -DSYSCONFDIR="\"/usr/pkg/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/process -I./src/protocols -I./libmonit/src -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/util.o src/util.c clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -DNETBSD -DSYSCONFDIR="\"/usr/pkg/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/process -I./src/protocols -I./libmonit/src -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/validate.o src/validate.c clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -DNETBSD -DSYSCONFDIR="\"/usr/pkg/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/process -I./src/protocols -I./libmonit/src -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/xml.o src/xml.c clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -DNETBSD -DSYSCONFDIR="\"/usr/pkg/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/process -I./src/protocols -I./libmonit/src -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/http/base64.o src/http/base64.c clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -DNETBSD -DSYSCONFDIR="\"/usr/pkg/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/process -I./src/protocols -I./libmonit/src -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/http/cervlet.o src/http/cervlet.c clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -DNETBSD -DSYSCONFDIR="\"/usr/pkg/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/process -I./src/protocols -I./libmonit/src -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/http/engine.o src/http/engine.c clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -DNETBSD -DSYSCONFDIR="\"/usr/pkg/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/process -I./src/protocols -I./libmonit/src -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/http/processor.o src/http/processor.c clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -DNETBSD -DSYSCONFDIR="\"/usr/pkg/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/process -I./src/protocols -I./libmonit/src -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/protocols/apache_status.o src/protocols/apache_status.c clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -DNETBSD -DSYSCONFDIR="\"/usr/pkg/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/process -I./src/protocols -I./libmonit/src -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/protocols/clamav.o src/protocols/clamav.c clang -DHAVE_CONFIG_H -I. -I./src -I/usr/include -DNETBSD -DSYSCONFDIR="\"/usr/pkg/etc/monit\"" -I./src -I./src/device -I./src/http -I./src/process -I./src/protocols -I./libmonit/src -I/usr/include -Wno-address -Wno-pointer-sign -O2 -I/usr/include -Wall -Wunused -Wno-unused-label -funsigned-char -D_GNU_SOURCE -std=c99 -D _REENTRANT -I/usr/include -c -o src/protocols/default.o src/protocols/default.c src/ssl.c:315:31: warning: assigning to 'SSL_METHOD *' (aka 'struct ssl_method_st *') from 'const SSL_METHOD *' (aka 'const struct ssl_method_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] server_method = SSLv23_server_method(); ^ ~~~~~~~~~~~~~~~~~~~~~~ src/ssl.c:609:45: warning: assigning to 'SSL_METHOD *' (aka 'struct ssl_method_st *') from 'const SSL_METHOD *' (aka 'const struct ssl_method_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ssl->method = SSLv23_client_method(); ^ ~~~~~~~~~~~~~~~~~~~~~~ src/ssl.c:623:47: warning: implicit declaration of function 'SSLv2_client_method' is invalid in C99 [-Wimplicit-function-declaration] ssl->method = SSLv2_client_method(); ^ src/ssl.c:623:45: warning: incompatible integer to pointer conversion assigning to 'SSL_METHOD *' (aka 'struct ssl_method_st *') from 'int' [-Wint-conversion] ssl->method = SSLv2_client_method(); ^ ~~~~~~~~~~~~~~~~~~~~~ src/ssl.c:634:47: warning: implicit declaration of function 'SSLv3_client_method' is invalid in C99 [-Wimplicit-function-declaration] ssl->method = SSLv3_client_method(); ^ src/ssl.c:634:45: warning: incompatible integer to pointer conversion assigning to 'SSL_METHOD *' (aka 'struct ssl_method_st *') from 'int' [-Wint-conversion] ssl->method = SSLv3_client_method(); ^ ~~~~~~~~~~~~~~~~~~~~~ src/ssl.c:637:39: warning: 'TLSv1_client_method' is deprecated [-Wdeprecated-declarations] ssl->method = TLSv1_client_method(); ^ /usr/include/openssl/ssl.h:1629:1: note: 'TLSv1_client_method' has been explicitly marked deprecated here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) /* TLSv1.0 */ ^ /usr/include/openssl/opensslconf.h:127:34: note: expanded from macro 'DEPRECATEDIN_1_1_0' # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f) ^ /usr/include/openssl/opensslconf.h:102:53: note: expanded from macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ src/ssl.c:637:37: warning: assigning to 'SSL_METHOD *' (aka 'struct ssl_method_st *') from 'const SSL_METHOD *' (aka 'const struct ssl_method_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ssl->method = TLSv1_client_method(); ^ ~~~~~~~~~~~~~~~~~~~~~ src/ssl.c:641:39: warning: 'TLSv1_1_client_method' is deprecated [-Wdeprecated-declarations] ssl->method = TLSv1_1_client_method(); ^ /usr/include/openssl/ssl.h:1635:1: note: 'TLSv1_1_client_method' has been explicitly marked deprecated here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_client_method(void)) /* TLSv1.1 */ ^ /usr/include/openssl/opensslconf.h:127:34: note: expanded from macro 'DEPRECATEDIN_1_1_0' # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f) ^ /usr/include/openssl/opensslconf.h:102:53: note: expanded from macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ src/ssl.c:641:37: warning: assigning to 'SSL_METHOD *' (aka 'struct ssl_method_st *') from 'const SSL_METHOD *' (aka 'const struct ssl_method_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ssl->method = TLSv1_1_client_method(); ^ ~~~~~~~~~~~~~~~~~~~~~~~ src/ssl.c:646:39: warning: 'TLSv1_2_client_method' is deprecated [-Wdeprecated-declarations] ssl->method = TLSv1_2_client_method(); ^ /usr/include/openssl/ssl.h:1641:1: note: 'TLSv1_2_client_method' has been explicitly marked deprecated here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_client_method(void)) /* TLSv1.2 */ ^ /usr/include/openssl/opensslconf.h:127:34: note: expanded from macro 'DEPRECATEDIN_1_1_0' # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f) ^ /usr/include/openssl/opensslconf.h:102:53: note: expanded from macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ src/ssl.c:646:37: warning: assigning to 'SSL_METHOD *' (aka 'struct ssl_method_st *') from 'const SSL_METHOD *' (aka 'const struct ssl_method_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ssl->method = TLSv1_2_client_method(); ^ ~~~~~~~~~~~~~~~~~~~~~~~ src/ssl.c:650:39: warning: 'TLSv1_client_method' is deprecated [-Wdeprecated-declarations] ssl->method = TLSv1_client_method(); ^ /usr/include/openssl/ssl.h:1629:1: note: 'TLSv1_client_method' has been explicitly marked deprecated here DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) /* TLSv1.0 */ ^ /usr/include/openssl/opensslconf.h:127:34: note: expanded from macro 'DEPRECATEDIN_1_1_0' # define DEPRECATEDIN_1_1_0(f) DECLARE_DEPRECATED(f) ^ /usr/include/openssl/opensslconf.h:102:53: note: expanded from macro 'DECLARE_DEPRECATED' # define DECLARE_DEPRECATED(f) f __attribute__ ((deprecated)); ^ src/ssl.c:650:37: warning: assigning to 'SSL_METHOD *' (aka 'struct ssl_method_st *') from 'const SSL_METHOD *' (aka 'const struct ssl_method_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] ssl->method = TLSv1_client_method(); ^ ~~~~~~~~~~~~~~~~~~~~~ src/ssl.c:765:21: error: variable has incomplete type 'X509_OBJECT' (aka 'struct x509_object_st') X509_OBJECT found_cert; ^ /usr/include/openssl/ossl_typ.h:129:16: note: forward declaration of 'struct x509_object_st' typedef struct x509_object_st X509_OBJECT; ^ src/ssl.c:767:52: error: incomplete definition of type 'struct x509_store_ctx_st' X509_NAME_oneline(X509_get_subject_name(ctx->current_cert), subject, STRLEN-1); ~~~^ /usr/include/openssl/ossl_typ.h:127:16: note: forward declaration of 'struct x509_store_ctx_st' typedef struct x509_store_ctx_st X509_STORE_CTX; ^ src/ssl.c:772:16: error: incomplete definition of type 'struct x509_store_ctx_st' if (ctx->error_depth == 0 && X509_STORE_get_by_subject(ctx, X509_LU_X509, X509_get_subject_name(ctx->current_cert), &found_cert) != 1) { ~~~^ /usr/include/openssl/ossl_typ.h:127:16: note: forward declaration of 'struct x509_store_ctx_st' typedef struct x509_store_ctx_st X509_STORE_CTX; ^ src/ssl.c:772:108: error: incomplete definition of type 'struct x509_store_ctx_st' if (ctx->error_depth == 0 && X509_STORE_get_by_subject(ctx, X509_LU_X509, X509_get_subject_name(ctx->current_cert), &found_cert) != 1) { ~~~^ /usr/include/openssl/ossl_typ.h:127:16: note: forward declaration of 'struct x509_store_ctx_st' typedef struct x509_store_ctx_st X509_STORE_CTX; ^ src/ssl.c:786:17: error: incomplete definition of type 'struct x509_store_ctx_st' if ((ctx->error != X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT) && (ctx->error != X509_V_ERR_INVALID_PURPOSE)) { ~~~^ /usr/include/openssl/ossl_typ.h:127:16: note: forward declaration of 'struct x509_store_ctx_st' typedef struct x509_store_ctx_st X509_STORE_CTX; ^ src/ssl.c:786:75: error: incomplete definition of type 'struct x509_store_ctx_st' if ((ctx->error != X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT) && (ctx->error != X509_V_ERR_INVALID_PURPOSE)) { ~~~^ /usr/include/openssl/ossl_typ.h:127:16: note: forward declaration of 'struct x509_store_ctx_st' typedef struct x509_store_ctx_st X509_STORE_CTX; ^ src/ssl.c:788:124: error: incomplete definition of type 'struct x509_store_ctx_st' LogError("%s: SSL connection rejected because certificate verification has failed -- error %i\n", prog, ctx->error); ~~~^ /usr/include/openssl/ossl_typ.h:127:16: note: forward declaration of 'struct x509_store_ctx_st' typedef struct x509_store_ctx_st X509_STORE_CTX; ^ src/ssl.c:793:38: error: incomplete definition of type 'struct x509_store_ctx_st' if (Run.allowselfcert && (ctx->error == X509_V_ERR_DEPTH_ZERO_SELF_SIGNED_CERT)) { ~~~^ /usr/include/openssl/ossl_typ.h:127:16: note: forward declaration of 'struct x509_store_ctx_st' typedef struct x509_store_ctx_st X509_STORE_CTX; ^ src/ssl.c:796:20: error: incomplete definition of type 'struct x509_store_ctx_st' ctx->error = 0; ~~~^ /usr/include/openssl/ossl_typ.h:127:16: note: forward declaration of 'struct x509_store_ctx_st' typedef struct x509_store_ctx_st X509_STORE_CTX; ^ src/ssl.c:801:117: error: incomplete definition of type 'struct x509_store_ctx_st' LogError("%s: SSL connection rejected because certificate verification has failed -- error %i!\n", prog, ctx->error); ~~~^ /usr/include/openssl/ossl_typ.h:127:16: note: forward declaration of 'struct x509_store_ctx_st' typedef struct x509_store_ctx_st X509_STORE_CTX; ^ 14 warnings and 10 errors generated. gmake[2]: *** [Makefile:657: src/ssl.o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... gmake[2]: Leaving directory '/data/scratch/sysutils/monit/work/monit-5.8' gmake[1]: *** [Makefile:717: all-recursive] Error 1 gmake[1]: Leaving directory '/data/scratch/sysutils/monit/work/monit-5.8' gmake: *** [Makefile:401: all] Error 2 *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/sysutils/monit *** Error code 1 Stop. make: stopped in /data/pkgsrc/sysutils/monit