[Samba] compile problems

tdavis at birddog.com tdavis at birddog.com
Sat Feb 2 19:08:04 GMT 2002


I am getting these errors when trying to compile 2.2.3 on redhat 7.1.

Here is my configure line:

./configure --prefix=/usr --localstatedir=/var 
--with-configdir=/etc/samba --with-privatedir=/etc/samba 
--with-codepagedir=/etc/codepages --with-fhs --with-quotas 
--with-smbmount --with-ldapsam --with-pam --with-pam_smbpass --with-ssl 
     --with-sslinc=/usr/include/openssl --with-ssllib=/usr/lib 
--with-syslog         --with-utmp 
--with-sambabook=/usr/share/swat/using_samba 
--with-swatdir=/usr/share/swat --with-tdbsam

passdb/pdb_ldap.o: In function `pdb_setsampwent':
passdb/pdb_ldap.o(.text+0x155c): multiple definition of `pdb_setsampwent'
passdb/pdb_tdb.o(.text+0xcd8): first defined here
/usr/bin/ld: Warning: size of symbol `pdb_setsampwent' changed from 228 
to 494 in passdb/pdb_ldap.o
passdb/pdb_ldap.o: In function `pdb_endsampwent':
passdb/pdb_ldap.o(.text+0x174c): multiple definition of `pdb_endsampwent'
passdb/pdb_tdb.o(.text+0xdbc): first defined here
/usr/bin/ld: Warning: size of symbol `pdb_endsampwent' changed from 98 
to 77 in passdb/pdb_ldap.o
passdb/pdb_ldap.o: In function `pdb_getsampwent':
passdb/pdb_ldap.o(.text+0x179c): multiple definition of `pdb_getsampwent'
passdb/pdb_tdb.o(.text+0xe20): first defined here
/usr/bin/ld: Warning: size of symbol `pdb_getsampwent' changed from 541 
to 79 in passdb/pdb_ldap.o
passdb/pdb_ldap.o: In function `pdb_getsampwnam':
passdb/pdb_ldap.o(.text+0x17ec): multiple definition of `pdb_getsampwnam'
passdb/pdb_tdb.o(.text+0x1040): first defined here
/usr/bin/ld: Warning: size of symbol `pdb_getsampwnam' changed from 582 
to 396 in passdb/pdb_ldap.o
passdb/pdb_ldap.o: In function `pdb_getsampwrid':
passdb/pdb_ldap.o(.text+0x1978): multiple definition of `pdb_getsampwrid'
passdb/pdb_tdb.o(.text+0x1288): first defined here
/usr/bin/ld: Warning: size of symbol `pdb_getsampwrid' changed from 515 
to 284 in passdb/pdb_ldap.o
passdb/pdb_ldap.o: In function `pdb_delete_sam_account':
passdb/pdb_ldap.o(.text+0x1a94): multiple definition of 
`pdb_delete_sam_account'
passdb/pdb_tdb.o(.text+0x148c): first defined here
/usr/bin/ld: Warning: size of symbol `pdb_delete_sam_account' changed 
from 903 to 551 in passdb/pdb_ldap.o
passdb/pdb_ldap.o: In function `pdb_update_sam_account':
passdb/pdb_ldap.o(.text+0x1cbc): multiple definition of 
`pdb_update_sam_account'
passdb/pdb_tdb.o(.text+0x1c20): first defined here
/usr/bin/ld: Warning: size of symbol `pdb_update_sam_account' changed 
from 21 to 488 in passdb/pdb_ldap.o
passdb/pdb_ldap.o: In function `pdb_add_sam_account':
passdb/pdb_ldap.o(.text+0x1ea4): multiple definition of 
`pdb_add_sam_account'
passdb/pdb_tdb.o(.text+0x1c38): first defined here
/usr/bin/ld: Warning: size of symbol `pdb_add_sam_account' changed from 
20 to 1031 in passdb/pdb_ldap.o
collect2: ld returned 1 exit status

Any ideas?  Thank you!

-- 
Terry Davis
Systems Administrator
BirdDog Solutions, Inc.
(402) 829-6059





More information about the samba mailing list