Narayanasamy, Sundar
2003-Oct-08 15:04 UTC
[Samba] Error doing 'make' for Samba 3.0.0 with OpenLDAP 2.1.21/OpenLDAP 2.1.22 on Solaris 8
Hello, I am trying to set up Samba 3.0.0 with LDAP. So, I did run configure successfully and also 'make proto', but when I do make I get the following error. Any help is deeply appreciated Sundar bash-2.03# make Using FLAGS = -g -O2 -Iinclude -I/nad/src/samba-3.0.0/source/include -I/nad/src/samba-3.0.0/source/ubiqx -I/nad/src/samba-3.0.0/source/smbwrapper -I. -I/nad/app/openldap-2.1.21/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/nad/src/samba-3.0.0/source LIBS = -lsec -lgen -lresolv -lsocket -lnsl -ldl LDSHFLAGS = -G -L/nad/app/openldap-2.1.21/lib LDFLAGS = -L/nad/app/openldap-2.1.21/lib Compiling smbd/build_options.c Linking bin/smbd Undefined first referenced symbol in file lp_ldap_port passdb/pdb_ldap.o lp_ldap_server passdb/pdb_ldap.o ld: fatal: Symbol referencing errors. No output written to bin/smbd collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `bin/smbd'