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@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
SAMBA VERSION: 3.0.21a
checking for -fPIE... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
...
checking how to build vfs_catia... not
Using libraries:
LIBS = -lcrypt -lresolv -lnsl -ldl
AUTH_LIBS = -lcrypt -lpam -lpam
checking configure summary... yes
configure: creating ./config.status
config.status: creating include/stamp-h
config.status: creating Makefile
config.status: creating script/findsmb
config.status: creating smbadduser
config.status: creating script/gen-8bit-gap.sh
config.status: creating include/config.h
imacat@rinse samba-3.0.21a/source % make
Using FLAGS = -O -D_SAMBA_BUILD_ -I./popt -Iinclude
-I/usr/local/src/samba-3.0.21a/source/include
-I/usr/local/src/samba-3.0.21a/source/ubiqx
-I/usr/local/src/samba-3.0.21a/source/tdb
-I/usr/local/src/samba-3.0.21a/source/smbwrapper -I.
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
-I/usr/local/src/samba-3.0.21a/source -D_SAMBA_BUILD_
LIBS = -lcrypt -lresolv -lnsl -ldl
LDSHFLAGS = -shared -Wl,-Bsymbolic
LDFLAGS PIE_CFLAGS = -fPIE
PIE_LDFLAGS = -pie
Generating smbd/build_options.c
Building include/proto.h
creating /usr/local/src/samba-3.0.21a/source/include/proto.h
....
Linking bin/smbmount
Compiling client/smbmnt.c
Linking bin/smbmnt
client/smbmnt.o(.text+0x80d): In function `main':
: undefined reference to `swrap_close'
collect2: ld returned 1 exit status
make: *** [bin/smbmnt] Error 1
You have new mail.
imacat@rinse samba-3.0.21a/source %
--
Best regards,
imacat ^_*' <imacat@mail.imacat.idv.tw>
PGP Key: http://www.imacat.idv.tw/me/pgpkey.txt
<<Woman's Voice>> News: http://www.wov.idv.tw/
Tavern IMACAT's: http://www.imacat.idv.tw/
TLUG List Manager: http://lists.linux.org.tw/cgi-bin/mailman/listinfo/tlug
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url :
http://lists.samba.org/archive/samba/attachments/20060116/26658230/attachment.bin
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@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-supportThe 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
Reasonably Related Threads
- namecache_shutdown: Couldn't close namecache on top of gencache.
- cmp: /usr/local/src/openssh-4.6p1/regress/ls.copy: No such file or directory
- Samba 3.2 and MS Client 3.11 for DOS
- PLAIN.B64 Password Scheme Patch Missing in Dovecot 1.0.2
- Virtual User Home Directory, and APOP Clear Text Passwords