Charlie Schluting
2005-Jul-08 02:29 UTC
[Samba] passdb/pdb_ldap.c compile fails, samba-3.0.9
Any ideas? I've found similar complaints about ldapsam_delete_entry not building, but it wasn't helpful here. I'm using openldap-2.3.4 and krb5-1.3.1 on Sol9. Please CC me; I'm not on the list. Oh, and thanks :) -Charlie %> make Using FLAGS = -I/pkgs/crypto/krb5/include -O -Iinclude -I/u/manos/sun/samba-3.0.9/source/include -I/u/manos/sun/samba-3.0.9/source/ubiqx -I/u/manos/sun/samba-3.0.9/source/smbwrapper -I. -I/pkgs/crypto/krb5/include -D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I/u/manos/sun/samba-3.0.9/source LIBS = -lsendfile -lsec -lgen -lresolv -lsocket -lnsl -ldl LDSHFLAGS = -G -L/pkgs/crypto/krb5/lib -lthread LDFLAGS = -L/pkgs/crypto/krb5/lib -lthread Compiling passdb/pdb_ldap.c passdb/pdb_ldap.c: In function `ldapsam_delete_entry': passdb/pdb_ldap.c:295: warning: assignment makes pointer from integer without a cast passdb/pdb_ldap.c: In function `ldapsam_modify_entry': passdb/pdb_ldap.c:1547: error: `LBER_USE_DER' undeclared (first use in this function) passdb/pdb_ldap.c:1547: error: (Each undeclared identifier is reported only once passdb/pdb_ldap.c:1547: error: for each function it appears in.) passdb/pdb_ldap.c: In function `ldapsam_update_sam_account': passdb/pdb_ldap.c:1699: warning: assignment makes pointer from integer without a cast passdb/pdb_ldap.c: In function `ldapsam_add_sam_account': passdb/pdb_ldap.c:1846: warning: assignment makes pointer from integer without a cast passdb/pdb_ldap.c:1894: warning: assignment makes pointer from integer without a cast passdb/pdb_ldap.c: In function `ldapsam_add_group_mapping_entry': passdb/pdb_ldap.c:2297: warning: assignment makes pointer from integer without a cast passdb/pdb_ldap.c: In function `ldapsam_update_group_mapping_entry': passdb/pdb_ldap.c:2382: warning: assignment makes pointer from integer without a cast passdb/pdb_ldap.c: In function `ldapsam_modify_aliasmem': passdb/pdb_ldap.c:2609: warning: assignment makes pointer from integer without a cast passdb/pdb_ldap.c: In function `pdb_init_ldapsam_common': passdb/pdb_ldap.c:2868: error: incompatible types in assignment passdb/pdb_ldap.c: In function `pdb_init_ldapsam': passdb/pdb_ldap.c:2956: error: incompatible types in assignment gmake: *** [passdb/pdb_ldap.o] Error 1