OK, I was able to build successfully by downloading a release of SMB2 (I
used samba-2.2.9). I then set up a share on a Windows 2000 box by
creating an empty directory called 'netbench' (as specified in
http://samba.org/ftp/tridge/dbench/README) and allowing Everyone to
read/write (in both Sharing and Security). I then ran smbtorture:
>>>
cwu@cham6:~/tmp/apps/samba-2.2.9/source> bin/smbtorture
//9.1.73.188/netbench -U yang ALL
[2005/08/10 17:23:49, 0] lib/charset.c:load_client_codepage(213)
load_client_codepage: filename /codepage.000 does not exist.
[2005/08/10 17:23:49, 0] lib/util_unistr.c:load_unicode_map(617)
load_unicode_map: filename /unicode_map.850 does not exist.
[2005/08/10 17:23:49, 0] lib/util_unistr.c:load_unicode_map(617)
load_unicode_map: filename /unicode_map.ISO8859-1 does not exist.
[2005/08/10 17:23:49, 0] param/params.c:OpenConfFile(543)
params.c:OpenConfFile() - Unable to open configuration file
"/home/cwu/local/samba2/lib/smb.conf":
No such file or directory
Password for user yang:
host=9.1.73.188 shares=netbench users=yang, yang myname=cham6
Running FDPASS
9.1.73.188 rejected the session
TEST FDPASS FAILED!
FDPASS took 0.502151 secs
Running LOCK1
9.1.73.188 rejected the session
TEST LOCK1 FAILED!
LOCK1 took 0.500834 secs
[...all other tests fail similarly...]
>>>
Looking into the source, I see that it's failing after delivering an NBT
session request packet. What's going on? Thanks in advance for any help.
Thus spake overbored on 8/10/2005 3:27 PM:> Is smbtorture a simple SMB client that is completely separate from Samba
> server? (I.e., can I use it to test, e.g., a regular Windows SMB
> server?) Or is it something that only tests Samba server?
>
> Anyway, I haven't had any luck compiling it. Any hints? Here is a
> transcript (this is on SUSE Linux Enterprise 9):
>
> cwu@cham6:~/tmp/apps/samba-3.0.14a/source> ./configure
> --prefix=$HOME/local/samba && make bin/smbtorture
> SAMBA VERSION: 3.0.14a
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking for gcc... (cached) gcc
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking for gcc option to accept ANSI C... (cached) none needed
> checking how to run the C preprocessor... gcc -E
> checking for a BSD-compatible install... /usr/bin/install -c
> checking for gawk... gawk
> checking for perl... /usr/bin/perl
> checking for ar... ar
> checking if the linker (ld) is GNU ld... yes
> checking GNU ld release date... 20040303
> checking for library containing strerror... none required
> checking whether gcc and cc understand -c and -o together... yes
> checking that the C compiler understands -Werror... yes
> checking that the C compiler understands volatile... yes
> checking uname -s... Linux
> checking uname -r... 2.6.5-7.139-default
> checking uname -m... i686
> checking uname -p... i686
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking target system type... i686-pc-linux-gnu
> checking config.cache system type... same
> checking for LFS support... yes
> checking for inline... inline
> checking for egrep... grep -E
> checking for ANSI C header files... yes
> checking for dirent.h that defines DIR... yes
> checking for library containing opendir... none required
> checking whether time.h and sys/time.h may both be included... yes
> checking for sys/wait.h that is POSIX.1 compatible... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking arpa/inet.h usability... yes
> checking arpa/inet.h presence... yes
> checking for arpa/inet.h... yes
> checking sys/fcntl.h usability... yes
> checking sys/fcntl.h presence... yes
> checking for sys/fcntl.h... yes
> checking sys/select.h usability... yes
> checking sys/select.h presence... yes
> checking for sys/select.h... yes
> checking fcntl.h usability... yes
> checking fcntl.h presence... yes
> checking for fcntl.h... yes
> checking sys/time.h usability... yes
> checking sys/time.h presence... yes
> checking for sys/time.h... yes
> checking sys/unistd.h usability... yes
> checking sys/unistd.h presence... yes
> checking for sys/unistd.h... yes
> checking rpc/nettype.h usability... no
> checking rpc/nettype.h presence... no
> checking for rpc/nettype.h... no
> checking for unistd.h... (cached) yes
> checking utime.h usability... yes
> checking utime.h presence... yes
> checking for utime.h... yes
> checking grp.h usability... yes
> checking grp.h presence... yes
> checking for grp.h... yes
> checking sys/id.h usability... no
> checking sys/id.h presence... no
> checking for sys/id.h... no
> checking limits.h usability... yes
> checking limits.h presence... yes
> checking for limits.h... yes
> checking for memory.h... (cached) yes
> checking rpc/rpc.h usability... yes
> checking rpc/rpc.h presence... yes
> checking for rpc/rpc.h... yes
> checking rpcsvc/nis.h usability... yes
> checking rpcsvc/nis.h presence... yes
> checking for rpcsvc/nis.h... yes
> checking rpcsvc/yp_prot.h usability... yes
> checking rpcsvc/yp_prot.h presence... yes
> checking for rpcsvc/yp_prot.h... yes
> checking rpcsvc/ypclnt.h usability... yes
> checking rpcsvc/ypclnt.h presence... yes
> checking for rpcsvc/ypclnt.h... yes
> checking sys/param.h usability... yes
> checking sys/param.h presence... yes
> checking for sys/param.h... yes
> checking ctype.h usability... yes
> checking ctype.h presence... yes
> checking for ctype.h... yes
> checking for sys/wait.h... (cached) yes
> checking sys/resource.h usability... yes
> checking sys/resource.h presence... yes
> checking for sys/resource.h... yes
> checking sys/ioctl.h usability... yes
> checking sys/ioctl.h presence... yes
> checking for sys/ioctl.h... yes
> checking sys/ipc.h usability... yes
> checking sys/ipc.h presence... yes
> checking for sys/ipc.h... yes
> checking sys/mode.h usability... no
> checking sys/mode.h presence... no
> checking for sys/mode.h... no
> checking sys/mman.h usability... yes
> checking sys/mman.h presence... yes
> checking for sys/mman.h... yes
> checking sys/filio.h usability... no
> checking sys/filio.h presence... no
> checking for sys/filio.h... no
> checking sys/priv.h usability... no
> checking sys/priv.h presence... no
> checking for sys/priv.h... no
> checking sys/shm.h usability... yes
> checking sys/shm.h presence... yes
> checking for sys/shm.h... yes
> checking for string.h... (cached) yes
> checking for strings.h... (cached) yes
> checking for stdlib.h... (cached) yes
> checking sys/socket.h usability... yes
> checking sys/socket.h presence... yes
> checking for sys/socket.h... yes
> checking sys/mount.h usability... yes
> checking sys/mount.h presence... yes
> checking for sys/mount.h... yes
> checking sys/vfs.h usability... yes
> checking sys/vfs.h presence... yes
> checking for sys/vfs.h... yes
> checking sys/fs/s5param.h usability... no
> checking sys/fs/s5param.h presence... no
> checking for sys/fs/s5param.h... no
> checking sys/filsys.h usability... no
> checking sys/filsys.h presence... no
> checking for sys/filsys.h... no
> checking termios.h usability... yes
> checking termios.h presence... yes
> checking for termios.h... yes
> checking termio.h usability... yes
> checking termio.h presence... yes
> checking for termio.h... yes
> checking sys/termio.h usability... no
> checking sys/termio.h presence... no
> checking for sys/termio.h... no
> checking sys/statfs.h usability... yes
> checking sys/statfs.h presence... yes
> checking for sys/statfs.h... yes
> checking sys/dustat.h usability... no
> checking sys/dustat.h presence... no
> checking for sys/dustat.h... no
> checking sys/statvfs.h usability... yes
> checking sys/statvfs.h presence... yes
> checking for sys/statvfs.h... yes
> checking stdarg.h usability... yes
> checking stdarg.h presence... yes
> checking for stdarg.h... yes
> checking sys/sockio.h usability... no
> checking sys/sockio.h presence... no
> checking for sys/sockio.h... no
> checking sys/sysmacros.h usability... yes
> checking sys/sysmacros.h presence... yes
> checking for sys/sysmacros.h... yes
> checking security/_pam_macros.h usability... no
> checking security/_pam_macros.h presence... no
> checking for security/_pam_macros.h... no
> checking dlfcn.h usability... yes
> checking dlfcn.h presence... yes
> checking for dlfcn.h... yes
> checking sys/syslog.h usability... yes
> checking sys/syslog.h presence... yes
> checking for sys/syslog.h... yes
> checking syslog.h usability... yes
> checking syslog.h presence... yes
> checking for syslog.h... yes
> checking execinfo.h usability... yes
> checking execinfo.h presence... yes
> checking for execinfo.h... yes
> checking langinfo.h usability... yes
> checking langinfo.h presence... yes
> checking for langinfo.h... yes
> checking locale.h usability... yes
> checking locale.h presence... yes
> checking for locale.h... yes
> checking CoreFoundation/CFStringEncodingConverter.h usability... no
> checking CoreFoundation/CFStringEncodingConverter.h presence... no
> checking for CoreFoundation/CFStringEncodingConverter.h... no
> checking CFStringEncodingConverter.h usability... no
> checking CFStringEncodingConverter.h presence... no
> checking for CFStringEncodingConverter.h... no
> checking valgrind.h usability... no
> checking valgrind.h presence... no
> checking for valgrind.h... no
> checking valgrind/valgrind.h usability... no
> checking valgrind/valgrind.h presence... no
> checking for valgrind/valgrind.h... no
> checking valgrind/memcheck.h usability... no
> checking valgrind/memcheck.h presence... no
> checking for valgrind/memcheck.h... no
> checking shadow.h usability... yes
> checking shadow.h presence... yes
> checking for shadow.h... yes
> checking netinet/tcp.h usability... yes
> checking netinet/tcp.h presence... yes
> checking for netinet/tcp.h... yes
> checking netinet/in_systm.h usability... yes
> checking netinet/in_systm.h presence... yes
> checking for netinet/in_systm.h... yes
> checking netinet/in_ip.h usability... no
> checking netinet/in_ip.h presence... no
> checking for netinet/in_ip.h... no
> checking nss.h usability... yes
> checking nss.h presence... yes
> checking for nss.h... yes
> checking nss_common.h usability... no
> checking nss_common.h presence... no
> checking for nss_common.h... no
> checking nsswitch.h usability... no
> checking nsswitch.h presence... no
> checking for nsswitch.h... no
> checking ns_api.h usability... no
> checking ns_api.h presence... no
> checking for ns_api.h... no
> checking sys/security.h usability... no
> checking sys/security.h presence... no
> checking for sys/security.h... no
> checking security/pam_appl.h usability... no
> checking security/pam_appl.h presence... no
> checking for security/pam_appl.h... no
> checking stropts.h usability... yes
> checking stropts.h presence... yes
> checking for stropts.h... yes
> checking poll.h usability... yes
> checking poll.h presence... yes
> checking for poll.h... yes
> checking sys/capability.h usability... yes
> checking sys/capability.h presence... yes
> checking for sys/capability.h... yes
> checking syscall.h usability... yes
> checking syscall.h presence... yes
> checking for syscall.h... yes
> checking sys/syscall.h usability... yes
> checking sys/syscall.h presence... yes
> checking for sys/syscall.h... yes
> checking sys/acl.h usability... no
> checking sys/acl.h presence... no
> checking for sys/acl.h... no
> checking sys/attributes.h usability... no
> checking sys/attributes.h presence... no
> checking for sys/attributes.h... no
> checking attr/xattr.h usability... no
> checking attr/xattr.h presence... no
> checking for attr/xattr.h... no
> checking sys/xattr.h usability... yes
> checking sys/xattr.h presence... yes
> checking for sys/xattr.h... yes
> checking sys/cdefs.h usability... yes
> checking sys/cdefs.h presence... yes
> checking for sys/cdefs.h... yes
> checking glob.h usability... yes
> checking glob.h presence... yes
> checking for glob.h... yes
> checking for security/pam_modules.h... no
> checking for net/if.h... yes
> checking for netinet/ip.h... yes
> checking utmp.h usability... yes
> checking utmp.h presence... yes
> checking for utmp.h... yes
> checking utmpx.h usability... yes
> checking utmpx.h presence... yes
> checking for utmpx.h... yes
> checking lastlog.h usability... yes
> checking lastlog.h presence... yes
> checking for lastlog.h... yes
> checking for int... yes
> checking size of int... 4
> checking for long... yes
> checking size of long... 4
> checking for short... yes
> checking size of short... 2
> checking for an ANSI C-conforming const... yes
> checking for inline... (cached) inline
> checking whether byte ordering is bigendian... no
> checking whether char is unsigned... no
> checking return type of signal handlers... void
> checking for uid_t in sys/types.h... yes
> checking for mode_t... yes
> checking for off_t... yes
> checking for size_t... yes
> checking for pid_t... yes
> checking for struct stat.st_rdev... yes
> checking for d_off in dirent... yes
> checking for ino_t... yes
> checking for loff_t... yes
> checking for offset_t... no
> checking for ssize_t... yes
> checking for wchar_t... yes
> checking for cups-config... no
> checking for library containing dlopen... -ldl
> checking for immediate structures... yes
> checking if the compiler will optimize out function calls... yes
> checking for unix domain sockets... yes
> checking for socklen_t type... yes
> checking for sig_atomic_t type... yes
> checking for errno declaration... yes
> checking for setresuid declaration... yes
> checking for setresgid declaration... yes
> checking for asprintf declaration... yes
> checking for vasprintf declaration... yes
> checking for vsnprintf declaration... yes
> checking for snprintf declaration... yes
> checking for real setresuid... yes
> checking for real setresgid... yes
> checking for working memcmp... yes
> checking whether to use readline... yes
> checking readline.h usability... no
> checking readline.h presence... no
> checking for readline.h... no
> checking history.h usability... no
> checking history.h presence... no
> checking for history.h... no
> checking readline/readline.h usability... no
> checking readline/readline.h presence... no
> checking for readline/readline.h... no
> checking readline/history.h usability... no
> checking readline/history.h presence... no
> checking for readline/history.h... no
> checking for readline.h... (cached) no
> checking for readline/readline.h... (cached) no
> checking for rl_completion_matches in -lreadline... no
> checking for connect... yes
> checking for library containing yp_get_default_domain... -lnsl
> checking for yp_get_default_domain... yes
> checking for execl... yes
> checking for dlopen... yes
> checking for dlclose... yes
> checking for dlsym... yes
> checking for dlerror... yes
> checking for waitpid... yes
> checking for getcwd... yes
> checking for strdup... yes
> checking for strndup... yes
> checking for strnlen... yes
> checking for strtoul... yes
> checking for strerror... yes
> checking for chown... yes
> checking for fchown... yes
> checking for chmod... yes
> checking for fchmod... yes
> checking for chroot... yes
> checking for link... yes
> checking for mknod... yes
> checking for mknod64... no
> checking for fstat... yes
> checking for strchr... yes
> checking for utime... yes
> checking for utimes... yes
> checking for getrlimit... yes
> checking for fsync... yes
> checking for memset... yes
> checking for strlcpy... no
> checking for strlcat... no
> checking for setpgid... yes
> checking for memmove... yes
> checking for vsnprintf... yes
> checking for snprintf... yes
> checking for asprintf... yes
> checking for vasprintf... yes
> checking for setsid... yes
> checking for glob... yes
> checking for strpbrk... yes
> checking for pipe... yes
> checking for crypt16... no
> checking for getauthuid... no
> checking for strftime... yes
> checking for sigprocmask... yes
> checking for sigblock... yes
> checking for sigaction... yes
> checking for sigset... yes
> checking for innetgr... yes
> checking for setnetgrent... yes
> checking for getnetgrent... yes
> checking for endnetgrent... yes
> checking for initgroups... yes
> checking for select... yes
> checking for poll... yes
> checking for rdchk... no
> checking for getgrnam... yes
> checking for getgrent... yes
> checking for pathconf... yes
> checking for realpath... yes
> checking for setpriv... no
> checking for setgidx... no
> checking for setuidx... no
> checking for setgroups... yes
> checking for sysconf... yes
> checking for mktime... yes
> checking for rename... yes
> checking for ftruncate... yes
> checking for stat64... yes
> checking for fstat64... yes
> checking for lstat64... yes
> checking for fopen64... yes
> checking for atexit... yes
> checking for grantpt... yes
> checking for dup2... yes
> checking for lseek64... yes
> checking for ftruncate64... yes
> checking for readdir64... yes
> checking for fseek64... no
> checking for fseeko64... yes
> checking for ftell64... no
> checking for ftello64... yes
> checking for setluid... no
> checking for getpwanam... no
> checking for setlinebuf... yes
> checking for srandom... yes
> checking for random... yes
> checking for srand... yes
> checking for rand... yes
> checking for setenv... yes
> checking for usleep... yes
> checking for strcasecmp... yes
> checking for fcvt... yes
> checking for fcvtl... no
> checking for symlink... yes
> checking for readlink... yes
> checking for syslog... yes
> checking for vsyslog... yes
> checking for timegm... yes
> checking for setlocale... yes
> checking for nl_langinfo... yes
> checking for nanosleep... yes
> checking for setbuffer... yes
> checking for shmget... yes
> checking for shm_open... no
> checking for backtrace_symbols... yes
> checking libexc.h usability... no
> checking libexc.h presence... no
> checking for libexc.h... no
> checking for trace_back_stack in -lexc... no
> checking for syscall... yes
> checking for _dup... no
> checking for _dup2... no
> checking for _opendir... no
> checking for _readdir... no
> checking for _seekdir... no
> checking for _telldir... no
> checking for _closedir... no
> checking for __dup... no
> checking for __dup2... yes
> checking for __opendir... no
> checking for __readdir... no
> checking for __seekdir... no
> checking for __telldir... no
> checking for __closedir... no
> checking for __getcwd... no
> checking for _getcwd... no
> checking for __xstat... yes
> checking for __fxstat... yes
> checking for __lxstat... yes
> checking for _stat... no
> checking for _lstat... no
> checking for _fstat... no
> checking for __stat... yes
> checking for __lstat... yes
> checking for __fstat... yes
> checking for _acl... no
> checking for __acl... no
> checking for _facl... no
> checking for __facl... no
> checking for _open... no
> checking for __open... yes
> checking for _chdir... no
> checking for __chdir... no
> checking for _close... no
> checking for __close... yes
> checking for _fchdir... no
> checking for __fchdir... no
> checking for _fcntl... no
> checking for __fcntl... yes
> checking for getdents... no
> checking for _getdents... no
> checking for __getdents... no
> checking for _lseek... no
> checking for __lseek... yes
> checking for _read... no
> checking for __read... yes
> checking for getdirentries... yes
> checking for _write... no
> checking for __write... yes
> checking for _fork... no
> checking for __fork... yes
> checking for _stat64... no
> checking for __stat64... no
> checking for _fstat64... no
> checking for __fstat64... no
> checking for _lstat64... no
> checking for __lstat64... no
> checking for __sys_llseek... no
> checking for llseek... yes
> checking for _llseek... no
> checking for __llseek... no
> checking for readdir64... (cached) yes
> checking for _readdir64... no
> checking for __readdir64... no
> checking for pread... yes
> checking for _pread... no
> checking for __pread... no
> checking for pread64... yes
> checking for _pread64... no
> checking for __pread64... yes
> checking for pwrite... yes
> checking for _pwrite... no
> checking for __pwrite... no
> checking for pwrite64... yes
> checking for _pwrite64... no
> checking for __pwrite64... yes
> checking for open64... yes
> checking for _open64... no
> checking for __open64... yes
> checking for creat64... yes
> checking for dn_expand in -lresolv... yes
> checking for putprpwnam in -lsecurity... no
> checking for putprpwnam... no
> checking for putprpwnam in -lsec... no
> checking for putprpwnam... (cached) no
> checking for set_auth_parameters in -lsecurity... no
> checking for set_auth_parameters... no
> checking for set_auth_parameters in -lsec... no
> checking for set_auth_parameters... (cached) no
> checking for getspnam in -lgen... no
> checking for getspnam... yes
> checking for getspnam in -lsecurity... no
> checking for getspnam... (cached) yes
> checking for getspnam in -lsec... no
> checking for getspnam... (cached) yes
> checking for bigcrypt in -lsecurity... no
> checking for bigcrypt... no
> checking for bigcrypt in -lsec... no
> checking for bigcrypt... (cached) no
> checking for getprpwnam in -lsecurity... no
> checking for getprpwnam... no
> checking for getprpwnam in -lsec... no
> checking for getprpwnam... (cached) no
> checking for library containing getxattr... none required
> checking for getxattr... yes
> checking for lgetxattr... yes
> checking for fgetxattr... yes
> checking for listxattr... yes
> checking for llistxattr... yes
> checking for flistxattr... yes
> checking for removexattr... yes
> checking for lremovexattr... yes
> checking for fremovexattr... yes
> checking for setxattr... yes
> checking for lsetxattr... yes
> checking for fsetxattr... yes
> checking for attr_get... no
> checking for attr_list... no
> checking for attr_set... no
> checking for attr_remove... no
> checking for attr_getf... no
> checking for attr_listf... no
> checking for attr_setf... no
> checking for attr_removef... no
> checking ability to build shared libraries... true
> checking linker flags for shared libraries... -shared -Wl,-Bsymbolic
> checking compiler flags for position-independent code... -fPIC
> checking whether building shared libraries actually works... yes
> checking for long long... yes
> checking for LL suffix on long long integers... yes
> checking for 64 bit off_t... yes
> checking for off64_t... no
> checking for 64 bit ino_t... yes
> checking for ino64_t... no
> checking for dev64_t... no
> checking for struct dirent64... yes
> checking for major macro... yes
> checking for minor macro... yes
> checking for makedev macro... yes
> checking for unsigned char... no
> checking for sin_len in sock... no
> checking whether seekdir returns void... yes
> checking for __FUNCTION__ macro... yes
> checking if gettimeofday takes tz argument... yes
> checking for va_copy... yes
> checking for C99 vsnprintf... yes
> checking for broken readdir... no
> checking for utimbuf... yes
> checking for pututline... yes
> checking for pututxline... yes
> checking for updwtmp... yes
> checking for updwtmpx... yes
> checking for getutmpx... yes
> checking for ut_name in utmp... yes
> checking for ut_user in utmp... yes
> checking for ut_id in utmp... yes
> checking for ut_host in utmp... yes
> checking for ut_time in utmp... yes
> checking for ut_tv in utmp... yes
> checking for ut_type in utmp... yes
> checking for ut_pid in utmp... yes
> checking for ut_exit in utmp... yes
> checking for ut_addr in utmp... yes
> checking whether pututline returns pointer... yes
> checking for ut_syslen in utmpx... no
> checking for iconv in /usr/lib... yes
> checking can we convert from CP850 to UCS2-LE?... CP850
> checking can we convert from ASCII to UCS2-LE?... ASCII
> checking can we convert from UTF-8 to UCS2-LE?... UTF-8
> checking for Linux kernel oplocks... yes
> checking for kernel change notify support... yes
> checking for kernel share modes... yes
> checking for IRIX kernel oplock type definitions... no
> checking for irix specific capabilities... no
> checking for int16 typedef included by rpc/rpc.h... no
> checking for uint16 typedef included by rpc/rpc.h... no
> checking for int32 typedef included by rpc/rpc.h... no
> checking for uint32 typedef included by rpc/rpc.h... no
> checking for conflicting AUTH_ERROR define in rpc/rpc.h... no
> checking for test routines... yes
> checking for ftruncate extend... yes
> checking for AF_LOCAL socket support... no
> checking for broken getgroups... no
> checking whether getpass should be replaced... yes
> checking for broken inet_ntoa... no
> checking for secure mkstemp... yes
> checking for sysconf(_SC_NGROUPS_MAX)... yes
> checking for sysconf(_SC_NPROC_ONLN)... no
> checking for root... no
> configure: WARNING: running as non-root will disable some tests
> checking for iface AIX... no
> checking for iface ifconf... got 2 interfaces:
> eth1 IP=9.1.72.27 NETMASK=255.255.252.0
> lo IP=127.0.0.1 NETMASK=255.0.0.0
> yes
> checking for setresuid... yes
> checking for working mmap... yes
> checking for ftruncate needs root... no
> checking for fcntl locking... yes
> checking for broken (glibc2.1/x86) 64 bit fcntl locking... no
> checking for 64 bit fcntl locking... yes
> checking for st_blocks in struct stat... yes
> checking for st_blksize in struct stat... yes
> checking for broken RedHat 7.2 system header files... no
> checking for broken nisplus include files... yes
> checking if the realpath function allows a NULL argument... yes
> checking whether to use smbwrapper... no
> checking whether to use AFS clear-text auth... no
> checking whether to use AFS fake-kaserver... no
> checking whether to use AFS fake-kaserver... no
> checking whether to use DFS clear-text auth... no
> checking for LDAP support... auto
> checking ldap.h usability... no
> checking ldap.h presence... no
> checking for ldap.h... no
> checking lber.h usability... no
> checking lber.h presence... no
> checking for lber.h... no
> configure: WARNING: ldap.h is needed for LDAP support
> checking for Active Directory and krb5 support... auto
> configure: WARNING: Active Directory Support requires LDAP support
> checking whether to build experimental passdb libraries... no
> checking whether to use automount... no
> checking whether to use smbmount... no
> checking whether to use PAM... no
> checking for pam_get_data in -lpam... no
> checking whether to use pam_smbpass... no
> checking for library containing crypt... -lcrypt
> checking for a crypt that needs truncated salt... no
> checking whether to use LDAP SAM 2.2 compatible configuration... no
> checking whether to use NISPLUS_HOME... no
> checking whether to use syslog logging... no
> checking whether to use profiling... no
> checking whether to try disk-quotas support... no
> checking whether to try the new lib/sysquotas.c interface... no
> checking asm/types.h usability... yes
> checking asm/types.h presence... yes
> checking for asm/types.h... yes
> checking sys/fs/vx_quota.h usability... no
> checking sys/fs/vx_quota.h presence... no
> checking for sys/fs/vx_quota.h... no
> checking sys/quota.h usability... yes
> checking sys/quota.h presence... yes
> checking for sys/quota.h... yes
> checking for XFS QUOTA in <sys/quota.h>... no
> checking if struct dqblk has .dqb_fsoftlimit... no
> checking for long quotactl(int cmd, char *special, qid_t id, caddr_t
> addr)... no
> checking for int quotactl(const char *path, int cmd, int id, char
> *addr)... no
> checking for CRAY int quotactl (char *spec, int request, char *arg)... no
> checking mntent.h usability... yes
> checking mntent.h presence... yes
> checking for mntent.h... yes
> checking for setmntent... yes
> checking for getmntent... yes
> checking for endmntent... yes
> checking devnm.h usability... no
> checking devnm.h presence... no
> checking for devnm.h... no
> checking for devnm... no
> checking whether the old quota support works... yes
> checking whether to use the old quota support... no
> checking whether to support utmp accounting... yes
> checking chosen man pages' language(s)... en
> checking whether to build the libsmbclient shared library... yes
> configure: checking how to get filesystem space usage...
> checking statvfs64 function (SVR4)... yes
> checking if large file support can be enabled... yes
> checking whether to support ACLs... no
> checking whether to check to support sendfile... yes
> checking for linux sendfile64 support... yes
> checking for linux sendfile support... yes
> checking for broken linux sendfile support... yes
> checking whether to build winbind... yes
> checking for struct passwd.pw_comment... no
> checking for struct passwd.pw_age... no
> checking for struct secmethod_table.method_attrlist... no
> checking for struct secmethod_table.method_version... no
> checking for poptGetContext in -lpopt... no
> checking whether to use included popt... yes
> checking how to build pdb_xml... not
> checking how to build pdb_mysql... not
> checking how to build pdb_pgsql... not
> checking how to build pdb_ldap... not
> checking how to build pdb_smbpasswd... static
> checking how to build pdb_tdbsam... static
> checking how to build pdb_guest... static
> checking how to build rpc_lsa... static
> checking how to build rpc_reg... static
> checking how to build rpc_lsa_ds... static
> checking how to build rpc_wks... static
> checking how to build rpc_net... static
> checking how to build rpc_dfs... static
> checking how to build rpc_srv... static
> checking how to build rpc_spoolss... static
> checking how to build rpc_samr... static
> checking how to build rpc_echo... not
> checking how to build idmap_ldap... not
> checking how to build idmap_tdb... static
> checking how to build idmap_rid... not
> checking how to build charset_weird... not
> checking how to build charset_CP850... shared
> checking how to build charset_CP437... shared
> checking how to build charset_macosxfs... not
> checking how to build auth_rhosts... static
> checking how to build auth_sam... static
> checking how to build auth_unix... static
> checking how to build auth_winbind... static
> checking how to build auth_server... static
> checking how to build auth_domain... static
> checking how to build auth_builtin... static
> checking how to build vfs_recycle... shared
> checking how to build vfs_audit... shared
> checking how to build vfs_extd_audit... shared
> checking how to build vfs_full_audit... shared
> checking how to build vfs_netatalk... shared
> checking how to build vfs_fake_perms... shared
> checking how to build vfs_default_quota... shared
> checking how to build vfs_readonly... shared
> checking how to build vfs_cap... shared
> checking how to build vfs_expand_msdfs... shared
> checking how to build vfs_shadow_copy... shared
> checking how to build vfs_afsacl... not
> Using libraries:
> LIBS = -lcrypt -lresolv -lnsl -ldl
> AUTH_LIBS = -lcrypt
> 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
> Compiling torture/torture.c
> In file included from torture/torture.c:23:
> include/includes.h:927:19: proto.h: No such file or directory
> torture/torture.c: In function `torture_open_connection':
> torture/torture.c:162: error: incompatible types in assignment
> torture/torture.c: In function `torture_cli_session_setup2':
> torture/torture.c:181: warning: pointer/integer type mismatch in
> conditional expression
> torture/torture.c:186: warning: pointer/integer type mismatch in
> conditional expression
> torture/torture.c: In function `check_error':
> torture/torture.c:230: error: incompatible types in assignment
> torture/torture.c: In function `run_nbench':
> torture/torture.c:803: error: `nb_alarm' undeclared (first use in this
> function)
> torture/torture.c:803: error: (Each undeclared identifier is reported
> only once
> torture/torture.c:803: error: for each function it appears in.)
> torture/torture.c: In function `run_tcon2_test':
> torture/torture.c:1055: error: incompatible types in assignment
> torture/torture.c: In function `tcon_devtest':
> torture/torture.c:1108: error: request for member `v' in something not
a
> structure or union
> torture/torture.c: In function `run_tcon_devtype_test':
> torture/torture.c:1135: error: incompatible types in assignment
> torture/torture.c: In function `run_locktest6':
> torture/torture.c:1770: error: incompatible types in assignment
> torture/torture.c:1775: error: incompatible types in assignment
> torture/torture.c: In function `run_locktest7':
> torture/torture.c:1833: error: request for member `v' in something not
a
> structure or union
> torture/torture.c:1852: error: request for member `v' in something not
a
> structure or union
> torture/torture.c:1889: error: request for member `v' in something not
a
> structure or union
> torture/torture.c:1900: error: request for member `v' in something not
a
> structure or union
> torture/torture.c: In function `run_deletetest':
> torture/torture.c:3242: error: invalid initializer
> torture/torture.c: In function `run_openattrtest':
> torture/torture.c:4080: error: request for member `v' in something not
a
> structure or union
> torture/torture.c:4084: error: request for member `v' in something not
a
> structure or union
> torture/torture.c: In function `torture_ioctl_test':
> torture/torture.c:4247: error: incompatible types in assignment
> torture/torture.c:4250: error: incompatible types in assignment
> torture/torture.c:4258: error: incompatible types in assignment
> torture/torture.c: At top level:
> torture/torture.c:4776: error: `torture_denytest1' undeclared here (not
> in a function)
> torture/torture.c:4776: error: initializer element is not constant
> torture/torture.c:4776: error: (near initialization for
> `torture_ops[22].fn')
> torture/torture.c:4776: error: initializer element is not constant
> torture/torture.c:4776: error: (near initialization for
`torture_ops[22]')
> torture/torture.c:4777: error: `torture_denytest2' undeclared here (not
> in a function)
> torture/torture.c:4777: error: initializer element is not constant
> torture/torture.c:4777: error: (near initialization for
> `torture_ops[23].fn')
> torture/torture.c:4777: error: initializer element is not constant
> torture/torture.c:4777: error: (near initialization for
`torture_ops[23]')
> torture/torture.c:4778: error: initializer element is not constant
> torture/torture.c:4778: error: (near initialization for
`torture_ops[24]')
> torture/torture.c:4779: error: initializer element is not constant
> torture/torture.c:4779: error: (near initialization for
`torture_ops[25]')
> torture/torture.c:4780: error: initializer element is not constant
> torture/torture.c:4780: error: (near initialization for
`torture_ops[26]')
> torture/torture.c:4781: error: initializer element is not constant
> torture/torture.c:4781: error: (near initialization for
`torture_ops[27]')
> torture/torture.c:4782: error: initializer element is not constant
> torture/torture.c:4782: error: (near initialization for
`torture_ops[28]')
> torture/torture.c:4783: error: initializer element is not constant
> torture/torture.c:4783: error: (near initialization for
`torture_ops[29]')
> torture/torture.c:4785: error: initializer element is not constant
> torture/torture.c:4785: error: (near initialization for
`torture_ops[30]')
> torture/torture.c:4787: error: initializer element is not constant
> torture/torture.c:4787: error: (near initialization for
`torture_ops[31]')
> torture/torture.c:4788: error: initializer element is not constant
> torture/torture.c:4788: error: (near initialization for
`torture_ops[32]')
> torture/torture.c:4789: error: initializer element is not constant
> torture/torture.c:4789: error: (near initialization for
`torture_ops[33]')
> torture/torture.c:4790: error: initializer element is not constant
> torture/torture.c:4790: error: (near initialization for
`torture_ops[34]')
> torture/torture.c:4791: error: `torture_mangle' undeclared here (not in
> a function)
> torture/torture.c:4791: error: initializer element is not constant
> torture/torture.c:4791: error: (near initialization for
> `torture_ops[35].fn')
> torture/torture.c:4791: error: initializer element is not constant
> torture/torture.c:4791: error: (near initialization for
`torture_ops[35]')
> torture/torture.c:4792: error: initializer element is not constant
> torture/torture.c:4792: error: (near initialization for
`torture_ops[36]')
> torture/torture.c:4793: error: `torture_trans2_scan' undeclared here
> (not in a function)
> torture/torture.c:4793: error: initializer element is not constant
> torture/torture.c:4793: error: (near initialization for
> `torture_ops[37].fn')
> torture/torture.c:4793: error: initializer element is not constant
> torture/torture.c:4793: error: (near initialization for
`torture_ops[37]')
> torture/torture.c:4794: error: `torture_nttrans_scan' undeclared here
> (not in a function)
> torture/torture.c:4794: error: initializer element is not constant
> torture/torture.c:4794: error: (near initialization for
> `torture_ops[38].fn')
> torture/torture.c:4794: error: initializer element is not constant
> torture/torture.c:4794: error: (near initialization for
`torture_ops[38]')
> torture/torture.c:4795: error: `torture_utable' undeclared here (not in
> a function)
> torture/torture.c:4795: error: initializer element is not constant
> torture/torture.c:4795: error: (near initialization for
> `torture_ops[39].fn')
> torture/torture.c:4795: error: initializer element is not constant
> torture/torture.c:4795: error: (near initialization for
`torture_ops[39]')
> torture/torture.c:4796: error: `torture_casetable' undeclared here (not
> in a function)
> torture/torture.c:4796: error: initializer element is not constant
> torture/torture.c:4796: error: (near initialization for
> `torture_ops[40].fn')
> torture/torture.c:4796: error: initializer element is not constant
> torture/torture.c:4796: error: (near initialization for
`torture_ops[40]')
> torture/torture.c:4797: error: initializer element is not constant
> torture/torture.c:4797: error: (near initialization for
`torture_ops[41]')
> torture/torture.c:4798: error: initializer element is not constant
> torture/torture.c:4798: error: (near initialization for
`torture_ops[42]')
> torture/torture.c:4799: error: initializer element is not constant
> torture/torture.c:4799: error: (near initialization for
`torture_ops[43]')
> torture/torture.c:4800: error: initializer element is not constant
> torture/torture.c:4800: error: (near initialization for
`torture_ops[44]')
> torture/torture.c:4801: error: initializer element is not constant
> torture/torture.c:4801: error: (near initialization for
`torture_ops[45]')
> torture/torture.c:4802: error: initializer element is not constant
> torture/torture.c:4802: error: (near initialization for
`torture_ops[46]')
> torture/torture.c:4803: error: initializer element is not constant
> torture/torture.c:4803: error: (near initialization for
`torture_ops[47]')
> torture/torture.c:4804: error: initializer element is not constant
> torture/torture.c:4804: error: (near initialization for
`torture_ops[48]')
> torture/torture.c: In function `main':
> torture/torture.c:4927: warning: pointer/integer type mismatch in
> conditional expression
> torture/torture.c:4928: warning: assignment makes pointer from integer
> without a cast
> torture/torture.c:4933: warning: pointer/integer type mismatch in
> conditional expression
> torture/torture.c:4938: warning: pointer/integer type mismatch in
> conditional expression
> torture/torture.c:4946: warning: pointer/integer type mismatch in
> conditional expression
> torture/torture.c:4957: warning: pointer/integer type mismatch in
> conditional expression
> torture/torture.c:4981: warning: pointer/integer type mismatch in
> conditional expression
> torture/torture.c:4996: warning: pointer/integer type mismatch in
> conditional expression
> torture/torture.c:4997: warning: assignment makes pointer from integer
> without a cast
> torture/torture.c:5000: warning: pointer/integer type mismatch in
> conditional expression
> torture/torture.c:5013: warning: assignment makes pointer from integer
> without a cast
> torture/torture.c:5015: warning: pointer/integer type mismatch in
> conditional expression
> make: *** [torture/torture.o] Error 1
> cwu@cham6:~/tmp/apps/samba-3.0.14a/source> uname -a
> Linux cham6 2.6.5-7.139-default #1 Fri Jan 14 15:41:33 UTC 2005 i686
> i686 i386 GNU/Linux
> cwu@cham6:~/tmp/apps/samba-3.0.14a/source> gcc --version
> gcc (GCC) 3.3.3 (SuSE Linux)
> Copyright (C) 2003 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> Thanks in advance.
>