[Samba] undefined reference to `swrap_close'
Andrew Bartlett
abartlet at samba.org
Sun Jan 15 21:32:42 GMT 2006
On Mon, 2006-01-16 at 03:13 +0800, imacat wrote:
> Hi,
>
> This is imacat from Taiwan. I tried to compile samba 3.0.21a, but
> failed. I searched the Google with no return. (Strange. Nobody
> encounter this same problem before?) Could anyone help? Thank you.
>
> My build environment is: Debian 3.1r1 Sarge, Linux 2.6.14.5, gcc
> 4.0.2, glibc 2.3.5. Please tell me if more information is required.
>
> imacat at rinse samba-3.0.21a/source % ./configure --prefix=/usr
> --sbindir=/usr/sbin --sysconfdir=/etc --localstatedir=/var
> --infodir=/usr/share/info --mandir=/usr/share/man
> --enable-socket-wrapper --with-fhs --with-piddir=/var/run
> --with-smbwrapper --with-smbmount --with-pam --with-pam_smbpass
> --with-libsmbclient --with-sendfile-support
The issue here is that you specified --enable-socket-wrapper, which
clearly hasn't been tested recently. It is a developer option, of no
use until we finish creating a combined Samba3/Samba4 testsuite.
(Technically, it caused every socket routine to become a #define
pointing at override routines, which then must be linked to every
binary).
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Student Network Administrator, Hawker College http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20060116/497babc3/attachment.bin
More information about the samba
mailing list