[Samba] Samba 3.0.11 compile issue on AIX5.1 - pdb_ldap.c

Brian Pawlik Brian.Pawlik at Pulte.com
Thu Mar 17 12:12:38 GMT 2005


I've run into a compile problem with Samba 3.0.11 and have searched the
web, lists, and bugzilla for assistance, but was unable to find anything
that helped with these errors. I have been able to successfully build
this release without ldap/ads support, however with the ldap/ads support
it fails to build pdb_ldap.c. I am using AIX 5.1 using the gcc compiler.
I have also ensured that OpenLdap 2.2.24 is installed and working, I
also have Kerberos installed. I have listed my configure settings and
the error from the make below. Thanks in advance!.

 

export LDFLAGS=-L/usr/local/lib -L/opt/freeware/lib -L/usr/lib

export CPPFLAGS=-I/usr/include -I/usr/local/include
-I/opt/freeware/include

 

# ./configure --with-pam --with-pam_smbpass --with-ldap --with-ads
--with-krb5=/usr/krb5

 

 

# make

Using FLAGS =  -O  -Iinclude -I/ext/samba/samba-3.0.11-a/source/include
-I/ext/samba/samba-3.0.11-a/source/ubiqx
-I/ext/samba/samba-3.0.11-a/source/smbwrapper  -I. -I/usr/local/include
-I/opt/freeware/include -I/ext/samba/samba-3.0.11-a/source    

      LIBS = 

      LDSHFLAGS = -Wl,-bexpall,-bM:SRE,-bnoentry,-berok
-L/usr/local/lib -L/opt/freeware/lib

      LDFLAGS = -L/usr/local/lib -L/opt/freeware/lib

Compiling dynconfig.c

Compiling smbd/vfs.c

Compiling passdb/pdb_interface.c

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_update_sam_account':

passdb/pdb_ldap.c:1662: warning: assignment makes pointer from integer
without a cast

passdb/pdb_ldap.c: In function `ldapsam_add_sam_account':

passdb/pdb_ldap.c:1809: warning: assignment makes pointer from integer
without a cast

passdb/pdb_ldap.c:1857: warning: assignment makes pointer from integer
without a cast

passdb/pdb_ldap.c: In function `ldapsam_add_group_mapping_entry':

passdb/pdb_ldap.c:2369: warning: assignment makes pointer from integer
without a cast

passdb/pdb_ldap.c: In function `ldapsam_update_group_mapping_entry':

passdb/pdb_ldap.c:2454: warning: assignment makes pointer from integer
without a cast

passdb/pdb_ldap.c: In function `ldapsam_modify_aliasmem':

passdb/pdb_ldap.c:2681: warning: assignment makes pointer from integer
without a cast

passdb/pdb_ldap.c: In function `pdb_init_ldapsam_common':

passdb/pdb_ldap.c:2945: incompatible types in assignment

passdb/pdb_ldap.c: In function `pdb_init_ldapsam':

passdb/pdb_ldap.c:3029: parse error before `char'

passdb/pdb_ldap.c:3031: incompatible types in assignment

make: 1254-004 The error code from the last command is 1.

 

 

Stop.

 

#

 

Brian Pawlik

NOC Support Engineer III

 



More information about the samba mailing list