=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for host-20070128 cc -O2 -march=i586 -W -Wall -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wcast-qual -Wpointer-arith -Wshadow -Wstrict-prototypes -Waggregate-return -Wcast-align -Wchar-subscripts -Wconversion -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wformat-extra-args -Wundef -Wbad-function-cast -DDEBUG -c main.c main.c:354:18: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] _res.options &= ~RES_DNSRCH; /* dotted names are qualified */ ~~ ^~~~~~~~~~~ main.c:357:18: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] _res.options &= ~RES_DEBUG; /* turn off debug printout */ ~~ ^~~~~~~~~~ main.c:358:18: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] _res.options &= ~RES_USEVC; /* do not use virtual circuit */ ~~ ^~~~~~~~~~ main.c:381:19: warning: implicitly declaring library function 'strrchr' with type 'char *(const char *, int)' argv0 = (argv0 = strrchr(argv[0], '/')) ? argv0 + 1 : argv[0]; ^ main.c:381:19: note: please include the header or explicitly provide a declaration for 'strrchr' main.c:391:6: warning: implicitly declaring library function 'strcasecmp' with type 'int (const char *, const char *)' if (sameword(argv0, "zone")) ^ ./host.h:177:25: note: expanded from macro 'sameword' #define sameword(a, b) (strcasecmp(a, b) == 0) ^ main.c:391:6: note: please include the header or explicitly provide a declaration for 'strcasecmp' ./host.h:177:25: note: expanded from macro 'sameword' #define sameword(a, b) (strcasecmp(a, b) == 0) ^ main.c:581:24: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] new_res.options &= ~RES_RECURSE; ~~ ^~~~~~~~~~~~ main.c:823:11: warning: implicitly declaring library function 'strlen' with type 'unsigned int (const char *)' for (q = newstr(option), p = q; *p != '\0'; p = q) { ^ ./host.h:191:26: note: expanded from macro 'newstr' #define newstr(s) strcpy(newstring(s), s) ^ ./host.h:190:64: note: expanded from macro 'newstring' #define newstring(s) (char *) xalloc((ptr_t *) NULL, (size_t) (strlen(s) + 1)) ^ main.c:823:11: note: please include the header or explicitly provide a declaration for 'strlen' ./host.h:191:26: note: expanded from macro 'newstr' #define newstr(s) strcpy(newstring(s), s) ^ ./host.h:190:64: note: expanded from macro 'newstring' #define newstring(s) (char *) xalloc((ptr_t *) NULL, (size_t) (strlen(s) + 1)) ^ main.c:836:37: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] optargv = newlist(optargv, optargc+2, char *); ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ./host.h:188:65: note: expanded from macro 'newlist' #define newlist(a, n, t) (t *) xalloc((ptr_t *) (a), (size_t) ((n) * sizeof(t))) ^ main.c:845:37: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] optargv = newlist(optargv, optargc+2, char *); ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ./host.h:188:65: note: expanded from macro 'newlist' #define newlist(a, n, t) (t *) xalloc((ptr_t *) (a), (size_t) ((n) * sizeof(t))) ^ main.c:906:15: warning: implicitly declaring library function 'strchr' with type 'char *(const char *, int)' if ((value = strchr(optstring, '='))) ^ main.c:906:15: note: please include the header or explicitly provide a declaration for 'strchr' main.c:1530:19: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] _res.options &= ~RES_RECURSE; ~~ ^~~~~~~~~~~~ 11 warnings generated. cc -O2 -march=i586 -W -Wall -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wcast-qual -Wpointer-arith -Wshadow -Wstrict-prototypes -Waggregate-return -Wcast-align -Wchar-subscripts -Wconversion -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wformat-extra-args -Wundef -Wbad-function-cast -DDEBUG -c info.c info.c:71:6: warning: implicitly declaring library function 'strcasecmp' with type 'int (const char *, const char *)' if (sameword(name, ".")) ^ ./host.h:177:25: note: expanded from macro 'sameword' #define sameword(a, b) (strcasecmp(a, b) == 0) ^ info.c:71:6: note: please include the header or explicitly provide a declaration for 'strcasecmp' ./host.h:177:25: note: expanded from macro 'sameword' #define sameword(a, b) (strcasecmp(a, b) == 0) ^ info.c:666:8: warning: implicit conversion changes signedness: '__uint32_t' (aka 'unsigned int') to 'int' [-Wsign-conversion] ttl = ns_get32(cp); ~ ^~~~~~~~~~~~ /usr/include/arpa/nameser.h:532:19: note: expanded from macro 'ns_get32' #define ns_get32 __ns_get32 ^ info.c:699:30: warning: implicitly declaring library function 'strncasecmp' with type 'int (const char *, const char *, unsigned int)' if (doprint && exclusive && fakename(rname)) ^ ./host.h:182:22: note: expanded from macro 'fakename' #define fakename(a) (samehead(a, "localhost.") || samehead(a, "loopback.")) ^ ./host.h:179:25: note: expanded from macro 'samehead' #define samehead(a, b) (strncasecmp(a, b, sizeof(b) - 1) == 0) ^ info.c:699:30: note: please include the header or explicitly provide a declaration for 'strncasecmp' ./host.h:182:22: note: expanded from macro 'fakename' #define fakename(a) (samehead(a, "localhost.") || samehead(a, "loopback.")) ^ ./host.h:179:25: note: expanded from macro 'samehead' #define samehead(a, b) (strncasecmp(a, b, sizeof(b) - 1) == 0) ^ info.c:702:31: warning: implicitly declaring library function 'strchr' with type 'char *(const char *, int)' if (doprint && wildcards && !in_string(rname, '*')) ^ ./host.h:195:26: note: expanded from macro 'in_string' #define in_string(s, c) (strchr(s, c) != NULL) ^ info.c:702:31: note: please include the header or explicitly provide a declaration for 'strchr' ./host.h:195:26: note: expanded from macro 'in_string' #define in_string(s, c) (strchr(s, c) != NULL) ^ info.c:705:18: warning: implicitly declaring library function 'strlen' with type 'unsigned int (const char *)' if (namelen && (strlength(rname) < namelen)) ^ ./host.h:194:28: note: expanded from macro 'strlength' #define strlength(s) (int) strlen(s) ^ info.c:705:18: note: please include the header or explicitly provide a declaration for 'strlen' ./host.h:194:28: note: expanded from macro 'strlength' #define strlength(s) (int) strlen(s) ^ info.c:760:5: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned int)' memcpy((char *) &inaddr, (char *) cp, (size_t) INADDRSZ); ^ info.c:760:5: note: please include the header or explicitly provide a declaration for 'memcpy' info.c:841:7: warning: implicit conversion changes signedness: '__uint32_t' (aka 'unsigned int') to 'int' [-Wsign-conversion] n = ns_get32(cp); ~ ^~~~~~~~~~~~ /usr/include/arpa/nameser.h:532:19: note: expanded from macro 'ns_get32' #define ns_get32 __ns_get32 ^ info.c:846:7: warning: implicit conversion changes signedness: '__uint32_t' (aka 'unsigned int') to 'int' [-Wsign-conversion] n = ns_get32(cp); ~ ^~~~~~~~~~~~ /usr/include/arpa/nameser.h:532:19: note: expanded from macro 'ns_get32' #define ns_get32 __ns_get32 ^ info.c:851:7: warning: implicit conversion changes signedness: '__uint32_t' (aka 'unsigned int') to 'int' [-Wsign-conversion] n = ns_get32(cp); ~ ^~~~~~~~~~~~ /usr/include/arpa/nameser.h:532:19: note: expanded from macro 'ns_get32' #define ns_get32 __ns_get32 ^ info.c:856:7: warning: implicit conversion changes signedness: '__uint32_t' (aka 'unsigned int') to 'int' [-Wsign-conversion] n = ns_get32(cp); ~ ^~~~~~~~~~~~ /usr/include/arpa/nameser.h:532:19: note: expanded from macro 'ns_get32' #define ns_get32 __ns_get32 ^ info.c:861:7: warning: implicit conversion changes signedness: '__uint32_t' (aka 'unsigned int') to 'int' [-Wsign-conversion] n = ns_get32(cp); ~ ^~~~~~~~~~~~ /usr/include/arpa/nameser.h:532:19: note: expanded from macro 'ns_get32' #define ns_get32 __ns_get32 ^ info.c:964:8: warning: implicit conversion changes signedness: '__uint32_t' (aka 'unsigned int') to 'int' [-Wsign-conversion] n = ns_get32(cp); ~ ^~~~~~~~~~~~ /usr/include/arpa/nameser.h:532:19: note: expanded from macro 'ns_get32' #define ns_get32 __ns_get32 ^ info.c:1101:7: warning: implicit conversion changes signedness: '__uint32_t' (aka 'unsigned int') to 'int' [-Wsign-conversion] n = ns_get32(cp); ~ ^~~~~~~~~~~~ /usr/include/arpa/nameser.h:532:19: note: expanded from macro 'ns_get32' #define ns_get32 __ns_get32 ^ info.c:1105:7: warning: implicit conversion changes signedness: '__uint32_t' (aka 'unsigned int') to 'int' [-Wsign-conversion] n = ns_get32(cp); ~ ^~~~~~~~~~~~ /usr/include/arpa/nameser.h:532:19: note: expanded from macro 'ns_get32' #define ns_get32 __ns_get32 ^ info.c:1109:7: warning: implicit conversion changes signedness: '__uint32_t' (aka 'unsigned int') to 'int' [-Wsign-conversion] n = ns_get32(cp); ~ ^~~~~~~~~~~~ /usr/include/arpa/nameser.h:532:19: note: expanded from macro 'ns_get32' #define ns_get32 __ns_get32 ^ info.c:1155:7: warning: implicit conversion changes signedness: '__uint32_t' (aka 'unsigned int') to 'int' [-Wsign-conversion] n = ns_get32(cp); ~ ^~~~~~~~~~~~ /usr/include/arpa/nameser.h:532:19: note: expanded from macro 'ns_get32' #define ns_get32 __ns_get32 ^ info.c:1160:7: warning: implicit conversion changes signedness: '__uint32_t' (aka 'unsigned int') to 'int' [-Wsign-conversion] n = ns_get32(cp); ~ ^~~~~~~~~~~~ /usr/include/arpa/nameser.h:532:19: note: expanded from macro 'ns_get32' #define ns_get32 __ns_get32 ^ info.c:1165:7: warning: implicit conversion changes signedness: '__uint32_t' (aka 'unsigned int') to 'int' [-Wsign-conversion] n = ns_get32(cp); ~ ^~~~~~~~~~~~ /usr/include/arpa/nameser.h:532:19: note: expanded from macro 'ns_get32' #define ns_get32 __ns_get32 ^ info.c:1691:32: warning: operand of ? changes signedness: 'u_char' (aka 'unsigned char') to 'char' [-Wsign-conversion] ascbuf[i] = is_print(*cp) ? *cp : '.'; ~ ^~~ info.c:1693:22: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wconversion] hexbuf[(i * 3)] = hexdigit(c); ~ ^~~~~~~~~~~ ./host.h:174:39: note: expanded from macro 'hexdigit' #define hexdigit(c) (((c) < 10) ? '0' + (c) : 'A' + (c) - 10); ~~~~^~~~~ info.c:1693:22: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wconversion] hexbuf[(i * 3)] = hexdigit(c); ~ ^~~~~~~~~~~ ./host.h:174:57: note: expanded from macro 'hexdigit' #define hexdigit(c) (((c) < 10) ? '0' + (c) : 'A' + (c) - 10); ~~~~~~~~~~^~~~ info.c:1695:26: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wconversion] hexbuf[(i * 3) + 1] = hexdigit(c); ~ ^~~~~~~~~~~ ./host.h:174:39: note: expanded from macro 'hexdigit' #define hexdigit(c) (((c) < 10) ? '0' + (c) : 'A' + (c) - 10); ~~~~^~~~~ info.c:1695:26: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wconversion] hexbuf[(i * 3) + 1] = hexdigit(c); ~ ^~~~~~~~~~~ ./host.h:174:57: note: expanded from macro 'hexdigit' #define hexdigit(c) (((c) < 10) ? '0' + (c) : 'A' + (c) - 10); ~~~~~~~~~~^~~~ 23 warnings generated. cc -O2 -march=i586 -W -Wall -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wcast-qual -Wpointer-arith -Wshadow -Wstrict-prototypes -Waggregate-return -Wcast-align -Wchar-subscripts -Wconversion -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wformat-extra-args -Wundef -Wbad-function-cast -DDEBUG -c list.c list.c:188:6: warning: implicitly declaring library function 'strlen' with type 'unsigned int (const char *)' n = strlength(name); ^ ./host.h:194:28: note: expanded from macro 'strlength' #define strlength(s) (int) strlen(s) ^ list.c:188:6: note: please include the header or explicitly provide a declaration for 'strlen' ./host.h:194:28: note: expanded from macro 'strlength' #define strlength(s) (int) strlen(s) ^ list.c:337:7: warning: implicitly declaring library function 'strncasecmp' with type 'int (const char *, const char *, unsigned int)' if (fakename(hostname(n)) || fakeaddr(hostaddr(n))) ^ ./host.h:182:22: note: expanded from macro 'fakename' #define fakename(a) (samehead(a, "localhost.") || samehead(a, "loopback.")) ^ ./host.h:179:25: note: expanded from macro 'samehead' #define samehead(a, b) (strncasecmp(a, b, sizeof(b) - 1) == 0) ^ list.c:337:7: note: please include the header or explicitly provide a declaration for 'strncasecmp' ./host.h:182:22: note: expanded from macro 'fakename' #define fakename(a) (samehead(a, "localhost.") || samehead(a, "loopback.")) ^ ./host.h:179:25: note: expanded from macro 'samehead' #define samehead(a, b) (strncasecmp(a, b, sizeof(b) - 1) == 0) ^ list.c:790:25: warning: implicitly declaring library function 'strcasecmp' with type 'int (const char *, const char *)' if ((hp != NULL) && !sameword(hp->h_name, nsname[n])) { ^ ./host.h:177:25: note: expanded from macro 'sameword' #define sameword(a, b) (strcasecmp(a, b) == 0) ^ list.c:790:25: note: please include the header or explicitly provide a declaration for 'strcasecmp' ./host.h:177:25: note: expanded from macro 'sameword' #define sameword(a, b) (strcasecmp(a, b) == 0) ^ list.c:868:19: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] _res.options &= ~RES_RECURSE; ~~ ^~~~~~~~~~~~ list.c:885:25: warning: implicitly declaring library function 'strchr' with type 'char *(const char *, int)' while ((parent_zone = strchr(parent_zone, '.'))) { ^ list.c:885:25: note: please include the header or explicitly provide a declaration for 'strchr' list.c:1022:9: warning: implicit conversion changes signedness: '__uint32_t' (aka 'unsigned int') to 'int' [-Wsign-conversion] ttl = ns_get32(cp); ~ ^~~~~~~~~~~~ /usr/include/arpa/nameser.h:532:19: note: expanded from macro 'ns_get32' #define ns_get32 __ns_get32 ^ list.c:1057:5: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned int)' memcpy((char *) &inaddr, (char *) cp, (size_t) INADDRSZ); ^ list.c:1057:5: note: please include the header or explicitly provide a declaration for 'memcpy' list.c:1270:18: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] _res.options &= ~RES_RECURSE; ~~ ^~~~~~~~~~~~ list.c:1349:18: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion] _res.options &= ~RES_RECURSE; ~~ ^~~~~~~~~~~~ list.c:1675:3: warning: implicitly declaring library function 'memset' with type 'void *(void *, int, unsigned int)' memset((char *) &ns_sin, (int) '\0', sizeof(ns_sin)); ^ list.c:1675:3: note: please include the header or explicitly provide a declaration for 'memset' list.c:1808:17: warning: cast from 'char *' to 'querybuf_t *' increases required alignment from 1 to 4 [-Wcast-align] print_answer((querybuf_t *) answer, (size_t) n, T_AXFR); ^~~~~~~~~~~~~~~~~~~~~ list.c:1816:8: warning: cast from 'char *' to 'HEADER *' increases required alignment from 1 to 4 [-Wcast-align] bp = (HEADER *) answer; ^~~~~~~~~~~~~~~~~ list.c:1888:21: warning: cast from 'char *' to 'querybuf_t *' increases required alignment from 1 to 4 [-Wcast-align] (void) print_info((querybuf_t *) answer, n, name, T_AXFR, queryclass, FALSE); ^~~~~~~~~~~~~~~~~~~~~ list.c:2030:42: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] zonename = newlist(zonename, zonecount+1, char *); ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ./host.h:188:65: note: expanded from macro 'newlist' #define newlist(a, n, t) (t *) xalloc((ptr_t *) (a), (size_t) ((n) * sizeof(t))) ^ list.c:2054:34: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] hostlist = newlist(hostlist, maxhosts, host_data_t); ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ./host.h:188:65: note: expanded from macro 'newlist' #define newlist(a, n, t) (t *) xalloc((ptr_t *) (a), (size_t) ((n) * sizeof(t))) ^ list.c:2368:9: warning: implicit conversion changes signedness: '__uint32_t' (aka 'unsigned int') to 'int' [-Wsign-conversion] ttl = ns_get32(cp); ~ ^~~~~~~~~~~~ /usr/include/arpa/nameser.h:532:19: note: expanded from macro 'ns_get32' #define ns_get32 __ns_get32 ^ list.c:2395:17: warning: implicit conversion changes signedness: '__uint32_t' (aka 'unsigned int') to 'int' [-Wsign-conversion] soa.serial = ns_get32(cp); ~ ^~~~~~~~~~~~ /usr/include/arpa/nameser.h:532:19: note: expanded from macro 'ns_get32' #define ns_get32 __ns_get32 ^ list.c:2397:18: warning: implicit conversion changes signedness: '__uint32_t' (aka 'unsigned int') to 'int' [-Wsign-conversion] soa.refresh = ns_get32(cp); ~ ^~~~~~~~~~~~ /usr/include/arpa/nameser.h:532:19: note: expanded from macro 'ns_get32' #define ns_get32 __ns_get32 ^ list.c:2399:16: warning: implicit conversion changes signedness: '__uint32_t' (aka 'unsigned int') to 'int' [-Wsign-conversion] soa.retry = ns_get32(cp); ~ ^~~~~~~~~~~~ /usr/include/arpa/nameser.h:532:19: note: expanded from macro 'ns_get32' #define ns_get32 __ns_get32 ^ list.c:2401:17: warning: implicit conversion changes signedness: '__uint32_t' (aka 'unsigned int') to 'int' [-Wsign-conversion] soa.expire = ns_get32(cp); ~ ^~~~~~~~~~~~ /usr/include/arpa/nameser.h:532:19: note: expanded from macro 'ns_get32' #define ns_get32 __ns_get32 ^ list.c:2403:19: warning: implicit conversion changes signedness: '__uint32_t' (aka 'unsigned int') to 'int' [-Wsign-conversion] soa.nxdomttl = ns_get32(cp); ~ ^~~~~~~~~~~~ /usr/include/arpa/nameser.h:532:19: note: expanded from macro 'ns_get32' #define ns_get32 __ns_get32 ^ list.c:2557:31: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] if (bitset(0x80000000U, soa.serial)) { ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ./host.h:176:31: note: expanded from macro 'bitset' #define bitset(a, b) (((a) & (b)) != 0) ^ list.c:2662:50: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] s->addrlist = newlist(s->addrlist, s->addrcount + 1, ipaddr_t); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./host.h:188:65: note: expanded from macro 'newlist' #define newlist(a, n, t) (t *) xalloc((ptr_t *) (a), (size_t) ((n) * sizeof(t))) ^ list.c:2708:15: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion] for (hfunc = type, p = name; (c = *p) != '\0'; p++) { ~ ^~~~ 24 warnings generated. cc -O2 -march=i586 -W -Wall -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wcast-qual -Wpointer-arith -Wshadow -Wstrict-prototypes -Waggregate-return -Wcast-align -Wchar-subscripts -Wconversion -Wmissing-declarations -Wmissing-prototypes -Wno-long-long -Wformat-extra-args -Wundef -Wbad-function-cast -DDEBUG -c addr.c addr.c:79:13: warning: implicit declaration of function 'getipnodebyname' is invalid in C99 [-Wimplicit-function-declaration] if (!(hp = getipnodebyname(name, AF_INET, AI_ALL | AI_V4MAPPED, &my_h_errno))) { ^ addr.c:79:44: error: use of undeclared identifier 'AI_ALL' if (!(hp = getipnodebyname(name, AF_INET, AI_ALL | AI_V4MAPPED, &my_h_errno))) { ^ addr.c:79:53: error: use of undeclared identifier 'AI_V4MAPPED' if (!(hp = getipnodebyname(name, AF_INET, AI_ALL | AI_V4MAPPED, &my_h_errno))) { ^ addr.c:94:7: warning: implicitly declaring library function 'strcasecmp' with type 'int (const char *, const char *)' if (!sameword(hname, name)) ^ ./host.h:177:25: note: expanded from macro 'sameword' #define sameword(a, b) (strcasecmp(a, b) == 0) ^ addr.c:94:7: note: please include the header or explicitly provide a declaration for 'strcasecmp' ./host.h:177:25: note: expanded from macro 'sameword' #define sameword(a, b) (strcasecmp(a, b) == 0) ^ addr.c:112:63: warning: implicitly declaring library function 'strerror' with type 'char *(int)' sys_error("malloc(%d): failed: ", naddrs * sizeof(*inaddr), strerror(errno)); ^ addr.c:112:63: note: please include the header or explicitly provide a declaration for 'strerror' addr.c:139:2: warning: implicit declaration of function 'freehostent' is invalid in C99 [-Wimplicit-function-declaration] freehostent(hp); ^ addr.c:185:13: warning: implicit declaration of function 'getipnodebyaddr' is invalid in C99 [-Wimplicit-function-declaration] if (!(hp = getipnodebyaddr((void *) &inaddr, sizeof(inaddr), AF_INET, &my_h_errno))) { ^ addr.c:185:11: warning: incompatible integer to pointer conversion assigning to 'struct hostent *' from 'int' [-Wint-conversion] if (!(hp = getipnodebyaddr((void *) &inaddr, sizeof(inaddr), AF_INET, &my_h_errno))) { ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ addr.c:283:11: warning: incompatible integer to pointer conversion assigning to 'struct hostent *' from 'int' [-Wint-conversion] if (!(hp = getipnodebyaddr((void *) &inaddr, sizeof(inaddr), AF_INET, &my_h_errno))) { ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ addr.c:415:44: error: use of undeclared identifier 'AI_ALL' if (!(hp = getipnodebyname(name, AF_INET, AI_ALL | AI_V4MAPPED, &my_h_errno))) { ^ addr.c:415:53: error: use of undeclared identifier 'AI_V4MAPPED' if (!(hp = getipnodebyname(name, AF_INET, AI_ALL | AI_V4MAPPED, &my_h_errno))) { ^ 7 warnings and 4 errors generated. *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/net/host/work/host-20070128 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/host *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/host