=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for libdnsres-0.1anb11 /usr/pkg/bin/bmake all-recursive Making all in . /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/include -Wall -O0 -g -DRESOLVSORT -c -o res_comp.lo res_comp.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I./compat -Wall -O0 -g -DRESOLVSORT -c res_comp.c -fPIC -DPIC -o .libs/res_comp.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I./compat -Wall -O0 -g -DRESOLVSORT -c res_comp.c -o res_comp.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/include -Wall -O0 -g -DRESOLVSORT -c -o res_debug.lo res_debug.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I./compat -Wall -O0 -g -DRESOLVSORT -c res_debug.c -fPIC -DPIC -o .libs/res_debug.o res_debug.c:1145:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] cp = *strptr; ^ ~~~~~~~ res_debug.c:1171:10: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] *strptr = cp; ^ ~~ res_debug.c:1186:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] cp = *latlonstrptr; ^ ~~~~~~~~~~~~~ res_debug.c:1269:16: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] *latlonstrptr = cp; ^ ~~ res_debug.c:1296:22: warning: incompatible pointer types passing 'unsigned char **' to parameter of type 'char **' [-Wincompatible-pointer-types] lltemp1 = latlon2ul(&cp, &which1); ^~~ res_debug.c:1298:22: warning: incompatible pointer types passing 'unsigned char **' to parameter of type 'char **' [-Wincompatible-pointer-types] lltemp2 = latlon2ul(&cp, &which2); ^~~ res_debug.c:1349:22: warning: incompatible pointer types passing 'unsigned char **' to parameter of type 'char **' [-Wincompatible-pointer-types] siz = precsize_aton(&cp); ^~~ res_debug.c:1360:21: warning: incompatible pointer types passing 'unsigned char **' to parameter of type 'char **' [-Wincompatible-pointer-types] hp = precsize_aton(&cp); ^~~ res_debug.c:1371:21: warning: incompatible pointer types passing 'unsigned char **' to parameter of type 'char **' [-Wincompatible-pointer-types] vp = precsize_aton(&cp); ^~~ 9 warnings generated. libtool: compile: cc -DHAVE_CONFIG_H -I. -I./compat -Wall -O0 -g -DRESOLVSORT -c res_debug.c -o res_debug.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/include -Wall -O0 -g -DRESOLVSORT -c -o res_mkquery.lo res_mkquery.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I./compat -Wall -O0 -g -DRESOLVSORT -c res_mkquery.c -fPIC -DPIC -o .libs/res_mkquery.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I./compat -Wall -O0 -g -DRESOLVSORT -c res_mkquery.c -o res_mkquery.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/include -Wall -O0 -g -DRESOLVSORT -c -o res_random.lo res_random.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I./compat -Wall -O0 -g -DRESOLVSORT -c res_random.c -fPIC -DPIC -o .libs/res_random.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I./compat -Wall -O0 -g -DRESOLVSORT -c res_random.c -o res_random.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/include -Wall -O0 -g -DRESOLVSORT -c -o res_data.lo res_data.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I./compat -Wall -O0 -g -DRESOLVSORT -c res_data.c -fPIC -DPIC -o .libs/res_data.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I./compat -Wall -O0 -g -DRESOLVSORT -c res_data.c -o res_data.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/include -Wall -O0 -g -DRESOLVSORT -c -o res_init.lo res_init.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I./compat -Wall -O0 -g -DRESOLVSORT -c res_init.c -fPIC -DPIC -o .libs/res_init.o res_init.c:207:30: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (issetugid() == 0 && (cp = getenv("LOCALDOMAIN")) != NULL) { ^ ~~~~~~~~~~~~~~~~~~~~~ res_init.c:208:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcpy(_resp->defdname, cp, sizeof(_resp->defdname)); ^~ /usr/include/string.h:101:37: note: passing argument to parameter here size_t strlcpy(char *, const char *, size_t); ^ res_init.c:220:9: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] *pp++ = cp; ^ ~~ res_init.c:228:11: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] *pp++ = cp; ^ ~~ res_init.c:250:17: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] while ((cp = fgetln(fp, &len)) != NULL) { ^ ~~~~~~~~~~~~~~~~ res_init.c:257:11: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = strpbrk(buf, ";#")) != NULL) ^ ~~~~~~~~~~~~~~~~~~ res_init.c:265:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] cp = buf + sizeof("domain") - 1; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ res_init.c:270:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcpy(_resp->defdname, cp, sizeof(_resp->defdname)); ^~ /usr/include/string.h:101:37: note: passing argument to parameter here size_t strlcpy(char *, const char *, size_t); ^ res_init.c:271:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = strpbrk(_resp->defdname, " \t\n")) != NULL) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ res_init.c:281:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] cp = buf + sizeof("lookup") - 1; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ res_init.c:299:12: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] sp = cp; ^ ~~ res_init.c:307:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] cp = buf + sizeof("search") - 1; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ res_init.c:312:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcpy(_resp->defdname, cp, sizeof(_resp->defdname)); ^~ /usr/include/string.h:101:37: note: passing argument to parameter here size_t strlcpy(char *, const char *, size_t); ^ res_init.c:313:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((cp = strchr(_resp->defdname, '\n')) != NULL) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ res_init.c:319:10: warning: assigning to 'unsigned char *' from 'char [256]' converts between pointers to integer types with different sign [-Wpointer-sign] cp = _resp->defdname; ^ ~~~~~~~~~~~~~~~ res_init.c:321:13: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] *pp++ = cp; ^ ~~ res_init.c:327:15: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] *pp++ = cp; ^ ~~ res_init.c:345:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] cp = buf + sizeof("nameserver") - 1; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ res_init.c:362:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (getaddrinfo(cp, pbuf, &hints, &res) == 0 && ^~ /usr/include/netdb.h:351:41: note: passing argument to parameter here int getaddrinfo(const char * __restrict, const char * __restrict, ^ res_init.c:391:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] cp = buf + sizeof("sortlist") - 1; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ res_init.c:397:8: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] net = cp; ^ ~~ res_init.c:407:9: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] net = cp; ^ ~~ res_init.c:435:12: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] net = cp; ^ ~~ res_init.c:490:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] (cp = strchr(buf, '.')) != NULL) ^ ~~~~~~~~~~~~~~~~ res_init.c:492:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcpy(_resp->defdname, cp + 1, ^~~~~~ /usr/include/string.h:101:37: note: passing argument to parameter here size_t strlcpy(char *, const char *, size_t); ^ res_init.c:504:11: warning: assigning to 'unsigned char *' from 'char [256]' converts between pointers to integer types with different sign [-Wpointer-sign] for (cp = _resp->defdname; *cp; cp++) ^ ~~~~~~~~~~~~~~~ res_init.c:507:6: warning: assigning to 'unsigned char *' from 'char [256]' converts between pointers to integer types with different sign [-Wpointer-sign] cp = _resp->defdname; ^ ~~~~~~~~~~~~~~~ res_init.c:511:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] cp = strchr(cp, '.') + 1; /* we know there is one */ ^~ /usr/include/string.h:55:26: note: passing argument to parameter here char *strchr(const char *, int); ^ res_init.c:511:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] cp = strchr(cp, '.') + 1; /* we know there is one */ ^ ~~~~~~~~~~~~~~~~~~~ res_init.c:512:10: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] *pp++ = cp; ^ ~~ res_init.c:529:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] else if ((cp = getenv("RES_OPTIONS")) != NULL) ^ ~~~~~~~~~~~~~~~~~~~~~ res_init.c:530:25: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] res_setoptions(_resp, cp, "env"); ^~ res_init.c:135:51: note: passing argument to parameter here static void res_setoptions(struct dnsres *, char *, char *); ^ res_init.c:565:19: warning: initializing 'unsigned char *' with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] unsigned char *p = cp + sizeof("ndots:") - 1; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ res_init.c:566:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] l = strtol(p, (char **)&endp, 10); ^ /usr/include/stdlib.h:123:37: note: passing argument to parameter here long strtol(const char * __restrict, char ** __restrict, int); ^ 34 warnings generated. libtool: compile: cc -DHAVE_CONFIG_H -I. -I./compat -Wall -O0 -g -DRESOLVSORT -c res_init.c -o res_init.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/include -Wall -O0 -g -DRESOLVSORT -c -o res_query.lo res_query.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I./compat -Wall -O0 -g -DRESOLVSORT -c res_query.c -fPIC -DPIC -o .libs/res_query.o res_query.c:586:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] while ((cp1 = fgetln(fp, &len)) != NULL) { ^ ~~~~~~~~~~~~~~~~ res_query.c:594:12: warning: assigning to 'unsigned char *' from 'char [1024]' converts between pointers to integer types with different sign [-Wpointer-sign] for (cp1 = buf; *cp1 && !isspace(*cp1); ++cp1) ^ ~~~ res_query.c:607:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] strlcpy(abuf, cp1, sizeof(abuf)); ^~~ /usr/include/string.h:101:37: note: passing argument to parameter here size_t strlcpy(char *, const char *, size_t); ^ 3 warnings generated. libtool: compile: cc -DHAVE_CONFIG_H -I. -I./compat -Wall -O0 -g -DRESOLVSORT -c res_query.c -o res_query.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/include -Wall -O0 -g -DRESOLVSORT -c -o res_send.lo res_send.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I./compat -Wall -O0 -g -DRESOLVSORT -c res_send.c -fPIC -DPIC -o .libs/res_send.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I./compat -Wall -O0 -g -DRESOLVSORT -c res_send.c -o res_send.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/include -Wall -O0 -g -DRESOLVSORT -c -o gethostnamadr.lo gethostnamadr.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I./compat -Wall -O0 -g -DRESOLVSORT -c gethostnamadr.c -fPIC -DPIC -o .libs/gethostnamadr.o gethostnamadr.c:644:17: warning: initializing 'unsigned char *' with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] unsigned char *name = state->name; ^ ~~~~~~~~~~~ gethostnamadr.c:681:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strchr(name, '.') && (cp = hostalias(_resp, name))) { ^~~~ /usr/include/string.h:55:26: note: passing argument to parameter here char *strchr(const char *, int); ^ gethostnamadr.c:681:51: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strchr(name, '.') && (cp = hostalias(_resp, name))) { ^~~~ ./resolv.h:297:54: note: passing argument to parameter here const char * hostalias(struct dnsres *, const char *); ^ gethostnamadr.c:681:32: warning: assigning to 'const unsigned char *' from 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (!strchr(name, '.') && (cp = hostalias(_resp, name))) { ^ ~~~~~~~~~~~~~~~~~~~~~~ gethostnamadr.c:683:28: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] state->name_len = strlen(cp) + 1; ^~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ gethostnamadr.c:684:24: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] state->name = strdup(cp); ^~ /usr/include/string.h:79:26: note: passing argument to parameter here char *strdup(const char *); ^ gethostnamadr.c:688:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] name = state->name; ^ ~~~~~~~~~~~ gethostnamadr.c:705:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (inet_pton(af, name, ^~~~ /usr/include/arpa/inet.h:90:45: note: passing argument to parameter here int inet_pton(int, const char * __restrict, ^ gethostnamadr.c:711:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] dnsres_reset_state(state, name); ^~~~ gethostnamadr.c:537:62: note: passing argument to parameter 'name' here dnsres_reset_state(struct dnsres_cbstate *state, const char *name) ^ gethostnamadr.c:724:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((isxdigit(name[0]) && strchr(name, ':') != NULL) || ^~~~ /usr/include/string.h:55:26: note: passing argument to parameter here char *strchr(const char *, int); ^ gethostnamadr.c:735:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (inet_pton(af, name, ^~~~ /usr/include/arpa/inet.h:90:45: note: passing argument to parameter here int inet_pton(int, const char * __restrict, ^ gethostnamadr.c:741:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] dnsres_reset_state(state, name); ^~~~ gethostnamadr.c:537:62: note: passing argument to parameter 'name' here dnsres_reset_state(struct dnsres_cbstate *state, const char *name) ^ 12 warnings generated. libtool: compile: cc -DHAVE_CONFIG_H -I. -I./compat -Wall -O0 -g -DRESOLVSORT -c gethostnamadr.c -o gethostnamadr.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/include -Wall -O0 -g -DRESOLVSORT -c -o getaddrinfo.lo getaddrinfo.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I./compat -Wall -O0 -g -DRESOLVSORT -c getaddrinfo.c -fPIC -DPIC -o .libs/getaddrinfo.o getaddrinfo.c:613:6: warning: variable 'error' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if (state->sentinel.ai_next) ^~~~~~~~~~~~~~~~~~~~~~~ getaddrinfo.c:616:6: note: uninitialized use occurs here if (error) ^~~~~ getaddrinfo.c:613:2: note: remove the 'if' if its condition is always true if (state->sentinel.ai_next) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ getaddrinfo.c:610:11: note: initialize the variable 'error' to silence this warning int error; ^ = 0 getaddrinfo.c:1170:14: warning: implicit declaration of function 'if_nametoindex' is invalid in C99 [-Wimplicit-function-declaration] *scopeid = if_nametoindex(scope); ^ 2 warnings generated. libtool: compile: cc -DHAVE_CONFIG_H -I. -I./compat -Wall -O0 -g -DRESOLVSORT -c getaddrinfo.c -o getaddrinfo.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/include -Wall -O0 -g -DRESOLVSORT -c -o getservbyname.lo getservbyname.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I./compat -Wall -O0 -g -DRESOLVSORT -c getservbyname.c -fPIC -DPIC -o .libs/getservbyname.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I./compat -Wall -O0 -g -DRESOLVSORT -c getservbyname.c -o getservbyname.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/include -Wall -O0 -g -DRESOLVSORT -c -o getservent.lo getservent.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I./compat -Wall -O0 -g -DRESOLVSORT -c getservent.c -fPIC -DPIC -o .libs/getservent.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I./compat -Wall -O0 -g -DRESOLVSORT -c getservent.c -o getservent.o >/dev/null 2>&1 /bin/sh ./libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/include -Wall -O0 -g -DRESOLVSORT -c -o base64.lo base64.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I./compat -Wall -O0 -g -DRESOLVSORT -c base64.c -fPIC -DPIC -o .libs/base64.o libtool: compile: cc -DHAVE_CONFIG_H -I. -I./compat -Wall -O0 -g -DRESOLVSORT -c base64.c -o base64.o >/dev/null 2>&1 /bin/sh ./libtool --mode=link cc -Wall -O0 -g -DRESOLVSORT -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o libdnsres.la -rpath /usr/pkg/lib -version-info 0:1:0 res_comp.lo res_debug.lo res_mkquery.lo res_random.lo res_data.lo res_init.lo res_query.lo res_send.lo gethostnamadr.lo getaddrinfo.lo getservbyname.lo getservent.lo base64.lo libtool: link: cc -shared -fPIC -DPIC .libs/res_comp.o .libs/res_debug.o .libs/res_mkquery.o .libs/res_random.o .libs/res_data.o .libs/res_init.o .libs/res_query.o .libs/res_send.o .libs/gethostnamadr.o .libs/getaddrinfo.o .libs/getservbyname.o .libs/getservent.o .libs/base64.o -L/usr/pkgsrc/work/devel/libdnsres/work/.buildlink/lib -O0 -Wl,-R/usr/pkg/lib -Wl,-soname -Wl,libdnsres.so.0 -o .libs/libdnsres.so.0.0.1 libtool: link: (cd ".libs" && rm -f "libdnsres.so.0" && ln -s "libdnsres.so.0.0.1" "libdnsres.so.0") libtool: link: (cd ".libs" && rm -f "libdnsres.so" && ln -s "libdnsres.so.0.0.1" "libdnsres.so") libtool: link: ar cru .libs/libdnsres.a res_comp.o res_debug.o res_mkquery.o res_random.o res_data.o res_init.o res_query.o res_send.o gethostnamadr.o getaddrinfo.o getservbyname.o getservent.o base64.o libtool: link: ranlib .libs/libdnsres.a libtool: link: ( cd ".libs" && rm -f "libdnsres.la" && ln -s "../libdnsres.la" "libdnsres.la" ) cc -DHAVE_CONFIG_H -I. -I. -I. -I./compat -I/usr/include -Wall -O0 -g -DRESOLVSORT -c -o simple_test.o `test -f 'test/simple_test.c' || echo './'`test/simple_test.c /bin/sh ./libtool --mode=link cc -Wall -O0 -g -DRESOLVSORT -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o simple_test simple_test.o -L. -ldnsres -levent *** [buildlink3] Warning: libtool replaced -ldnsres with ./libdnsres.la libtool: link: cc -Wall -O0 -g -DRESOLVSORT -Wl,-R/usr/pkg/lib -o .libs/simple_test simple_test.o -L. -L./.libs -ldnsres -L/usr/pkgsrc/work/devel/libdnsres/work/.buildlink/lib -levent -Wl,-rpath,/usr/pkg/lib ./.libs/libdnsres.so: undefined reference to `if_nametoindex' clang: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. bmake[2]: stopped in /usr/pkgsrc/work/devel/libdnsres/work/libdnsres-0.1a *** Error code 1 Stop. bmake[1]: stopped in /usr/pkgsrc/work/devel/libdnsres/work/libdnsres-0.1a *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/devel/libdnsres/work/libdnsres-0.1a *** Error code 1 Stop. bmake[1]: stopped in /usr/pkgsrc/devel/libdnsres *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/devel/libdnsres