cd /work/a/ports/devel/apr/work/apr-util-1.3.2; /usr/bin/env PYTHON="/usr/local/bin/python2.5" SHELL=/bin/sh CONFIG_SHELL=/bin/sh MAKE=gmake ACLOCAL=/usr/local/bin/aclocal-1.9 AUTOMAKE=/usr/local/bin/automake-1.9 AUTOMAKE_VERSION=19 AUTOCONF=/usr/local/bin/autoconf-2.61 AUTOHEADER=/usr/local/bin/autoheader-2.61 AUTOIFNAMES=/usr/local/bin/ifnames-2.61 AUTOM4TE=/usr/local/bin/autom4te-2.61 AUTORECONF=/usr/local/bin/autoreconf-2.61 AUTOSCAN=/usr/local/bin/autoscan-2.61 AUTOUPDATE=/usr/local/bin/autoupdate-2.61 AUTOCONF_VERSION=261 LIBTOOL=/usr/local/bin/libtool LIBTOOLIZE=/usr/local/bin/libtoolize LIBTOOL_M4=/usr/local/share/aclocal/libtool.m4 lt_cv_sys_max_cmd_len=262144 /bin/sh ./configure --enable-threads --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} amd64-portbld-freebsd8.0 --with-apr=../apr-1.3.2 --with-expat=/usr/local --with-iconv=/usr/local --without-gdbm --with-ldap-include=/usr/local/include --with-ldap-lib=/usr/local/lib --with-ldap=ldap [....] checking for ldap support... setting APRUTIL_INCLUDES to "-I/usr/local/include" setting APRUTIL_LDFLAGS to "-L/usr/local/lib" checking for ldap_init in -lldap... yes checking for ldapssl_client_init in -lldap... no checking for ldapssl_client_deinit in -lldap... no checking for ldapssl_add_trusted_cert in -lldap... no checking for ldap_start_tls_s in -lldap... yes checking for ldap_sslinit in -lldap... no checking for ldapssl_init in -lldap... no checking for ldapssl_install_routines in -lldap... no checking for ber_init in -llber... yes checking lber.h usability... yes checking lber.h presence... yes checking for lber.h... yes checking for ldap.h... yes checking ldap_ssl.h usability... no checking ldap_ssl.h presence... no checking for ldap_ssl.h... no checking for LDAP toolkit... OpenLDAP checking style of ldap_set_rebind_proc routine... two [....] /bin/sh /work/a/ports/devel/apr/work/apr-1.3.2/libtool --silent --mode=compile gcc -g -O2 -DHAVE_CONFIG_H -I/work/a/ports/devel/apr/work/apr-util-1.3.2/include -I/work/a/ports/devel/apr/work/apr-util-1.3.2/include/private -I/work/a/ports/devel/apr/work/apr-1.3.2/include -I/usr/local/include -o ldap/apr_ldap_rebind.lo -c ldap/apr_ldap_rebind.c && touch ldap/apr_ldap_rebind.lo ldap/apr_ldap_rebind.c: In function 'apr_ldap_rebind_set_callback': ldap/apr_ldap_rebind.c:305: warning: passing argument 2 of 'ldap_set_rebind_proc' from incompatible pointer type ldap/apr_ldap_rebind.c:305: error: too few arguments to function 'ldap_set_rebind_proc' gmake[1]: *** [ldap/apr_ldap_rebind.lo] Error 1 gmake[1]: Leaving directory `/work/a/ports/devel/apr/work/apr-util-1.3.2' gmake: *** [all-recursive] Error 1 *** Error code 2