=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for hiredis-0.13.2 libtool --mode=compile cc -std=c99 -pedantic -c -O3 -fPIC -O2 -march=i586 -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb net.c libtool: compile: cc -std=c99 -pedantic -c -O3 -fPIC -O2 -march=i586 -Wall -W -Wstrict-prototypes -Wwrite-strings -g -ggdb net.c -fPIC -DPIC -o .libs/net.o net.c:73:5: warning: implicit declaration of function 'strerror_r' is invalid in C99 [-Wimplicit-function-declaration] __redis_strerror_r(errno, (char *)(buf + len), sizeof(buf) - len); ^ ./hiredis.h:90:9: note: expanded from macro '__redis_strerror_r' strerror_r((errno), (buf), (len)); \ ^ net.c:264:21: error: variable has incomplete type 'struct addrinfo' struct addrinfo hints, *servinfo, *bservinfo, *p, *b; ^ net.c:264:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *servinfo, *bservinfo, *p, *b; ^ net.c:317:15: warning: implicit declaration of function 'getaddrinfo' is invalid in C99 [-Wimplicit-function-declaration] if ((rv = getaddrinfo(c->tcp.host,_port,&hints,&servinfo)) != 0) { ^ net.c:320:47: warning: implicit declaration of function 'gai_strerror' is invalid in C99 [-Wimplicit-function-declaration] __redisSetError(c,REDIS_ERR_OTHER,gai_strerror(rv)); ^ net.c:320:47: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] __redisSetError(c,REDIS_ERR_OTHER,gai_strerror(rv)); ^~~~~~~~~~~~~~~~ net.c:58:61: note: passing argument to parameter 'str' here void __redisSetError(redisContext *c, int type, const char *str); ^ net.c:324:40: error: incomplete definition of type 'struct addrinfo' for (p = servinfo; p != NULL; p = p->ai_next) { ~^ net.c:264:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *servinfo, *bservinfo, *p, *b; ^ net.c:326:26: error: incomplete definition of type 'struct addrinfo' if ((s = socket(p->ai_family,p->ai_socktype,p->ai_protocol)) == -1) ~^ net.c:264:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *servinfo, *bservinfo, *p, *b; ^ net.c:326:39: error: incomplete definition of type 'struct addrinfo' if ((s = socket(p->ai_family,p->ai_socktype,p->ai_protocol)) == -1) ~^ net.c:264:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *servinfo, *bservinfo, *p, *b; ^ net.c:326:54: error: incomplete definition of type 'struct addrinfo' if ((s = socket(p->ai_family,p->ai_socktype,p->ai_protocol)) == -1) ~^ net.c:264:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *servinfo, *bservinfo, *p, *b; ^ net.c:337:63: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] snprintf(buf,sizeof(buf),"Can't get addr: %s",gai_strerror(rv)); ~~ ^~~~~~~~~~~~~~~~ %d net.c:350:49: error: incomplete definition of type 'struct addrinfo' for (b = bservinfo; b != NULL; b = b->ai_next) { ~^ net.c:264:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *servinfo, *bservinfo, *p, *b; ^ net.c:351:29: error: incomplete definition of type 'struct addrinfo' if (bind(s,b->ai_addr,b->ai_addrlen) != -1) { ~^ net.c:264:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *servinfo, *bservinfo, *p, *b; ^ net.c:351:40: error: incomplete definition of type 'struct addrinfo' if (bind(s,b->ai_addr,b->ai_addrlen) != -1) { ~^ net.c:264:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *servinfo, *bservinfo, *p, *b; ^ net.c:356:13: warning: implicit declaration of function 'freeaddrinfo' is invalid in C99 [-Wimplicit-function-declaration] freeaddrinfo(bservinfo); ^ net.c:364:24: error: incomplete definition of type 'struct addrinfo' if (connect(s,p->ai_addr,p->ai_addrlen) == -1) { ~^ net.c:264:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *servinfo, *bservinfo, *p, *b; ^ net.c:364:35: error: incomplete definition of type 'struct addrinfo' if (connect(s,p->ai_addr,p->ai_addrlen) == -1) { ~^ net.c:264:12: note: forward declaration of 'struct addrinfo' struct addrinfo hints, *servinfo, *bservinfo, *p, *b; ^ 6 warnings and 10 errors generated. Makefile:162: recipe for target 'net.o' failed gmake: *** [net.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/databases/hiredis *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/databases/hiredis