[Samba] samba 3.0.21c Installation error "client/smbmnt.c:296: undefined reference to `swrap_close'"

mallapadi niranjan niranjan.ashok at gmail.com
Sat Feb 25 09:03:59 GMT 2006


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


More information about the samba mailing list