mallapadi niranjan
2006-Feb-25 09:04 UTC
[Samba] samba 3.0.21c Installation error "client/smbmnt.c:296: undefined reference to `swrap_close'"
Hi all i have downloaded samba 3.0.21c.tar.gz and trying to install on Redhat enterprise Linux 4 with kernel version 2.6.9-5 smp , i tried samba with following options. and while doing make it's giving error. ./configure --prefix=/usr/local/samba-3c --bindir=/usr/local/samba-3c/bin --sbindir=/usr/local/samba-3c/sbin --libexec=/usr/local/samba-3c/libexec --datadir=/usr/local/samba-3c/share --sysconfdir=/usr/local/samba-3c/etc --sharedstatedir=/usr/local/samba-3c/com --libdir=/usr/local/samba-3c/lib --include=/usr/local/samba-3c/include --infodir=/usr/local/samba-3c/info --mandir=/usr/local/samba-3c/man --enable-debug --enable-socket-wrapper --enable-cups --enable-iprint --disable-xmltest --with-configdir=/usr/local/samba3c/etc --with-smbwrapper --with-dce-dfs --with-ldap --with-ads --with-automount --with-smbmount --with-pam --with-pam_smbpass --with-ldapsam --with-nisplus-home --with-syslog --with-prolifing-data --with-quotas --with-sys-quotas --with-utmp --with-libmsprc --with-libsmbclient --with-libsmbsharemodes --with-acl-support --with-aio-support --with-sendfile-support --with-winbind . while doing make it got crashed at Linking bin/net Compiling client/smbspool.c Linking bin/smbspool Compiling utils/testparm.c Linking bin/testparm Compiling utils/status.c Linking bin/smbstatus Compiling utils/smbget.c Compiling libsmb/libsmbclient.c Compiling libsmb/libsmb_compat.c Compiling libsmb/libsmb_cache.c Linking bin/smbget Compiling utils/smbcontrol.c Linking bin/smbcontrol Compiling utils/smbtree.c Linking bin/smbtree Compiling tdb/tdbbackup.c Linking bin/tdbbackup Compiling utils/nmblookup.c Linking bin/nmblookup Compiling utils/pdbedit.c Compiling utils/passwd_util.c Linking bin/pdbedit Compiling tdb/tdbdump.c Linking bin/tdbdump Compiling tdb/tdbtool.c Linking bin/tdbtool Compiling utils/smbpasswd.c Compiling popt/findme.c Compiling popt/popt.c Compiling popt/poptconfig.c Compiling popt/popthelp.c Compiling popt/poptparse.c Linking bin/smbpasswd Compiling rpcclient/rpcclient.c Compiling rpcclient/cmd_lsarpc.c Compiling rpcclient/cmd_samr.c Compiling rpcclient/cmd_spoolss.c Compiling rpcclient/cmd_netlogon.c Compiling rpcclient/cmd_srvsvc.c Compiling rpcclient/cmd_dfs.c Compiling rpcclient/cmd_reg.c Compiling rpcclient/display_sec.c Compiling rpcclient/cmd_ds.c Compiling rpcclient/cmd_echo.c Compiling rpcclient/cmd_shutdown.c Compiling rpcclient/cmd_test.c Linking bin/rpcclient Compiling utils/smbcacls.c Linking bin/smbcacls Compiling utils/profiles.c Linking bin/profiles Compiling utils/ntlm_auth.c Compiling utils/ntlm_auth_diagnostics.c Compiling libsmb/spnego.c Linking bin/ntlm_auth Compiling utils/smbcquotas.c Linking bin/smbcquotas Compiling utils/eventlogadm.c Linking bin/eventlogadm Compiling client/smbmount.c Linking bin/smbmount Compiling client/smbmnt.c Linking bin/smbmnt client/smbmnt.o(.text+0x8d9): In function `main': client/smbmnt.c:296: undefined reference to `swrap_close' collect2: ld returned 1 exit status make: *** [bin/smbmnt] Error 1 Regards Niranjan
Gerald (Jerry) Carter
2006-Feb-25 16:02 UTC
[Samba] samba 3.0.21c Installation error "client/smbmnt.c:296: undefined reference to `swrap_close'"
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 mallapadi niranjan wrote:> Hi all > > i have downloaded samba 3.0.21c.tar.gz and trying to install on Redhat > enterprise Linux 4 with > kernel version 2.6.9-5 smp , > i tried samba with following options. and while doing make it's giving > error. > > ./configure --prefix=/usr/local/samba-3c --bindir=/usr/local/samba-3c/bin > --sbindir=/usr/local/samba-3c/sbin --libexec=/usr/local/samba-3c/libexec > --datadir=/usr/local/samba-3c/share --sysconfdir=/usr/local/samba-3c/etc > --sharedstatedir=/usr/local/samba-3c/com --libdir=/usr/local/samba-3c/lib > --include=/usr/local/samba-3c/include --infodir=/usr/local/samba-3c/info > --mandir=/usr/local/samba-3c/man --enable-debug --enable-socket-wrapper > --enable-cups --enable-iprint --disable-xmltest > --with-configdir=/usr/local/samba3c/etc --with-smbwrapper --with-dce-dfs > --with-ldap --with-ads --with-automount --with-smbmount --with-pam > --with-pam_smbpass --with-ldapsam --with-nisplus-home --with-syslog > --with-prolifing-data --with-quotas --with-sys-quotas --with-utmp > --with-libmsprc --with-libsmbclient --with-libsmbsharemodes > --with-acl-support --with-aio-support --with-sendfile-support --with-winbindDon't include --enable-socket-wrapper. That is for regression testing only and not for production builds .> client/smbmnt.o(.text+0x8d9): In function `main': > client/smbmnt.c:296: undefined reference to `swrap_close' > collect2: ld returned 1 exit status > make: *** [bin/smbmnt] Error 1I'll cleanup the confusion about this when I get a chance. This is the second time it has come up within the past month. cheers, jerry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEAH9eIR7qMdg1EfYRAvdXAJ9iM8ZUXagY6fxlK/3SnGMh3soRpACg8IPk IdzYnePW0J5VB89lBH/CPLo=degG -----END PGP SIGNATURE-----