=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for rootprobe-200301 gcc -O -Wall -g -DDEBUG -c rootprobe.c -o rootprobe.o In file included from rootprobe.c:88: server.h:70: error: 'IFNAMSIZ' undeclared here (not in a function) rootprobe.c: In function 'init': rootprobe.c:262: error: 'struct sockaddr_in' has no member named 'sin_len' rootprobe.c:262: warning: statement with no effect rootprobe.c:322: error: 'struct sockaddr_in' has no member named 'sin_len' rootprobe.c:322: warning: statement with no effect rootprobe.c: In function 'do_query': rootprobe.c:453: warning: format '%ld' expects type 'long int', but argument 3 has type 'time_t' rootprobe.c:453: warning: format '%ld' expects type 'long int', but argument 3 has type 'time_t' rootprobe.c:514: warning: format '%ld' expects type 'long int', but argument 2 has type 'time_t' rootprobe.c:514: warning: format '%06ld' expects type 'long int', but argument 3 has type 'suseconds_t' rootprobe.c:514: warning: format '%ld' expects type 'long int', but argument 2 has type 'time_t' rootprobe.c:514: warning: format '%06ld' expects type 'long int', but argument 3 has type 'suseconds_t' rootprobe.c: In function 'report': rootprobe.c:612: warning: format '%ld' expects type 'long int', but argument 3 has type 'time_t' rootprobe.c:612: warning: format '%s' expects type 'char *', but argument 5 has type 'struct server *' rootprobe.c:612: warning: format '%ld' expects type 'long int', but argument 3 has type 'time_t' rootprobe.c:612: warning: format '%s' expects type 'char *', but argument 5 has type 'struct server *' rootprobe.c:619: warning: format '%ld' expects type 'long int', but argument 3 has type 'time_t' rootprobe.c:619: warning: format '%s' expects type 'char *', but argument 5 has type 'struct server *' rootprobe.c:619: warning: format '%ld' expects type 'long int', but argument 3 has type 'time_t' rootprobe.c:619: warning: format '%s' expects type 'char *', but argument 5 has type 'struct server *' rootprobe.c: In function 'send_query': rootprobe.c:715: error: invalid use of undefined type 'struct ifconf' rootprobe.c:715: error: array subscript is not an integer rootprobe.c:715: warning: comparison of distinct pointer types lacks a cast rootprobe.c:720: error: dereferencing pointer to incomplete type rootprobe.c:720: error: request for member 'ifr_addr' in something not a structure or union rootprobe.c:720: error: request for member 'sa_len' in something not a structure or union rootprobe.c:720: error: invalid operands to binary + (have 'struct server *' and 'struct server *') rootprobe.c:720: error: invalid operands to binary + (have 'u_char *' and 'struct server *') rootprobe.c:720: warning: statement with no effect rootprobe.c:726: error: dereferencing pointer to incomplete type rootprobe.c:726: error: request for member 'ifr_addr' in something not a structure or union rootprobe.c:726: error: request for member 'sa_family' in something not a structure or union rootprobe.c:726: warning: comparison between pointer and integer rootprobe.c:726: error: dereferencing pointer to incomplete type rootprobe.c:726: error: request for member 'ifr_dstaddr' in something not a structure or union rootprobe.c:726: error: request for member 'sa_family' in something not a structure or union rootprobe.c:726: warning: comparison between pointer and integer rootprobe.c:729: error: dereferencing pointer to incomplete type rootprobe.c:729: error: request for member 'ifr_addr' in something not a structure or union rootprobe.c:735: error: incompatible types when assigning to type 'struct server' from type 'int' rootprobe.c:735: warning: statement with no effect rootprobe.c:737: error: dereferencing pointer to incomplete type rootprobe.c:737: error: request for member 'ifr_name' in something not a structure or union rootprobe.c:737: warning: passing argument 1 of 'strncpy' from incompatible pointer type /usr/include/string.h:64: note: expected 'char * __restrict__' but argument is of type 'struct server *' rootprobe.c:737: warning: passing argument 2 of 'strncpy' from incompatible pointer type /usr/include/string.h:64: note: expected 'const char * __restrict__' but argument is of type 'struct server *' rootprobe.c:737: warning: passing argument 3 of 'strncpy' makes integer from pointer without a cast /usr/include/string.h:64: note: expected 'size_t' but argument is of type 'struct server *' rootprobe.c:747: warning: format '%s' expects type 'char *', but argument 3 has type 'struct server *' rootprobe.c:747: warning: format '%s' expects type 'char *', but argument 3 has type 'struct server *' rootprobe.c: In function 'check_ifaddrs': rootprobe.c:829: error: invalid use of undefined type 'struct ifconf' rootprobe.c:829: warning: statement with no effect rootprobe.c:830: error: invalid use of undefined type 'struct ifconf' rootprobe.c:830: warning: statement with no effect rootprobe.c:831: error: 'SIOCGIFCONF' undeclared (first use in this function) rootprobe.c:831: error: (Each undeclared identifier is reported only once rootprobe.c:831: error: for each function it appears in.) rootprobe.c:831: warning: passing argument 2 of 'ioctl' makes integer from pointer without a cast /usr/include/minix/ioctl.h:56: note: expected 'int' but argument is of type 'struct server *' *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/net/rootprobe/work/rootprobe *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/rootprobe *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/rootprobe