=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for gofish-1.2nb1 /usr/pkg/bin/bmake all-am cc -DSYSCONFDIR=\"/usr/pkg/etc\" -DLOCALSTATEDIR=\"/usr/pkg/var\" -DGOPHER_ROOT=\"/usr/pkg/var/gopher\" -I. -I. -I. -O2 -march=i586 -Wall -c mkcache.c cc -DSYSCONFDIR=\"/usr/pkg/etc\" -DLOCALSTATEDIR=\"/usr/pkg/var\" -DGOPHER_ROOT=\"/usr/pkg/var/gopher\" -I. -I. -I. -O2 -march=i586 -Wall -c config.c cc -DSYSCONFDIR=\"/usr/pkg/etc\" -DLOCALSTATEDIR=\"/usr/pkg/var\" -DGOPHER_ROOT=\"/usr/pkg/var/gopher\" -I. -I. -I. -O2 -march=i586 -Wall -c mime.c cc -O2 -march=i586 -Wall -Wl,-R/usr/pkg/lib -o mkcache mkcache.o config.o mime.o cc -DSYSCONFDIR=\"/usr/pkg/etc\" -DLOCALSTATEDIR=\"/usr/pkg/var\" -DGOPHER_ROOT=\"/usr/pkg/var/gopher\" -I. -I. -I. -O2 -march=i586 -Wall -c gofish.c gofish.c:278:26: warning: 'memset' call operates on objects of type 'struct connection' while the size is based on a different type 'struct connection *' [-Wsizeof-pointer-memaccess] memset(conns, 0, sizeof(conns)); ~~~~~ ^~~~~ gofish.c:278:26: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)? memset(conns, 0, sizeof(conns)); ^~~~~ gofish.c:1115:26: warning: format specifies type 'long' but the argument has type 'time_t' (aka 'long long') [-Wformat] sprintf(str, "%ld %s", up, up == 1 ? "day" : "days"); ~~~ ^~ %lld gofish.c:1118:26: warning: format specifies type 'long' but the argument has type 'time_t' (aka 'long long') [-Wformat] sprintf(str, "%ld %s", up, up == 1 ? "hour" : "hours"); ~~~ ^~ %lld 3 warnings generated. cc -DSYSCONFDIR=\"/usr/pkg/etc\" -DLOCALSTATEDIR=\"/usr/pkg/var\" -DGOPHER_ROOT=\"/usr/pkg/var/gopher\" -I. -I. -I. -O2 -march=i586 -Wall -c log.c log.c:84:9: warning: array subscript is of type 'char' [-Wchar-subscripts] while (isspace(*str)) ^~~~~~~~~~~~~ /usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace' #define isspace(c) ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S)) ^~~~ 1 warning generated. cc -DSYSCONFDIR=\"/usr/pkg/etc\" -DLOCALSTATEDIR=\"/usr/pkg/var\" -DGOPHER_ROOT=\"/usr/pkg/var/gopher\" -I. -I. -I. -O2 -march=i586 -Wall -c socket.c cc -DSYSCONFDIR=\"/usr/pkg/etc\" -DLOCALSTATEDIR=\"/usr/pkg/var\" -DGOPHER_ROOT=\"/usr/pkg/var/gopher\" -I. -I. -I. -O2 -march=i586 -Wall -c http.c http.c:729:20: warning: format specifies type 'long' but the argument has type '__off_t' (aka 'long long') [-Wformat] fname, n, sbuf.st_size); ^~~~~~~~~~~~ 1 warning generated. cc -DSYSCONFDIR=\"/usr/pkg/etc\" -DLOCALSTATEDIR=\"/usr/pkg/var\" -DGOPHER_ROOT=\"/usr/pkg/var/gopher\" -I. -I. -I. -O2 -march=i586 -Wall -c mmap_cache.c cc -O2 -march=i586 -Wall -Wl,-R/usr/pkg/lib -o gofish gofish.o log.o socket.o config.o http.o mmap_cache.o mime.o mmap_cache.o: In function `mmap_get': mmap_cache.c:(.text+0x74): undefined reference to `madvise' clang: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/net/gofish/work/gofish *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/net/gofish/work/gofish *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/gofish *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/gofish