Hello all, This is my first time on the list. I just dl'ed thet latest samba, 2.0.6 and during my compile with linux 5.2 I get: smbd/files.o: in function `file_new`: smbd/files.o(.text+0xb8): undefined reference to `__bzero` .... Has anyone seen something like this before? any hints would be greatly appriciated. If I am on the wrong list please inform me where I can get the answeres to this problem. Thx George
Hello, I'm trying to compile Samba 2.0.7 on OSR5.0.5 using the gcc compiler v 2.95.2. I do not see any errors when running ./configure but make reports this: (tail end) DDRIVERFILE="/usr/local/samba/lib/printers.def" -DBINDIR="/usr/local/samba/bin" -DFORMSFILE="" -DNTDRIVERSDIR="" -DHAVE_INCLUDES_H -DPASSWD_PROGRAM="/bin/passwd" -DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd" -DPRIVATE_DIR="/usr/local/samba/private" Using LIBS = -lgen -lsocket -lnsl_s -ldl Linking bin/smbd Undefined first referenced symbol in file S_ISSOCK nsswitch/wb_common.o bin/smbd: fatal error: Symbol referencing errors. No output written to bin/smbd collect2: ld returned 1 exit status make: *** [bin/smbd] Error 1 Can anyone help with this? What am I missing? TIA -- Scott Taylor Systems Administrator DCT Chambers Trucking Ltd.
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
Samba Ver: 2.2.7a GCC Ver: 3.2 OS: HPUX-11 Hello List, I've been having trouble trying to compile Samba. The "configure" phase goes well, but during the "gmake" phase I always get this error: Compiling lib/snprintf.c lib/snprintf.c:790: conflicting types for `snprintf' /usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2/include/stdio.h:493: previous declaration of `snprintf' gmake: *** [lib/snprintf.o] Error 1 The issue seems to be with "sprintf". Has anyone using PARISC run into this problem? Any solutions other than installing the samba-depot ? Any help would be greatly appreciated. Rick King