OK, the problem is having libldap2-dev installed but not libacl1-dev. Because of that, configure sets HAVE_LDAP to yes but HAVE_ACLS to undefined, this causes ldap.c to be built, but ./include/atalk/ldapconfig.h defines nothing, and hence struct ldap_pref and struct pref_array are undefined, leading to the compiler error.
You should either add a build dependency on libacl1-dev or a build conflict against libldap2-dev. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org