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

Gerald (Jerry) Carter jerry at samba.org
Sat Feb 25 16:01:34 GMT 2006


-----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-winbind

Don'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 1

I'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-----


More information about the samba mailing list