=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for ap2-auth-ldap-3.05nb9 /usr/pkg/sbin/apxs -c -DSTDC_HEADERS=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_MEMORY_H=1 -DHAVE_MALLOC_H=1 -DHAVE_UNISTD_H=1 -DHAVE_CTYPE_H=1 -DHAVE_STDINT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_STDLIB_H=1 -DHAVE_SOCKET=1 -DHAVE_HTONL=1 -DHAVE_GETHOSTNAME=1 -DHAVE_GETHOSTBYADDR=1 -DHAVE_RES_SEARCH=1 -DHAVE_INET_ATON=1 -DHAVE_DN_SKIPNAME=1 -DWITH_APACHE_2=1 -DHAVE_LDAP=1 -DHAVE_3ARG_SETREBINDPROC=1 -DHAVE_LDAP_START_TLS_S=1 -DHAVE_LDAP_INITIALIZE=1 -I/usr/pkg//include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lldap -llber -I/usr/pkg/include -I/usr/pkg/include/apr-0 -I/usr/include -DLDAP_DEPRECATED mod_auth_ldap.c Use of assignment to $[ is deprecated at /usr/pkg/sbin/apxs line 86. libtool --silent --mode=compile cc -O2 -march=i586 -I/usr/pkg/include/apr-0 -I/usr/include -I/usr/pkg/include -DAP_HAVE_DESIGNATED_INITIALIZER -I/usr/pkg/include/httpd -I/usr/pkg/include/apr-0 -I/usr/pkg/include/apr-0 -I/usr/pkg/include -I/usr/pkg//include -I/usr/pkg/include -I/usr/pkg/include/apr-0 -I/usr/include -DSTDC_HEADERS=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_MEMORY_H=1 -DHAVE_MALLOC_H=1 -DHAVE_UNISTD_H=1 -DHAVE_CTYPE_H=1 -DHAVE_STDINT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_STDLIB_H=1 -DHAVE_SOCKET=1 -DHAVE_HTONL=1 -DHAVE_GETHOSTNAME=1 -DHAVE_GETHOSTBYADDR=1 -DHAVE_RES_SEARCH=1 -DHAVE_INET_ATON=1 -DHAVE_DN_SKIPNAME=1 -DWITH_APACHE_2=1 -DHAVE_LDAP=1 -DHAVE_3ARG_SETREBINDPROC=1 -DHAVE_LDAP_START_TLS_S=1 -DHAVE_LDAP_INITIALIZE=1 -DLDAP_DEPRECATED -c -o mod_auth_ldap.lo mod_auth_ldap.c && touch mod_auth_ldap.slo mod_auth_ldap.c:278:5: error: unknown type name 'apr_thread_mutex_t'; did you mean 'apr_thread_once_t'? apr_thread_mutex_t ^~~~~~~~~~~~~~~~~~ apr_thread_once_t /usr/pkgsrc/work/www/ap2-auth-ldap/work/.buildlink/include/apr-0/apr_thread_proc.h:175:39: note: 'apr_thread_once_t' declared here typedef struct apr_thread_once_t apr_thread_once_t; ^ mod_auth_ldap.c:486:13: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration] pid=getpid(); ^ mod_auth_ldap.c:4148:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if ( rc = ldap_initialize (&s_srv_conf->ld, cr->ldap_server) != LDAP_SUCCESS ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mod_auth_ldap.c:4148:21: note: place parentheses around the assignment to silence this warning if ( rc = ldap_initialize (&s_srv_conf->ld, cr->ldap_server) != LDAP_SUCCESS ) ^ ( ) mod_auth_ldap.c:4148:21: note: use '==' to turn this assignment into an equality comparison if ( rc = ldap_initialize (&s_srv_conf->ld, cr->ldap_server) != LDAP_SUCCESS ) ^ == mod_auth_ldap.c:4170:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if ( rc = ldap_set_option (cr->ld, LDAP_OPT_PROTOCOL_VERSION, &ldap_vers) != LDAP_SUCCESS ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mod_auth_ldap.c:4170:17: note: place parentheses around the assignment to silence this warning if ( rc = ldap_set_option (cr->ld, LDAP_OPT_PROTOCOL_VERSION, &ldap_vers) != LDAP_SUCCESS ) ^ ( ) mod_auth_ldap.c:4170:17: note: use '==' to turn this assignment into an equality comparison if ( rc = ldap_set_option (cr->ld, LDAP_OPT_PROTOCOL_VERSION, &ldap_vers) != LDAP_SUCCESS ) ^ == mod_auth_ldap.c:4388:5: warning: implicit declaration of function 'apr_thread_mutex_lock' is invalid in C99 [-Wimplicit-function-declaration] TMPM_LOCK; ^ mod_auth_ldap.c:323:9: note: expanded from macro 'TMPM_LOCK' apr_thread_mutex_lock(s_srv_conf->mutex); \ ^ mod_auth_ldap.c:4612:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if ( rc = ldap_initialize (&s_srv_conf->ld, cr->ldap_server) != LDAP_SUCCESS ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mod_auth_ldap.c:4612:21: note: place parentheses around the assignment to silence this warning if ( rc = ldap_initialize (&s_srv_conf->ld, cr->ldap_server) != LDAP_SUCCESS ) ^ ( ) mod_auth_ldap.c:4612:21: note: use '==' to turn this assignment into an equality comparison if ( rc = ldap_initialize (&s_srv_conf->ld, cr->ldap_server) != LDAP_SUCCESS ) ^ == mod_auth_ldap.c:4639:17: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if ( rc = ldap_set_option (cr->ld, LDAP_OPT_PROTOCOL_VERSION, &ldap_vers) != LDAP_SUCCESS ) ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mod_auth_ldap.c:4639:17: note: place parentheses around the assignment to silence this warning if ( rc = ldap_set_option (cr->ld, LDAP_OPT_PROTOCOL_VERSION, &ldap_vers) != LDAP_SUCCESS ) ^ ( ) mod_auth_ldap.c:4639:17: note: use '==' to turn this assignment into an equality comparison if ( rc = ldap_set_option (cr->ld, LDAP_OPT_PROTOCOL_VERSION, &ldap_vers) != LDAP_SUCCESS ) ^ == mod_auth_ldap.c:4938:5: warning: implicit declaration of function 'apr_thread_mutex_unlock' is invalid in C99 [-Wimplicit-function-declaration] TMPM_UNLOCK; ^ mod_auth_ldap.c:332:9: note: expanded from macro 'TMPM_UNLOCK' apr_thread_mutex_unlock(s_srv_conf->mutex); \ ^ 7 warnings and 1 error generated. apxs:Error: Command failed with rc=65536 . *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/www/ap2-auth-ldap/work/mod_auth_ldap3.05 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/www/ap2-auth-ldap *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/www/ap2-auth-ldap