Samba compile failure on Sun5.10
Stefan (metze) Metzmacher
metze at samba.org
Mon Jun 11 01:13:50 MDT 2012
Hi,
what about the attached patches?
metze
Am 25.05.2012 17:16, schrieb Mihai-Radu, Orza:
> Hello,
>
> I tried building samba-4.0.0alpha21 on SunOS 5.10 but hit the same issue.
> Below is the output of the configure and make commands.
>
> Any help is appreciated,
>
> Mihai
>
>
> -bash-3.00$ cd /tmp/samba-4.0.0alpha21
> -bash-3.00$ ./configure --prefix=/tmp/dist
> Checking for program gcc or cc : /opt/OPSWbuildtools/1.0.2/bin/gcc
> Checking for program cpp : /opt/OPSWbuildtools/1.0.2/bin/cpp
> Checking for program ar : /usr/ccs/bin/ar
> Checking for program ranlib : /usr/ccs/bin/ranlib
> Checking for gcc : ok
> Checking for program git : not found
> Check for -MD : yes
> Checking for program gdb : /opt/OPSWbuildtools/1.0.2/bin/gdb
> Checking build system : SunOS sunos510-sparc-dev 5.10 Generic_118833-03 sun4u sparc SUNW,Sun-Fire-V210 Solaris
> Checking for header sys/utsname.h : yes
> Checking uname sysname type : SunOS
> Checking uname machine type : sun4u
> Checking uname release type : 5.10
> Checking uname version type : Generic_118833-03
> Checking for header stdio.h : yes
> Checking simple C program : ok
> Checking for building library support : ok
> Checking for rpath library support : not found
> Checking for -Wl,--version-script support : not found
> Checking compiler accepts -fPIC : yes
> Checking for inline : inline
> Checking for pkg-config version >= 0.0.0 : yes
> Checking for header sys/types.h : yes
> Checking for header sys/stat.h : yes
> Checking for header stdlib.h : yes
> Checking for header stddef.h : yes
> Checking for header memory.h : yes
> Checking for header string.h : yes
> Checking for header strings.h : yes
> Checking for header inttypes.h : yes
> Checking for header stdint.h : yes
> Checking for header unistd.h : yes
> Checking for header minix/config.h : no
> Checking for header ctype.h : yes
> Checking for header standards.h : no
> Checking for header stdbool.h : yes
> Checking for header stdarg.h : yes
> Checking for header vararg.h : no
> Checking for header limits.h : yes
> Checking for header assert.h : yes
> Checking getconf LFS_CFLAGS : -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> Checking getconf large file support flags work : ok
> Checking for large file support without additional flags : ok
> Checking for header sys/time.h : yes
> Checking for header time.h : yes
> Checking for WORDS_BIGENDIAN : ok
> Checking for header signal.h : yes
> Checking if signal handlers return int : not found
> Checking for variable __FUNCTION__ : ok
> Checking for va_copy : ok
> Checking for HAVE__VA_ARGS__MACRO : ok
> Checking for header linux/types.h : no
> Checking for header crypt.h : yes
> Checking for header locale.h : yes
> Checking for header acl/libacl.h : no
> Checking for header compat.h : no
> Checking for header attr/xattr.h : no
> Checking for header dustat.h : no
> Checking for header fcntl.h : yes
> Checking for header fnmatch.h : yes
> Checking for header glob.h : yes
> Checking for header history.h : no
> Checking for header krb5.h : no
> Checking for header langinfo.h : yes
> Checking for header libaio.h : no
> Checking for header ndir.h : no
> Checking for header pwd.h : yes
> Checking for header shadow.h : yes
> Checking for header sys/acl.h : yes
> Checking for header sys/attributes.h : no
> Checking for header sys/capability.h : no
> Checking for header sys/dir.h : no
> Checking for header sys/epoll.h : no
> Checking for header sys/fcntl.h : yes
> Checking for header sys/filio.h : yes
> Checking for header sys/filsys.h : no
> Checking for header sys/fs/s5param.h : no
> Checking for header sys/fs/vx/quota.h : no
> Checking for header sys/id.h : no
> Checking for header sys/ioctl.h : yes
> Checking for header sys/ipc.h : yes
> Checking for header sys/mman.h : yes
> Checking for header sys/mode.h : yes
> Checking for header sys/ndir.h : no
> Checking for header sys/priv.h : yes
> Checking for header sys/resource.h : yes
> Checking for header sys/security.h : no
> Checking for header sys/shm.h : yes
> Checking for header sys/statfs.h : yes
> Checking for header sys/statvfs.h : yes
> Checking for header sys/termio.h : yes
> Checking for header sys/vfs.h : yes
> Checking for header sys/xattr.h : no
> Checking for header termio.h : yes
> Checking for header termios.h : yes
> Checking for header sys/file.h : yes
> Checking for header sys/wait.h : yes
> Checking for header malloc.h : yes
> Checking for header grp.h : yes
> Checking for header sys/select.h : yes
> Checking for header setjmp.h : yes
> Checking for header utime.h : yes
> Checking for header sys/syslog.h : yes
> Checking for header syslog.h : yes
> Checking for header sys/mount.h : yes
> Checking for header mntent.h : no
> Checking for header stropts.h : yes
> Checking for header unix.h : no
> Checking for header sys/param.h : yes
> Checking for header sys/socket.h : yes
> Checking for header netinet/in.h : yes
> Checking for header netdb.h : yes
> Checking for header arpa/inet.h : yes
> Checking for header netinet/in_systm.h : yes
> Checking for header netinet/ip.h : yes
> Checking for header netinet/tcp.h : yes
> Checking for header netinet/in_ip.h : no
> Checking for header sys/sockio.h : yes
> Checking for header sys/un.h : yes
> Checking for header sys/uio.h : yes
> Checking for header ifaddrs.h : no
> Checking for header direct.h : no
> Checking for header dirent.h : yes
> Checking for header windows.h : no
> Checking for header winsock2.h : no
> Checking for header ws2tcpip.h : no
> Checking for header libintl.h : yes
> Checking for header errno.h : yes
> Checking for header gcrypt.h : yes
> Checking for header getopt.h : yes
> Checking for header iconv.h : yes
> Checking for header sys/inotify.h : no
> Checking for header nss.h : no
> Checking for header sasl/sasl.h : yes
> Checking for header security/pam_appl.h : yes
> Checking for header zlib.h : yes
> Checking for header asm/unistd.h : no
> Checking for header aio.h : yes
> Checking for header sys/unistd.h : yes
> Checking for header rpc/rpc.h : yes
> Checking for header rpc/nettype.h : yes
> Checking for header alloca.h : yes
> Checking for header float.h : yes
> Checking for header rpcsvc/nis.h : yes
> Checking for header rpcsvc/ypclnt.h : yes
> Checking for header sys/prctl.h : no
> Checking for header sys/sysctl.h : no
> Checking for header sys/fileio.h : no
> Checking for header sys/filesys.h : no
> Checking for header sys/dustat.h : no
> Checking for header sys/sysmacros.h : yes
> Checking for header xfs/libxfs.h : no
> Checking for header netgroup.h : no
> Checking for header rpcsvc/yp_prot.h : yes
> Checking for header valgrind.h : no
> Checking for header valgrind/valgrind.h : no
> Checking for header valgrind/memcheck.h : no
> Checking for header nss_common.h : yes
> Checking for header nsswitch.h : yes
> Checking for header ns_api.h : no
> Checking for header sys/extattr.h : no
> Checking for header sys/ea.h : no
> Checking for header sys/proplist.h : no
> Checking for header sys/cdefs.h : no
> Checking for header utmp.h : yes
> Checking for header utmpx.h : yes
> Checking for header lastlog.h : yes
> Checking for header syscall.h : no
> Checking for header sys/syscall.h : yes
> Checking for long long : ok
> Checking for intptr_t : ok
> Checking for uintptr_t : ok
> Checking for ptrdiff_t : ok
> Checking for comparison_fn_t : not found
> Checking for _Bool : ok
> Checking for bool : ok
> Checking for int8_t : ok
> Checking for uint8_t : ok
> Checking for int16_t : ok
> Checking for uint16_t : ok
> Checking for int32_t : ok
> Checking for uint32_t : ok
> Checking for int64_t : ok
> Checking for uint64_t : ok
> Checking for size_t : ok
> Checking for ssize_t : ok
> Checking for ino_t : ok
> Checking for loff_t : not found
> Checking for offset_t : ok
> Checking for volatile int : ok
> Checking for uint_t : ok
> Checking for blksize_t : ok
> Checking for blkcnt_t : ok
> Checking size of bool : 1
> Checking size of char : 1
> Checking size of int : 4
> Checking size of long long : 8
> Checking size of long : 4
> Checking size of short : 2
> Checking size of size_t : 4
> Checking size of ssize_t : 4
> Checking size of int8_t : 1
> Checking size of uint8_t : 1
> Checking size of int16_t : 2
> Checking size of uint16_t : 2
> Checking size of int32_t : 4
> Checking size of uint32_t : 4
> Checking size of int64_t : 8
> Checking size of uint64_t : 8
> Checking size of void* : 4
> Checking size of off_t : 8
> Checking size of dev_t : 4
> Checking size of ino_t : 8
> Checking size of time_t : 4
> Checking for socklen_t : ok
> Checking for struct ifaddrs : not found
> Checking for struct addrinfo : ok
> Checking for struct sockaddr : ok
> Checking for HAVE_STRUCT_SOCKADDR_IN6 : ok
> Checking for struct sockaddr_storage : ok
> Checking for sa_family_t : ok
> Checking for sig_atomic_t : ok
> Checking for inet_ntoa : not found
> Checking for inet_aton : not found
> Checking for inet_ntop : not found
> Checking for inet_pton : not found
> Checking for connect : not found
> Checking for gethostbyname : not found
> Checking for getaddrinfo : not found
> Checking for getnameinfo : not found
> Checking for freeaddrinfo : not found
> Checking for gai_strerror : not found
> Checking for socketpair : not found
> Checking for library socket : yes
> Checking for library nsl : yes
> Checking for inet_ntoa : ok
> Checking for inet_aton : not found
> Checking for inet_ntop : ok
> Checking for inet_pton : ok
> Checking for connect : ok
> Checking for gethostbyname : ok
> Checking for getaddrinfo : ok
> Checking for getnameinfo : ok
> Checking for freeaddrinfo : ok
> Checking for gai_strerror : ok
> Checking for socketpair : ok
> Checking for variable IPV6_V6ONLY : ok
> Checking for HAVE_IPV6 : ok
> Checking for strdup : ok
> Checking for memmem : not found
> Checking for printf : ok
> Checking for memset : ok
> Checking for memcpy : ok
> Checking for memmove : ok
> Checking for strcpy : ok
> Checking for strncpy : ok
> Checking for bzero : ok
> Checking for shl_load : not found
> Checking for shl_unload : not found
> Checking for shl_findsym : not found
> Checking for pipe : ok
> Checking for strftime : ok
> Checking for srandom : ok
> Checking for random : ok
> Checking for srand : ok
> Checking for rand : ok
> Checking for usleep : ok
> Checking for setbuffer : ok
> Checking for lstat : ok
> Checking for getpgrp : ok
> Checking for utime : ok
> Checking for utimes : ok
> Checking for seteuid : ok
> Checking for setreuid : ok
> Checking for setresuid : not found
> Checking for setegid : ok
> Checking for setregid : ok
> Checking for setresgid : not found
> Checking for chroot : ok
> Checking for strerror : ok
> Checking for vsyslog : ok
> Checking for setlinebuf : ok
> Checking for mktime : ok
> Checking for ftruncate : ok
> Checking for chsize : not found
> Checking for rename : ok
> Checking for waitpid : ok
> Checking for wait4 : ok
> Checking for initgroups : ok
> Checking for pread : ok
> Checking for pwrite : ok
> Checking for strndup : not found
> Checking for strcasestr : not found
> Checking for strtok_r : ok
> Checking for mkdtemp : not found
> Checking for dup2 : ok
> Checking for dprintf : not found
> Checking for vdprintf : not found
> Checking for isatty : ok
> Checking for chown : ok
> Checking for lchown : ok
> Checking for link : ok
> Checking for readlink : ok
> Checking for symlink : ok
> Checking for realpath : ok
> Checking for snprintf : ok
> Checking for vsnprintf : ok
> Checking for asprintf : not found
> Checking for vasprintf : not found
> Checking for setenv : ok
> Checking for unsetenv : ok
> Checking for strnlen : not found
> Checking for strtoull : ok
> Checking for __strtoull : not found
> Checking for strtouq : not found
> Checking for strtoll : ok
> Checking for __strtoll : not found
> Checking for strtoq : not found
> Checking for memalign : ok
> Checking for posix_memalign : not found
> Checking for strlcpy : ok
> Checking for strlcat : ok
> Checking for getpeereid : not found
> Checking for library bsd : not found
> Checking for getpeereid : not found
> Checking whether we can use SO_PEERCRED to get socket credentials : not found
> Checking correct behavior of strtoll : not found
> Checking for if_nametoindex : not found
> Checking for strerror_r : ok
> Checking for getdirentries : not found
> Checking for getdents : ok
> Checking for syslog : ok
> Checking for gai_strerror : ok
> Checking for get_current_dir_name : not found
> Checking for timegm : not found
> Checking for getifaddrs : not found
> Checking for freeifaddrs : not found
> Checking for mmap : ok
> Checking for setgroups : ok
> Checking for setsid : ok
> Checking for getgrent_r : ok
> Checking for getgrgid_r : ok
> Checking for getgrnam_r : ok
> Checking for getgrouplist : not found
> Checking for getpagesize : ok
> Checking for getpwent_r : ok
> Checking for getpwnam_r : ok
> Checking for getpwuid_r : ok
> Checking for epoll_create : not found
> Checking for dlopen : ok
> Checking for dlsym : ok
> Checking for dlerror : ok
> Checking for dlclose : ok
> Checking for declaration of dlopen : ok
> Checking C prototype for dlopen : not found
> Checking for fdatasync : not found
> Checking for library rt : yes
> Checking for fdatasync : ok
> Checking for declaration of fdatasync : ok
> Checking for clock_gettime : not found
> Checking for clock_gettime : ok
> Checking whether the clock_gettime clock ID CLOCK_MONOTONIC is available : ok
> Checking whether the clock_gettime clock ID CLOCK_PROCESS_CPUTIME_ID is available : ok
> Checking whether the clock_gettime clock ID CLOCK_REALTIME is available : ok
> Checking for struct timespec : ok
> Checking for header net/if.h : yes
> Checking for header arpa/nameser.h : yes
> Checking for header resolv.h : yes
> Checking for res_search : not found
> Checking for library resolv : yes
> Checking for res_search : ok
> Checking for gettext : ok
> Checking for library intl : yes
> Checking for dgettext : ok
> Checking for pthread_create : ok
> Checking for crypt : ok
> Checking for header readline.h : no
> Checking for header readline/readline.h : yes
> Checking for header readline/history.h : yes
> Checking for variable rl_event_hook : ok
> Checking for declaration of snprintf : ok
> Checking for declaration of vsnprintf : ok
> Checking for declaration of asprintf : not found
> Checking for declaration of vasprintf : not found
> Checking for declaration of errno : ok
> Checking for declaration of environ : not found
> Checking for declaration of getgrent_r : ok
> Checking for declaration of getpwent_r : ok
> Checking for declaration of pread : ok
> Checking for declaration of pwrite : ok
> Checking for declaration of setenv : ok
> Checking for declaration of setresgid : not found
> Checking for declaration of setresuid : not found
> Checking for header poll.h : yes
> Checking for poll : ok
> Checking for working strptime : ok
> Checking correct behavior of strptime : ok
> Checking for HAVE_GETTIMEOFDAY_TZ : ok
> Checking for C99 vsnprintf : not found
> Checking for HAVE_INCOHERENT_MMAP : not found
> Checking for HAVE_IMMEDIATE_STRUCTURES : ok
> Checking for HAVE_MKDIR_MODE : ok
> Checking for member st_mtim.tv_nsec in struct stat : ok
> Checking for member st_rdev in struct stat : ok
> Checking for member st_rdev in struct stat : ok
> Checking for member ss_family in struct sockaddr_storage : ok
> Checking for member __ss_family in struct sockaddr_storage : not found
> Checking for member sa_len in struct sockaddr : not found
> Checking for member sin_len in struct sockaddr_in : not found
> Checking for HAVE_UNIXSOCKET : ok
> Checking for HAVE_SECURE_MKSTEMP : ok
> Checking compiler accepts -fvisibility=hidden : no
> Checking for HAVE_IFACE_GETIFADDRS : not found
> Checking for HAVE_IFACE_AIX : not found
> Checking for HAVE_IFACE_IFCONF : ok
> Checking for getpass : ok
> Checking for getpassphrase : ok
> Checking for getpwnam_r : ok
> Checking for getpwuid_r : ok
> Checking for getpwent_r : ok
> Checking for declaration of getpwent_r : ok
> Checking C prototype for getpwent_r : ok
> Checking for declaration of getgrent_r : ok
> Checking C prototype for getgrent_r : ok
> Checking for getgrouplist : not found
> Checking for program python : /opt/OPSWbuildtools/1.0.2/bin/python2.4
> Checking for program perl : /opt/OPSWbuildtools/1.0.2/bin/perl
> Checking for program xsltproc : /bin/xsltproc
> Checking for program python : /opt/OPSWbuildtools/1.0.2/bin/python2.4
> Checking for Python version >= 2.4.2 : ok 2.4.4
> Checking for library python2.4 : not found
> Checking for library python2.4 : yes
> Checking for program python2.4-config : not found
> Checking for program python-config-2.4 : not found
> Checking for custom code : yes
> Dynconfig[SCRIPTSBINDIR]: : '/tmp/dist/sbin'
> Dynconfig[SETUPDIR]: : '/tmp/dist/share/setup'
> Dynconfig[PYTHONDIR]: : '/tmp/dist/lib/python2.4/site-packages'
> Dynconfig[CACHEDIR]: : '/tmp/dist/var/cache'
> Dynconfig[LOGFILEBASE]: : '/tmp/dist/var'
> Dynconfig[CONFIGFILE]: : '/tmp/dist/etc/smb.conf'
> Dynconfig[WINBINDD_PRIVILEGED_SOCKET_DIR]: : '/tmp/dist/var/lib/winbindd_privileged'
> Dynconfig[LIBDIR]: : '/tmp/dist/lib'
> Dynconfig[PKGCONFIGDIR]: : '/tmp/dist/lib/pkgconfig'
> Dynconfig[NMBDSOCKETDIR]: : '/tmp/dist/var/run/nmbd'
> Dynconfig[INCLUDEDIR]: : '/tmp/dist/include'
> Dynconfig[LOCKDIR]: : '/tmp/dist/var/lock'
> Dynconfig[PRIVILEGED_SOCKET_DIR]: : '/tmp/dist/var/lib'
> Dynconfig[LIBEXECDIR]: : '/tmp/dist/libexec'
> Dynconfig[SMB_PASSWD_FILE]: : '/tmp/dist/private/smbpasswd'
> Dynconfig[BINDIR]: : '/tmp/dist/bin'
> Dynconfig[STATEDIR]: : '/tmp/dist/var/locks'
> Dynconfig[PAMMODULESDIR]: : '/tmp/dist/lib/security'
> Dynconfig[WINBINDD_SOCKET_DIR]: : '/tmp/dist/var/run/winbindd'
> Dynconfig[PRIVATE_DIR]: : '/tmp/dist/private'
> Dynconfig[DATADIR]: : '/tmp/dist/share'
> Dynconfig[SBINDIR]: : '/tmp/dist/sbin'
> Dynconfig[NCALRPCDIR]: : '/tmp/dist/var/run/ncalrpc'
> Dynconfig[LMHOSTSFILE]: : '/tmp/dist/etc/lmhosts'
> Dynconfig[SWATDIR]: : '/tmp/dist/share/swat'
> Dynconfig[PYTHONARCHDIR]: : '/tmp/dist/lib/python2.4/site-packages'
> Dynconfig[PIDDIR]: : '/tmp/dist/var/run'
> Dynconfig[NTP_SIGND_SOCKET_DIR]: : '/tmp/dist/var/run/ntp_signd'
> Dynconfig[SOCKET_DIR]: : '/tmp/dist/var/run'
> Dynconfig[MODULESDIR]: : '/tmp/dist/lib'
> Dynconfig[LOCALEDIR]: : '/tmp/dist/share/locale'
> Dynconfig[CODEPAGEDIR]: : '/tmp/dist/share/codepages'
> Dynconfig[CONFIGDIR]: : '/tmp/dist/etc'
> Dynconfig[PRIVATELIBDIR]: : '/tmp/dist/lib/private'
> Checking for HAVE_ATTRIBUTE_COLD : not found
> Checking for HAVE_ATTRIBUTE_CONST : ok
> Checking for HAVE_ATTRIBUTE_NORETURN : ok
> Checking for HAVE_ATTRIBUTE_PRINTF : ok
> Checking for HAVE_ATTRIBUTE_UNUSED : ok
> Checking for HAVE_ATTRIBUTE_USED : ok
> Checking for header endian.h : no
> Checking for header sys/endian.h : no
> Checking for HAVE_LITTLE_ENDIAN : not found
> Checking for HAVE_BIG_ENDIAN : not found
> Checking for HAVE_LITTLE_ENDIAN - runtime : not found
> Checking for HAVE_BIG_ENDIAN - runtime : ok
> Checking for HAVE_BUILTIN_CHOOSE_EXPR : ok
> Checking for HAVE_BUILTIN_CLZ : ok
> Checking for HAVE_BUILTIN_CLZL : ok
> Checking for HAVE_BUILTIN_CLZLL : ok
> Checking for HAVE_BUILTIN_CONSTANT_P : ok
> Checking for HAVE_BUILTIN_EXPECT : ok
> Checking for HAVE_BUILTIN_POPCOUNTL : ok
> Checking for HAVE_BUILTIN_TYPES_COMPATIBLE_P : ok
> Checking for HAVE_COMPOUND_LITERALS : ok
> Checking for HAVE_ISBLANK : ok
> Checking for HAVE_TYPEOF : ok
> Checking for HAVE_WARN_UNUSED_RESULT : ok
> Checking for backtrace : not found
> Checking for backtrace_symbols : not found
> Checking for library execinfo : not found
> Checking for backtrace : not found
> Checking for backtrace_symbols : not found
> Checking for system tdb >= 2.0.0 : not found
> Checking for program python : /opt/OPSWbuildtools/1.0.2/bin/python2.4
> Checking for Python version >= 2.4.2 : ok 2.4.4
> Checking for python headers : using cache
> Checking for system talloc >= 2.0.7 : not found
> Checking for system pytalloc-util >= 2.0.7 : not found
> Checking for stylesheet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl : ok
> Checking for program python : /opt/OPSWbuildtools/1.0.2/bin/python2.4
> Checking for Python version >= 2.4.2 : ok 2.4.4
> Checking for python headers : using cache
> Checking linker accepts -Wl,-no-undefined : no
> Checking linker accepts ['-undefined', 'dynamic_lookup'] : no
> Checking for system tevent >= 0.9.15 : not found
> Checking for epoll_create : not found
> Checking for program python : /opt/OPSWbuildtools/1.0.2/bin/python2.4
> Checking for Python version >= 2.4.2 : ok 2.4.4
> Checking for python headers : using cache
> Checking linker accepts -Wl,-no-undefined : no
> Checking linker accepts ['-undefined', 'dynamic_lookup'] : no
> Checking for system popt : not found
> Checking for header popt.h : yes
> Checking for library popt : yes
> Checking for poptGetContext : ok
> Checking for program python : /opt/OPSWbuildtools/1.0.2/bin/python2.4
> Checking for program xsltproc : /bin/xsltproc
> Checking for Python version >= 2.4.2 : ok 2.4.4
> Checking for python headers : using cache
> Checking for system ldb >= 1.1.6 : not found
> Checking for system pyldb-util >= 1.1.6 : not found
> Checking linker accepts -Wl,-no-undefined : no
> Checking linker accepts ['-undefined', 'dynamic_lookup'] : no
> Checking for u_char : ok
> Checking for u_int32_t : not found
> Checking for header err.h : no
> Checking for header sys/bswap.h : no
> Checking for header sys/stropts.h : yes
> Checking for header sys/timeb.h : yes
> Checking for header sys/times.h : yes
> Checking for header timezone.h : no
> Checking for header ttyname.h : no
> Checking for header netinet/in6.h : no
> Checking for header netinet6/in6.h : no
> Checking for header curses.h : yes
> Checking for header term.h : yes
> Checking for header termcap.h : no
> Checking for atexit : ok
> Checking for cgetent : not found
> Checking for getprogname : not found
> Checking for setprogname : not found
> Checking for gethostname : ok
> Checking for putenv : ok
> Checking for rcmd : not found
> Checking for readv : ok
> Checking for sendmsg : not found
> Checking for setitimer : ok
> Checking for strlwr : not found
> Checking for strncasecmp : ok
> Checking for strptime : ok
> Checking for strsep : not found
> Checking for strsep_copy : not found
> Checking for strtok_r : ok
> Checking for strupr : not found
> Checking for swab : ok
> Checking for umask : ok
> Checking for uname : ok
> Checking for unsetenv : ok
> Checking for closefrom : ok
> Checking for err : not found
> Checking for warn : not found
> Checking for errx : not found
> Checking for warnx : not found
> Checking for flock : not found
> Checking for writev : ok
> Checking for hstrerror : not found
> Checking for hstrerror : ok
> Checking for sendmsg : not found
> Checking for socket : not found
> Checking for getipnodebyname : not found
> Checking for gethostent : not found
> Checking for gethostent_r : not found
> Checking for sethostent : not found
> Checking for endhostent : not found
> Checking for getipnodebyaddr : not found
> Checking for freehostent : not found
> Checking for gethostbyname_r : not found
> Checking for gethostbyaddr : not found
> Checking for sendmsg : ok
> Checking for socket : ok
> Checking for getipnodebyname : ok
> Checking for gethostent : ok
> Checking for gethostent_r : ok
> Checking for sethostent : ok
> Checking for endhostent : ok
> Checking for getipnodebyaddr : ok
> Checking for freehostent : ok
> Checking for gethostbyname_r : ok
> Checking for gethostbyaddr : ok
> Checking for iruserok : not found
> Checking for bswap16 : not found
> Checking for bswap32 : not found
> Checking for header sys/termios.h : yes
> Checking for struct winsize : ok
> Checking for member ws_xpixel in struct winsize : ok
> Checking for member ws_ypixel in struct winsize : ok
> Checking for variable h_errno : ok
> Checking for declaration of h_errno : ok
> Checking for res_nsearch : not found
> Checking for res_ndestroy : not found
> Checking for dns_search : not found
> Checking for dn_expand : not found
> Checking for res_nsearch : ok
> Checking for res_ndestroy : not found
> Checking for dns_search : not found
> Checking for dn_expand : ok
> Checking for variable _res : ok
> Checking for declaration of _res : ok
> Checking for openpty : not found
> Checking for library util : not found
> Checking for openpty : not found
> Checking for dirfd : not found
> Checking for declaration of dirfd : not found
> Checking for member dd_fd in DIR : ok
> Using in-tree heimdal kerberos defines
> Checking for program krb5-config.heimdal : not found
> Checking for program krb5-config : not found
> Checking for system com_err : not found
> Checking for library com_err : not found
> Checking for com_right_r : not found
> Checking for com_err : not found
> Checking for gnutls >= 1.4.0 and broken versions : not found
> Checking for library gnutls : yes
> Checking for gnutls_global_init : ok
> Checking for header gnutls/x509.h : yes
> Checking for variable gnutls_x509_crt_set_version : not found
> Checking for variable gnutls_x509_crt_set_subject_key_id : not found
> Checking for gnutls_datum : ok
> Checking for gnutls_datum_t : not found
> Checking for library gcrypt : yes
> Checking for gcry_control : ok
> Checking for library gpg-error : not found
> Checking for gpg_err_code_from_errno : not found
> Checking for header linux/fcntl.h : no
> Checking for declaration of F_SETLEASE : not found
> Checking for declaration of SA_SIGINFO : ok
> Checking for backtrace : not found
> Checking for backtrace_symbols : not found
> Checking for library execinfo : not found
> Checking for backtrace : not found
> Checking for backtrace_symbols : not found
> Checking for sigprocmask : ok
> Checking for sigblock : not found
> Checking for sigaction : ok
> Checking for flistxattr : not found
> Checking for library attr : not found
> Checking for flistxattr : not found
> Checking for darwin xattr api : not found
> Checking for member f_frsize in struct statvfs : ok
> Checking for statvfs (SVR4) : ok
> Checking if f_fsid is an integer : ok
> Checking whether statvfs.f_flag exists : ok
> Checking whether statvfs.f_flags exists : not found
> Checking for library z : yes
> Checking for zlibVersion : ok
> Checking for ZLIB_VERNUM >= 0x1230 and working link to zlib : ok
> Checking for library iconv : no
> Checking for library iconv : not found
> Checking for iconv_open : ok
> Checking for pam_start : not found
> Checking for library pam : yes
> Checking for pam_start : ok
> Checking for library sasl2 : not found
> Checking for sasl_client_init : not found
> Checking for header security/pam_modules.h : yes
> Checking for header pam/pam_modules.h : no
> Checking for system iniparser : not found
> Checking for header iniparser.h : no
> Checking for system subunit : not found
> Checking for library ncurses : yes
> Checking for tgetent : ok
> Checking for rl_completion_t : not found
> Checking for CPPFunction : ok
> Checking for library readline : yes
> Checking for rl_completion_matches : not found
> Checking for history_list : ok
> Checking for MD5Init : not found
> Checking for library bsd : not found
> Checking for MD5Init : not found
> Checking for CC_MD5_Init : not found
> Checking for CC_MD5_Init : not found
> perl manpage generation : ok
> perl man1 extension : 1
> perl man3 extension : 3
> Checking for program yapp : not found
> Checking for program pod2man : /opt/OPSWbuildtools/1.0.2/bin/pod2man
> Checking linker accepts -Wl,--export-dynamic : no
> Checking for header libexc.h : no
> Checking for header libunwind.h : no
> Checking for header linux/falloc.h : no
> Checking for getcwd : ok
> Checking for fchown : ok
> Checking for chmod : ok
> Checking for fchmod : ok
> Checking for mknod : ok
> Checking for strtol : ok
> Checking for strchr : ok
> Checking for strupr : not found
> Checking for chflags : not found
> Checking for getrlimit : ok
> Checking for fsync : ok
> Checking for fdatasync : ok
> Checking for setpgid : ok
> Checking for setsid : ok
> Checking for glob : ok
> Checking for strpbrk : ok
> Checking for crypt16 : not found
> Checking for getauthuid : not found
> Checking for sigprocmask : ok
> Checking for sigblock : not found
> Checking for sigaction : ok
> Checking for sigset : ok
> Checking for innetgr : ok
> Checking for initgroups : ok
> Checking for select : ok
> Checking for poll : ok
> Checking for rdchk : not found
> Checking for getgrnam : ok
> Checking for getgrent : ok
> Checking for pathconf : ok
> Checking for setpriv : not found
> Checking for setgidx : not found
> Checking for setuidx : not found
> Checking for setgroups : ok
> Checking for sysconf : ok
> Checking for atexit : ok
> Checking for grantpt : ok
> Checking for fallocate : not found
> Checking for posix_fallocate : not found
> Checking for fseeko : ok
> Checking for setluid : not found
> Checking for getpwnam : ok
> Checking for fdopendir : ok
> Checking for getpwent_r : ok
> Checking for setenv : ok
> Checking for strcasecmp : ok
> Checking for fcvt : ok
> Checking for fcvtl : not found
> Checking for syslog : ok
> Checking for vsyslog : ok
> Checking for timegm : not found
> Checking for setlocale : ok
> Checking for nanosleep : ok
> Checking for lutimes : not found
> Checking for futimes : not found
> Checking for utimensat : not found
> Checking for futimens : not found
> Checking for mlock : ok
> Checking for munlock : ok
> Checking for mlockall : ok
> Checking for munlockall : ok
> Checking for memalign : ok
> Checking for posix_memalign : not found
> Checking for hstrerror : ok
> Checking for shmget : ok
> Checking for shm_open : not found
> Checking for shm_open : ok
> Checking for gettext : ok
> Checking for dgettext : ok
> Checking for bindtextdomain : ok
> Checking for textdomain : ok
> Checking for bind_textdomain_codeset : ok
> Checking for yp_get_default_domain : ok
> Checking for _dn_expand : not found
> Checking for __dn_expand : not found
> Checking for declaration of fdatasync : ok
> Checking for declaration of readahead : not found
> Checking for HAVE_LINUX_SPLICE : not found
> Checking for kernel change notify support : not found
> Checking for Linux kernel oplocks : not found
> Checking for IRIX kernel oplock types : not found
> Checking for krenel share modes : not found
> Checking for member st_blocks in struct stat : ok
> Checking for member st_blksize in struct stat : ok
> Checking for member st_flags in struct stat : not found
> Checking for header replace.h : no
> Checking whether blkcnt_t is 32 bit : not found
> Checking whether blkcnt_t is 64 bit : ok
> Checking for library cap : not found
> Checking for cap_get_proc : not found
> Checking for int16 typedef included by rpc/rpc.h : not found
> Checking for uint16 typedef included by rpc/rpc.h : not found
> Checking for int32 typedef included by rpc/rpc.h : not found
> Checking for uint32 typedef included by rpc/rpc.h : not found
> Checking for broken nisplus include files : not found
> Checking if the compiler will optimize out functions : ok
> Checking for LL suffix on long long integers : ok
> Checking for _acl : ok
> Checking for __acl : not found
> Checking for add_proplist_entry : not found
> Checking for atexit : ok
> Checking for attr_getf : not found
> Checking for attr_list : not found
> Checking for attr_listf : not found
> Checking for attropen : ok
> Checking for attr_remove : not found
> Checking for attr_removef : not found
> Checking for attr_set : not found
> Checking for attr_setf : not found
> Checking for bindtextdomain : ok
> Checking for _chdir : ok
> Checking for __chdir : not found
> Checking for chflags : not found
> Checking for chmod : ok
> Checking for _close : ok
> Checking for __close : not found
> Checking for _closedir : ok
> Checking for __closedir : not found
> Checking for crypt16 : not found
> Checking for delproplist : not found
> Checking for devnm : not found
> Checking for dgettext : ok
> Checking for dirfd : not found
> Checking for DNSServiceRegister : not found
> Checking for _dup : ok
> Checking for __dup : not found
> Checking for _dup2 : ok
> Checking for __dup2 : not found
> Checking for endmntent : not found
> Checking for execl : ok
> Checking for extattr_delete_fd : not found
> Checking for extattr_get_fd : not found
> Checking for extattr_get_file : not found
> Checking for extattr_list_fd : not found
> Checking for extattr_list_file : not found
> Checking for extattr_set_fd : not found
> Checking for extattr_set_file : not found
> Checking for _facl : ok
> Checking for __facl : not found
> Checking for _fchdir : ok
> Checking for __fchdir : not found
> Checking for fchmod : ok
> Checking for fchown : ok
> Checking for _fcntl : ok
> Checking for __fcntl : not found
> Checking for fcvt : ok
> Checking for fcvtl : not found
> Checking for fdatasync : ok
> Checking for fdelproplist : not found
> Checking for fgetea : not found
> Checking for fgetproplist : not found
> Checking for fgetxattr : not found
> Checking for flistea : not found
> Checking for flistxattr : not found
> Checking for _fork : ok
> Checking for __fork : not found
> Checking for fremoveea : not found
> Checking for fremovexattr : not found
> Checking for fseeko : ok
> Checking for fsetea : not found
> Checking for fsetproplist : not found
> Checking for fsetxattr : not found
> Checking for _fstat : ok
> Checking for __fstat : not found
> Checking for fsync : ok
> Checking for futimens : not found
> Checking for futimes : not found
> Checking for __fxstat : not found
> Checking for getauthuid : not found
> Checking for getcwd : ok
> Checking for _getcwd : ok
> Checking for __getcwd : not found
> Checking for getdents : ok
> Checking for __getdents : not found
> Checking for getdirentries : not found
> Checking for getgrent : ok
> Checking for getgrnam : ok
> Checking for getgrouplist : not found
> Checking for getgrset : not found
> Checking for getmntent : ok
> Checking for getpagesize : ok
> Checking for getproplist : not found
> Checking for get_proplist_entry : not found
> Checking for getpwanam : not found
> Checking for getpwent_r : ok
> Checking for getrlimit : ok
> Checking for gettext : ok
> Checking for glob : ok
> Checking for grantpt : ok
> Checking for hstrerror : ok
> Checking for initgroups : ok
> Checking for innetgr : ok
> Checking for listea : not found
> Checking for listxattr : not found
> Checking for llseek : ok
> Checking for _llseek : ok
> Checking for __llseek : not found
> Checking for _lseek : ok
> Checking for __lseek : not found
> Checking for _lstat : ok
> Checking for __lstat : not found
> Checking for lutimes : not found
> Checking for __lxstat : not found
> Checking for memalign : ok
> Checking for mknod : ok
> Checking for mlock : ok
> Checking for mlockall : ok
> Checking for munlock : ok
> Checking for munlockall : ok
> Checking for _open : ok
> Checking for __open : not found
> Checking for _opendir : ok
> Checking for __opendir : not found
> Checking for pathconf : ok
> Checking for poll : ok
> Checking for posix_fallocate : not found
> Checking for posix_memalign : not found
> Checking for prctl : not found
> Checking for pread : ok
> Checking for _pread : ok
> Checking for __pread : not found
> Checking for pwrite : ok
> Checking for _pwrite : ok
> Checking for __pwrite : not found
> Checking for rdchk : not found
> Checking for _read : ok
> Checking for __read : not found
> Checking for _readdir : ok
> Checking for __readdir : not found
> Checking for removeea : not found
> Checking for removexattr : not found
> Checking for _seekdir : ok
> Checking for __seekdir : not found
> Checking for select : ok
> Checking for setea : not found
> Checking for setenv : ok
> Checking for setgidx : not found
> Checking for setgroups : ok
> Checking for setlocale : ok
> Checking for setluid : not found
> Checking for setmntent : not found
> Checking for setpgid : ok
> Checking for setpriv : not found
> Checking for setproplist : not found
> Checking for setsid : ok
> Checking for setuidx : not found
> Checking for setxattr : not found
> Checking for shmget : ok
> Checking for shm_open : ok
> Checking for sigaction : ok
> Checking for sigblock : not found
> Checking for sigprocmask : ok
> Checking for sigset : ok
> Checking for sizeof_proplist_entry : not found
> Checking for _stat : ok
> Checking for __stat : not found
> Checking for statvfs : ok
> Checking for strcasecmp : ok
> Checking for strchr : ok
> Checking for strpbrk : ok
> Checking for strsignal : ok
> Checking for strtol : ok
> Checking for strupr : not found
> Checking for sysconf : ok
> Checking for sysctl : not found
> Checking for sysctlbyname : not found
> Checking for __sys_llseek : not found
> Checking for syslog : ok
> Checking for _telldir : ok
> Checking for __telldir : not found
> Checking for textdomain : ok
> Checking for timegm : not found
> Checking for utimensat : not found
> Checking for vsyslog : ok
> Checking for _write : ok
> Checking for __write : not found
> Checking for __xstat : not found
> Checking if can we convert from CP850 to UCS-2LE : ok
> Checking if can we convert from UTF-8 to UCS-2LE : ok
> building on solaris-sparc64
> Unknown host_os 'solaris-sparc64', please report this to samba-technical at samba.org
> Checking for dirfd : not found
> vfs_fileid: checking for statfs() and struct statfs.f_fsid : not found
> Checking whether Linux readahead is available : not found
> Checking for declaration of readahead : not found
> Checking for library aio : yes
> Checking for aio_read : not found
> Checking for aio_read : ok
> Checking for asynchronous io support : ok
> Checking for aio_write : ok
> Checking for aio_fsync : ok
> Checking for aio_return : ok
> Checking for aio_error : ok
> Checking for aio_cancel : ok
> Checking for aio_suspend : ok
> Checking if we can use msg_control for passing file descriptors : not found
> Checking if we can use msg_acctrights for passing file descriptors : not found
> Checking for program awk : /opt/OPSWbuildtools/1.0.2/bin/awk
> Checking for program perl : /opt/OPSWbuildtools/1.0.2/bin/perl
> Checking whether xattr interface takes additional options : not found
> Checking for header asm/types.h : no
> Checking for major macro : not found
> Checking for minor macro : not found
> Checking for member d_off in struct dirent : ok
> Checking for setnetgrent : ok
> Checking for getnetgrent : ok
> Checking for endnetgrent : ok
> Checking compiler accepts -Werror-implicit-function-declaration : yes
> Checking for setnetgrent prototype : ok
> Checking for getnetgrent prototype : ok
> Checking for endnetgrent prototype : ok
> Checking for program cups-config : not found
> Checking for header cups/cups.h : no
> Checking for header cups/language.h : no
> Checking for library cups : not found
> Checking for httpConnect : not found
> Checking for httpConnectEncrypt : not found
> --enable-iprint=yes but cups support not sufficient
> Checking for header ldap.h : yes
> Checking for header lber.h : yes
> Checking for header ldap_pvt.h : no
> Checking for ber_tag_t : ok
> Checking for library lber : not found
> Checking for ber_scanf : not found
> Checking for ber_sockbuf_add_io : not found
> Checking for variable LDAP_OPT_SOCKBUF : not found
> Checking for variable LBER_OPT_LOG_PRINT_FN : not found
> Checking for library ldap : yes
> Checking for ldap_init : ok
> Checking for ldap_init_fd : not found
> Checking for ldap_initialize : not found
> Checking for ldap_set_rebind_proc : ok
> Checking for ldap_add_result_entry : not found
> Checking whether ldap_set_rebind_proc takes 3 arguments : ok
> Checking for pututline : ok
> Checking for pututxline : ok
> Checking for updwtmp : ok
> Checking for updwtmpx : ok
> Checking for getutmpx : ok
> Checking for getutxent : ok
> Checking for member ut_name in struct utmp : ok
> Checking for member ut_user in struct utmp : ok
> Checking for member ut_id in struct utmp : ok
> Checking for member ut_host in struct utmp : not found
> Checking for member ut_time in struct utmp : ok
> Checking for member ut_tv in struct utmp : not found
> Checking for member ut_type in struct utmp : ok
> Checking for member ut_pid in struct utmp : ok
> Checking for member ut_exit.e_exit in struct utmp : ok
> Checking for member ut_addr_v6 in struct utmp : not found
> Checking for member ut_addr in struct utmp : not found
> Checking for member ut_syslen in struct utmpx : ok
> Checking whether pututline returns pointer : ok
> Checking for header avahi-common/watch.h : no
> Checking for header avahi-client/client.h : no
> Checking for library avahi-client : not found
> Checking for avahi_client_new : not found
> Checking for library avahi-common : not found
> Checking for avahi_strerror : not found
> Checking for header pam/pam_appl.h : no
> Checking for pam_get_data : ok
> Checking for header security/pam_ext.h : no
> Checking for header security/_pam_macros.h : no
> Checking for header pam/pam_ext.h : no
> Checking for header pam/_pam_macros.h : no
> Checking for pam_vsyslog : not found
> Checking whether PAM_RHOST is available : ok
> Checking whether PAM_TTY is available : ok
> Checking whether PAM_RADIO_TYPE is available : not found
> Checking whether setreuid is available : ok
> Checking for header uuid/uuid.h : yes
> Checking for library uuid : yes
> Checking for uuid_generate : ok
> Checking whether Linux netlink is available : not found
> Checking whether fcntl locking is available : ok
> Checking for member st_mtim.tv_nsec in struct stat : ok
> Checking for member st_mtimensec in struct stat : not found
> Checking for member st_mtimespec.tv_nsec in struct stat : not found
> Checking for member st_mtime_n in struct stat : not found
> Checking for member st_umtime in struct stat : not found
> Checking for member st_birthtime in struct stat : not found
> Checking for member st_birthtimespec.tv_nsec in struct stat : not found
> Checking for member st_birthtimensec in struct stat : not found
> Checking whether posix_fadvise is available : not found
> Checking whether sysconf(_SC_NGROUPS_MAX) is available : ok
> Checking whether sysconf(_SC_NPROC_ONLN) is available : not found
> Checking whether sysconf(_SC_NPROCESSORS_ONLN) is available : ok
> Checking whether sysconf(_SC_PAGESIZE) is available : ok
> Checking whether to use the Darwin-specific initgroups system call : not found
> Checking whether struct utimbuf is available : ok
> Checking whether we have the struct sigevent : ok
> Checking for member sigev_value.sival_ptr in struct sigevent : ok
> Checking for member sigev_value.sigval_ptr in struct sigevent : not found
> Checking for the maximum value of the 'time_t' type : not found
> Checking whether the macro for makedev is available : not found
> Checking whether the realpath function allows a NULL argument : not found
> Checking for ftruncate extend : ok
> Checking for library sendfilev : not found
> Checking for sendfile : not found
> Checking for solaris sendfilev support : not found
> getcwd takes a NULL argument : not found
> Checking for library gen : yes
> Checking for getspnam : ok
> Checking for header sys/fs/vx_quota.h : no
> Checking for header linux/dqblk_xfs.h : no
> Checking for header sys/quota.h : no
> Checking for header ctdb.h : not found
> building without cluster support: ctdb.h is required for cluster support
> Checking whether we can compile with __attribute__((destructor)) : ok
> Checking whether seekdir returns void : ok
> Checking for library pthread : yes
> Checking for pthread_attr_init : ok
> Checking for header gpfs_gpl.h : no
> Checking for header sys/uuid.h : yes
> Checking linker accepts -Wl,-no-undefined : no
> Checking linker accepts ['-undefined', 'dynamic_lookup'] : no
> Checking linker accepts -Wl,--as-needed : no
> Checking for -lc not needed : ok
> Checking configure summary : ok
> 'configure' finished successfully (3m15.491s)
> -bash-3.00$ make
> WAF_MAKE=1 ./buildtools/bin/waf build
> Waf: Entering directory `/tmp/samba-4.0.0alpha21/bin'
> symlink: tevent.py -> python/tevent.py
> symlink: samba/__init__.py -> python/samba/__init__.py
> symlink: samba/common.py -> python/samba/common.py
> symlink: samba/dbchecker.py -> python/samba/dbchecker.py
> symlink: samba/drs_utils.py -> python/samba/drs_utils.py
> symlink: samba/getopt.py -> python/samba/getopt.py
> symlink: samba/hostconfig.py -> python/samba/hostconfig.py
> symlink: samba/idmap.py -> python/samba/idmap.py
> symlink: samba/join.py -> python/samba/join.py
> symlink: samba/kcc_utils.py -> python/samba/kcc_utils.py
> symlink: samba/ms_display_specifiers.py -> python/samba/ms_display_specifiers.py
> symlink: samba/ms_schema.py -> python/samba/ms_schema.py
> symlink: samba/ndr.py -> python/samba/ndr.py
> symlink: samba/netcmd/__init__.py -> python/samba/netcmd/__init__.py
> symlink: samba/netcmd/common.py -> python/samba/netcmd/common.py
> symlink: samba/netcmd/dbcheck.py -> python/samba/netcmd/dbcheck.py
> symlink: samba/netcmd/delegation.py -> python/samba/netcmd/delegation.py
> symlink: samba/netcmd/dns.py -> python/samba/netcmd/dns.py
> symlink: samba/netcmd/domain.py -> python/samba/netcmd/domain.py
> symlink: samba/netcmd/drs.py -> python/samba/netcmd/drs.py
> symlink: samba/netcmd/dsacl.py -> python/samba/netcmd/dsacl.py
> symlink: samba/netcmd/fsmo.py -> python/samba/netcmd/fsmo.py
> symlink: samba/netcmd/gpo.py -> python/samba/netcmd/gpo.py
> symlink: samba/netcmd/group.py -> python/samba/netcmd/group.py
> symlink: samba/netcmd/ldapcmp.py -> python/samba/netcmd/ldapcmp.py
> symlink: samba/netcmd/main.py -> python/samba/netcmd/main.py
> symlink: samba/netcmd/ntacl.py -> python/samba/netcmd/ntacl.py
> symlink: samba/netcmd/rodc.py -> python/samba/netcmd/rodc.py
> symlink: samba/netcmd/sites.py -> python/samba/netcmd/sites.py
> symlink: samba/netcmd/spn.py -> python/samba/netcmd/spn.py
> symlink: samba/netcmd/testparm.py -> python/samba/netcmd/testparm.py
> symlink: samba/netcmd/time.py -> python/samba/netcmd/time.py
> symlink: samba/netcmd/user.py -> python/samba/netcmd/user.py
> symlink: samba/netcmd/vampire.py -> python/samba/netcmd/vampire.py
> symlink: samba/ntacls.py -> python/samba/ntacls.py
> symlink: samba/provision/__init__.py -> python/samba/provision/__init__.py
> symlink: samba/provision/backend.py -> python/samba/provision/backend.py
> symlink: samba/provision/common.py -> python/samba/provision/common.py
> symlink: samba/provision/descriptor.py -> python/samba/provision/descriptor.py
> symlink: samba/provision/sambadns.py -> python/samba/provision/sambadns.py
> symlink: samba/samba3/__init__.py -> python/samba/samba3/__init__.py
> symlink: samba/samdb.py -> python/samba/samdb.py
> symlink: samba/schema.py -> python/samba/schema.py
> symlink: samba/sd_utils.py -> python/samba/sd_utils.py
> symlink: samba/sites.py -> python/samba/sites.py
> symlink: samba/tests/__init__.py -> python/samba/tests/__init__.py
> symlink: samba/tests/auth.py -> python/samba/tests/auth.py
> symlink: samba/tests/blackbox/__init__.py -> python/samba/tests/blackbox/__init__.py
> symlink: samba/tests/blackbox/ndrdump.py -> python/samba/tests/blackbox/ndrdump.py
> symlink: samba/tests/blackbox/samba_tool_drs.py -> python/samba/tests/blackbox/samba_tool_drs.py
> symlink: samba/tests/common.py -> python/samba/tests/common.py
> symlink: samba/tests/core.py -> python/samba/tests/core.py
> symlink: samba/tests/credentials.py -> python/samba/tests/credentials.py
> symlink: samba/tests/dcerpc/__init__.py -> python/samba/tests/dcerpc/__init__.py
> symlink: samba/tests/dcerpc/bare.py -> python/samba/tests/dcerpc/bare.py
> symlink: samba/tests/dcerpc/dnsserver.py -> python/samba/tests/dcerpc/dnsserver.py
> symlink: samba/tests/dcerpc/misc.py -> python/samba/tests/dcerpc/misc.py
> symlink: samba/tests/dcerpc/registry.py -> python/samba/tests/dcerpc/registry.py
> symlink: samba/tests/dcerpc/rpc_talloc.py -> python/samba/tests/dcerpc/rpc_talloc.py
> symlink: samba/tests/dcerpc/rpcecho.py -> python/samba/tests/dcerpc/rpcecho.py
> symlink: samba/tests/dcerpc/sam.py -> python/samba/tests/dcerpc/sam.py
> symlink: samba/tests/dcerpc/srvsvc.py -> python/samba/tests/dcerpc/srvsvc.py
> symlink: samba/tests/dcerpc/testrpc.py -> python/samba/tests/dcerpc/testrpc.py
> symlink: samba/tests/dcerpc/unix.py -> python/samba/tests/dcerpc/unix.py
> symlink: samba/tests/dns.py -> python/samba/tests/dns.py
> symlink: samba/tests/dsdb.py -> python/samba/tests/dsdb.py
> symlink: samba/tests/gensec.py -> python/samba/tests/gensec.py
> symlink: samba/tests/getopt.py -> python/samba/tests/getopt.py
> symlink: samba/tests/hostconfig.py -> python/samba/tests/hostconfig.py
> symlink: samba/tests/messaging.py -> python/samba/tests/messaging.py
> symlink: samba/tests/netcmd.py -> python/samba/tests/netcmd.py
> symlink: samba/tests/ntacls.py -> python/samba/tests/ntacls.py
> symlink: samba/tests/param.py -> python/samba/tests/param.py
> symlink: samba/tests/policy.py -> python/samba/tests/policy.py
> symlink: samba/tests/provision.py -> python/samba/tests/provision.py
> symlink: samba/tests/registry.py -> python/samba/tests/registry.py
> symlink: samba/tests/samba3.py -> python/samba/tests/samba3.py
> symlink: samba/tests/samba3sam.py -> python/samba/tests/samba3sam.py
> symlink: samba/tests/samba_tool/__init__.py -> python/samba/tests/samba_tool/__init__.py
> symlink: samba/tests/samba_tool/base.py -> python/samba/tests/samba_tool/base.py
> symlink: samba/tests/samba_tool/group.py -> python/samba/tests/samba_tool/group.py
> symlink: samba/tests/samba_tool/timecmd.py -> python/samba/tests/samba_tool/timecmd.py
> symlink: samba/tests/samba_tool/user.py -> python/samba/tests/samba_tool/user.py
> symlink: samba/tests/samdb.py -> python/samba/tests/samdb.py
> symlink: samba/tests/security.py -> python/samba/tests/security.py
> symlink: samba/tests/source.py -> python/samba/tests/source.py
> symlink: samba/tests/strings.py -> python/samba/tests/strings.py
> symlink: samba/tests/unicodenames.py -> python/samba/tests/unicodenames.py
> symlink: samba/tests/upgrade.py -> python/samba/tests/upgrade.py
> symlink: samba/tests/upgradeprovision.py -> python/samba/tests/upgradeprovision.py
> symlink: samba/tests/upgradeprovisionneeddc.py -> python/samba/tests/upgradeprovisionneeddc.py
> symlink: samba/tests/xattr.py -> python/samba/tests/xattr.py
> symlink: samba/upgrade.py -> python/samba/upgrade.py
> symlink: samba/upgradehelpers.py -> python/samba/upgradehelpers.py
> symlink: samba/web_server/__init__.py -> python/samba/web_server/__init__.py
> symlink: samba/xattr.py -> python/samba/xattr.py
> symlink: rpc/dcerpc.py -> python/samba/dcerpc/__init__.py
> Selected embedded Heimdal build
> symlink: provision -> ./provision
> symlink: samba-tool -> ./samba-tool
> symlink: samba_dnsupdate -> ./samba_dnsupdate
> symlink: samba_spnupdate -> ./samba_spnupdate
> symlink: samba_kcc -> ./samba_kcc
> symlink: upgradeprovision -> ./upgradeprovision
> symlink: samba_upgradedns -> ./samba_upgradedns
> Checking project rules ...
> Project rules pass
> [ 1/3612] Generating HEIMDAL_ERR_H
> [ 2/3612] Compiling lib/replace/strptime.c
> [ 3/3612] Compiling lib/replace/replace.c
> [ 4/3612] Compiling lib/replace/timegm.c
> [ 5/3612] Compiling lib/replace/getpass.c
> [ 6/3612] Compiling lib/replace/getifaddrs.c
> [ 7/3612] Compiling lib/replace/inet_aton.c
> [ 8/3612] Linking default/lib/replace/libreplace.so
> [ 9/3612] Generating VERSION
> [ 10/3612] Generating ldb_version.h
> [ 11/3612] Generating param_local_h
> [ 12/3612] Generating s3_param_h
> [ 13/3612] Generating param_global_h
> [ 14/3612] Generating PKGCONFIG_samba-hostconfig.pc
> [ 15/3612] Generating PKGCONFIG_dcerpc_samr.pc
> [ 16/3612] Generating PKGCONFIG_dcerpc_atsvc.pc
> [ 17/3612] Generating PKGCONFIG_dcerpc.pc
> [ 18/3612] Generating PKGCONFIG_samdb.pc
> [ 19/3612] Generating PKGCONFIG_gensec.pc
> [ 20/3612] Generating PKGCONFIG_samba-credentials.pc
> [ 21/3612] Generating PKGCONFIG_wbclient.pc
> [ 22/3612] Generating PKGCONFIG_registry.pc
> [ 23/3612] Generating PKGCONFIG_samba-util.pc
> [ 24/3612] Generating PKGCONFIG_torture.pc
> [ 25/3612] Generating PKGCONFIG_dcerpc_server.pc
> [ 26/3612] Generating PKGCONFIG_ndr_krb5pac.pc
> [ 27/3612] Generating PKGCONFIG_ndr_standard.pc
> [ 28/3612] Generating PKGCONFIG_ndr_nbt.pc
> [ 29/3612] Generating PKGCONFIG_ndr.pc
> [ 30/3612] Generating PKGCONFIG_smbclient-raw.pc
> [ 31/3612] Generating PKGCONFIG_samba-policy.pc
> [ 32/3612] Generating HEIMDAL_IFADDRS_H
> [ 33/3612] Generating HEIMDAL_ERRORLIST
> [ 34/3612] Generating HEIMDAL_NORMALIZE_TABLE
> [ 35/3612] Generating HEIMDAL_COMBINING_TABLE
> [ 36/3612] Generating HEIMDAL_BIDI_TABLE
> [ 37/3612] Generating HEIMDAL_MAP_TABLE
> fooresult B.1,rfc4518-map
> [ 38/3612] Generating python_provision
> [ 39/3612] Generating python_upgradeprovision
> [ 40/3612] Generating python_samba_dnsupdate
> [ 41/3612] Generating python_samba_spnupdate
> [ 42/3612] Generating python_samba_upgradedns
> [ 43/3612] Generating python_samba-tool
> [ 44/3612] Generating python_samba_kcc
> [ 45/3612] Generating external_init_py
> [ 46/3612] Generating smbd/build_options.c
> [ 47/3612] Generating build_env.h
> [ 48/3612] Generating param/param_global_h
> [ 49/3612] Generating PKGCONFIG_smbclient.pc
> [ 50/3612] Generating ../heimdal/lib/asn1/der-protos.h
> [ 51/3612] Generating ../heimdal/lib/asn1/der-private.h
> [ 52/3612] Compiling lib/replace/strptime.c
> [ 53/3612] Compiling lib/replace/replace.c
> [ 54/3612] Compiling lib/replace/timegm.c
> [ 55/3612] Compiling source4/heimdal/lib/roken/base64.c
> [ 56/3612] Compiling source4/heimdal/lib/roken/ct.c
> [ 57/3612] Compiling source4/heimdal/lib/roken/hex.c
> [ 58/3612] Compiling source4/heimdal/lib/roken/bswap.c
> [ 59/3612] Compiling source4/heimdal/lib/roken/dumpdata.c
> [ 60/3612] Compiling source4/heimdal/lib/roken/emalloc.c
> [ 61/3612] Compiling source4/heimdal/lib/roken/ecalloc.c
> [ 62/3612] Compiling source4/heimdal/lib/roken/getarg.c
> [ 63/3612] Compiling source4/heimdal/lib/roken/get_window_size.c
> [ 64/3612] Compiling source4/heimdal/lib/roken/getdtablesize.c
> [ 65/3612] Compiling source4/heimdal/lib/roken/h_errno.c
> [ 66/3612] Compiling source4/heimdal/lib/roken/issuid.c
> [ 67/3612] Compiling source4/heimdal/lib/roken/net_read.c
> [ 68/3612] Compiling source4/heimdal/lib/roken/net_write.c
> [ 69/3612] Compiling source4/heimdal/lib/roken/parse_time.c
> [ 70/3612] Compiling source4/heimdal/lib/roken/parse_units.c
> [ 71/3612] Compiling source4/heimdal/lib/roken/vis.c
> [ 72/3612] Compiling source4/heimdal/lib/roken/strlwr.c
> [ 73/3612] Compiling source4/heimdal/lib/roken/strsep_copy.c
> [ 74/3612] Compiling source4/heimdal/lib/roken/strsep.c
> [ 75/3612] Compiling source4/heimdal/lib/roken/strupr.c
> [ 76/3612] Compiling source4/heimdal/lib/roken/strpool.c
> [ 77/3612] Compiling source4/heimdal/lib/roken/estrdup.c
> [ 78/3612] Compiling source4/heimdal/lib/roken/erealloc.c
> [ 79/3612] Compiling source4/heimdal/lib/roken/simple_exec.c
> [ 80/3612] Compiling source4/heimdal/lib/roken/strcollect.c
> [ 81/3612] Compiling source4/heimdal/lib/roken/rtbl.c
> [ 82/3612] Compiling source4/heimdal/lib/roken/rand.c
> [ 83/3612] Compiling source4/heimdal/lib/roken/cloexec.c
> [ 84/3612] Compiling source4/heimdal/lib/roken/xfree.c
> [ 85/3612] Compiling source4/heimdal_build/replace.c
> [ 86/3612] Compiling source4/heimdal/lib/vers/print_version.c
> [ 87/3612] Compiling source4/heimdal_build/version.c
> [ 88/3612] Compiling source4/heimdal/lib/vers/print_version.c
> [ 89/3612] Compiling source4/heimdal_build/version.c
> [ 90/3612] Compiling source4/heimdal/lib/asn1/main.c
> [ 91/3612] Compiling source4/heimdal/lib/asn1/gen.c
> [ 92/3612] Compiling source4/heimdal/lib/asn1/gen_copy.c
> [ 93/3612] Compiling source4/heimdal/lib/asn1/gen_decode.c
> [ 94/3612] Compiling source4/heimdal/lib/asn1/gen_encode.c
> [ 95/3612] Compiling source4/heimdal/lib/asn1/gen_free.c
> [ 96/3612] Compiling source4/heimdal/lib/asn1/gen_glue.c
> [ 97/3612] Compiling source4/heimdal/lib/asn1/gen_length.c
> [ 98/3612] Compiling source4/heimdal/lib/asn1/gen_seq.c
> [ 99/3612] Compiling source4/heimdal/lib/asn1/gen_template.c
> [ 100/3612] Compiling source4/heimdal/lib/asn1/hash.c
> [ 101/3612] Compiling source4/heimdal/lib/asn1/symbol.c
> [ 102/3612] Compiling source4/heimdal/lib/asn1/asn1parse.c
> [ 103/3612] Compiling source4/heimdal/lib/asn1/lex.c
> [ 104/3612] Compiling source4/heimdal/lib/com_err/parse.c
> [ 105/3612] Compiling source4/heimdal/lib/com_err/lex.c
> [ 106/3612] Compiling source4/heimdal/lib/com_err/compile_et.c
> [ 107/3612] Linking default/source4/heimdal_build/asn1_compile
> Undefined first referenced
> symbol in file
> rep_vasprintf default/source4/heimdal/lib/roken/strpool_5.o
> rep_snprintf default/source4/heimdal/lib/roken/getarg_5.o
> rep_asprintf default/source4/heimdal/lib/asn1/gen_134.o
> ld: fatal: Symbol referencing errors. No output written to /tmp/samba-4.0.0alpha21/bin/default/source4/heimdal_build/asn1_compile
> collect2: ld returned 1 exit status
> Waf: Leaving directory `/tmp/samba-4.0.0alpha21/bin'
> Build failed: -> task failed (err #1):
> {task: cc_link base64_5.o,ct_5.o,hex_5.o,bswap_5.o,dumpdata_5.o,emalloc_5.o,ecalloc_5.o,getarg_5.o,get_window_size_5.o,getdtablesize_5.o,h_errno_5.o,issuid_5.o,net_read_5.o,net_write_5.o,parse_time_5.o,parse_units_5.o,vis_5.o,strlwr_5.o,strsep_copy_5.o,strsep_5.o,strupr_5.o,strpool_5.o,estrdup_5.o,erealloc_5.o,simple_exec_5.o,strcollect_5.o,rtbl_5.o,rand_5.o,cloexec_5.o,xfree_5.o,replace_5.o,print_version_132.o,version_132.o,main_134.o,gen_134.o,gen_copy_134.o,gen_decode_134.o,gen_encode_134.o,gen_free_134.o,gen_glue_134.o,gen_length_134.o,gen_seq_134.o,gen_template_134.o,hash_134.o,symbol_134.o,asn1parse_134.o,lex_134.o,strptime_1.o,replace_1.o,timegm_1.o -> asn1_compile}
> make: *** [all] Error 1
>
>
>
> ________________________________
> From: "Mihai-Radu, Orza" <orzamihai at yahoo.com>
> To: Jelmer Vernooij <jelmer at samba.org>
> Cc: "samba-technical at lists.samba.org" <samba-technical at lists.samba.org>
> Sent: Wednesday, May 16, 2012 4:06 PM
> Subject: Re: Samba compile failure on Sun5.10
>
> Hello,
>
> Below is the grep output. I'm not sure if this is of any interest, but while running configureI got the following warning: "Unknown host_os 'solaris-sparc64', please report this to samba-technical at samba.org".
>
> -bash-3.00$ grep "rep_" lib/replace/snprintf.c
> int rep_vsnprintf (char *str, size_t count, const char *fmt, va_list args)
> int rep_snprintf(char *str,size_t count,const char *fmt,...)
> int rep_printf(const char *fmt, ...)
> int rep_fprintf(FILE *stream, const char *fmt, ...)
> int rep_vasprintf(char **ptr, const char *format, va_list ap)
> int rep_asprintf(char **ptr, const char *format, ...)
>
> Regards,
> Mihai
>
>
> ________________________________
> From: Jelmer Vernooij <jelmer at samba.org>
> To: "Mihai-Radu, Orza" <orzamihai at yahoo.com>
> Cc: "samba-technical at lists.samba.org" <samba-technical at lists.samba.org>
> Sent: Wednesday, May 16, 2012 2:20 PM
> Subject: Re: Samba compile failure on Sun5.10
>
> Hi,
>
> On Tue, May 15, 2012 at 03:56:39AM -0700, Mihai-Radu, Orza wrote:
>> I pulled the latest version of samba4 from git, but I still get the same asn_compile1 error when running make.
>> How can I get the fix that you mentioned?
> Can you grep for "rep_" in lib/replace/snprintf.c to verify you have
> the fix in your copy of Samba?
>
> Cheers,
>
> Jelmer
>
>> Am 11/05/12 16:39, schrieb Mihai-Radu, Orza:
>>> I apologize if this was already posted or explained.
>>> I am trying to compile samba4 alpha19 on a Sun5.10 sparc machine. I ran the confgure script (./configure --prefix=/tmp/dist) and that worked fine. But when I ran make, I got the following error:
>>>
>>>
>>> [ 107/3850] Linking default/source4/heimdal_build/asn1_compile
>>> Undefined first referenced
>>> symbol in file
>>> rep_vasprintf default/source4/heimdal/lib/roken/strpool_5.o
>>> rep_snprintf default/source4/heimdal/lib/roken/getarg_5.o
>>> rep_asprintf default/source4/heimdal/lib/asn1/gen_134.o
>>> ld: fatal: Symbol referencing errors. No output written to /tmp/samba-4.0.0alpha19/bin/default/source4/heimdal_build/asn1_compile
>>> collect2: ld returned 1 exit status
>>> Waf: Leaving directory `/tmp/samba-4.0.0alpha19/bin'
>>> Build failed: -> task failed (err #1):
>>> {task: cc_link base64_5.o,ct_5.o,hex_5.o,bswap_5.o,dumpdata_5.o,emalloc_5.o,ecalloc_5.o,getarg_5.o,get_window_size_5.o,getdtablesize_5.o,h_errno_5.o,issuid_5.o,net_read_5.o,net_write_5.o,parse_time_5.o,parse_units_5.o,vis_5.o,strlwr_5.o,strsep_copy_5.o,strsep_5.o,strupr_5.o,strpool_5.o,estrdup_5.o,erealloc_5.o,simple_exec_5.o,strcollect_5.o,rtbl_5.o,rand_5.o,cloexec_5.o,xfree_5.o,replace_5.o,print_version_132.o,version_132.o,main_134.o,gen_134.o,gen_copy_134.o,gen_decode_134.o,gen_encode_134.o,gen_free_134.o,gen_glue_134.o,gen_length_134.o,gen_seq_134.o,gen_template_134.o,hash_134.o,symbol_134.o,asn1parse_134.o,lex_134.o,strptime_1.o,replace_1.o,timegm_1.o -> asn1_compile}
>>> make: *** [all] Error 1
>> I've pushed a fix for this to autobuild.
>>
>> Cheers,
>>
>> Jelmer
-------------- next part --------------
From 40ec5f8b317e860f08d84bee97ace270d5db78cb Mon Sep 17 00:00:00 2001
From: Stefan Metzmacher <metze at samba.org>
Date: Mon, 11 Jun 2012 08:56:09 +0200
Subject: [PATCH 1/3] Revert "lib/replace: Fix snprintf() override for systems with a broken snprintf()"
This reverts commit bbc1b0c9853322da10483f72c020fe0dd83b28fa.
A more generic fix will follow.
metze
---
lib/replace/wscript | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/replace/wscript b/lib/replace/wscript
index efde441..a5a4486 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -475,6 +475,7 @@ REPLACEMENT_FUNCTIONS = {
'dprintf', 'get_current_dir_name',
'strerror_r', 'clock_gettime'],
'timegm.c': ['timegm'],
+ 'snprintf.c': ['snprintf'],
}
@@ -483,7 +484,6 @@ def build(bld):
REPLACE_HOSTCC_SOURCE = ''
- if not bld.CONFIG_SET('HAVE_C99_VSNPRINTF'): REPLACE_HOSTCC_SOURCE += ' snprintf.c'
if bld.CONFIG_SET('REPLACE_STRPTIME'): REPLACE_HOSTCC_SOURCE += ' strptime.c'
for filename, functions in REPLACEMENT_FUNCTIONS.iteritems():
for function in functions:
--
1.7.4.1
From e5af94c558fd993c5f423d2d5ba3a374cea55662 Mon Sep 17 00:00:00 2001
From: Stefan Metzmacher <metze at samba.org>
Date: Mon, 11 Jun 2012 09:07:06 +0200
Subject: [PATCH 2/3] lib/replace: add more condition to add snprintf.c
metze
---
lib/replace/wscript | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/lib/replace/wscript b/lib/replace/wscript
index a5a4486..de3d9d2 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -475,7 +475,9 @@ REPLACEMENT_FUNCTIONS = {
'dprintf', 'get_current_dir_name',
'strerror_r', 'clock_gettime'],
'timegm.c': ['timegm'],
- 'snprintf.c': ['snprintf'],
+ # Note: C99_VSNPRINTF is not a function, but a special condition
+ # for replacement
+ 'snprintf.c': ['C99_VSNPRINTF', 'snprintf', 'vsnprintf', 'asprintf', 'vasprintf'],
}
--
1.7.4.1
From ffd35b047fa94e4d3518912d39b0dab3939a0033 Mon Sep 17 00:00:00 2001
From: Stefan Metzmacher <metze at samba.org>
Date: Mon, 11 Jun 2012 09:11:17 +0200
Subject: [PATCH 3/3] lib/replace: define HAVE_WORKING_STRPTIME instead of REPLACE_STRPTIME
That makes the logic in 'wscript' simpler.
metze
---
lib/replace/replace.h | 2 +-
lib/replace/strptime.m4 | 3 ++-
lib/replace/wscript | 14 +++++++-------
3 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/lib/replace/replace.h b/lib/replace/replace.h
index 776da8a..bb271d4 100644
--- a/lib/replace/replace.h
+++ b/lib/replace/replace.h
@@ -451,7 +451,7 @@ void rep_vsyslog (int facility_priority, const char *format, va_list arglist) PR
typedef int (*comparison_fn_t)(const void *, const void *);
#endif
-#ifdef REPLACE_STRPTIME
+#ifndef HAVE_WORKING_STRPTIME
#define strptime rep_strptime
struct tm;
char *rep_strptime(const char *buf, const char *format, struct tm *tm);
diff --git a/lib/replace/strptime.m4 b/lib/replace/strptime.m4
index b1a56b4..4c40ec4 100644
--- a/lib/replace/strptime.m4
+++ b/lib/replace/strptime.m4
@@ -8,6 +8,7 @@ AC_CACHE_CHECK([whether strptime is available and works],libreplace_cv_STRPTIME_
[libreplace_cv_STRPTIME_OK="assuming not"])
])
if test x"$libreplace_cv_STRPTIME_OK" != x"yes"; then
- AC_DEFINE(REPLACE_STRPTIME,1,[Whether strptime should be replaced])
LIBREPLACEOBJ="${LIBREPLACEOBJ} $libreplacedir/strptime.o"
+else
+ AC_DEFINE(HAVE_WORKING_STRPTIME,1,[Whether strptime is working correct])
fi
diff --git a/lib/replace/wscript b/lib/replace/wscript
index de3d9d2..e4a08f2 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -311,13 +311,11 @@ removeea setea
conf.CHECK_HEADERS('poll.h')
conf.CHECK_FUNCS('poll')
- if not conf.CHECK_CODE('''#define LIBREPLACE_CONFIGURE_TEST_STRPTIME
+ if conf.CHECK_CODE('''#define LIBREPLACE_CONFIGURE_TEST_STRPTIME
#include "test/strptime.c"''',
define='HAVE_STRPTIME',
addmain=False,
msg='Checking for working strptime'):
- conf.DEFINE('REPLACE_STRPTIME', 1)
- else:
conf.CHECK_CODE('''
const char *s = "20070414101546Z";
char *ret;
@@ -325,16 +323,16 @@ removeea setea
memset(&t, 0, sizeof(t));
ret = strptime(s, "%Y%m%d%H%M%S", &t);
if (ret == NULL || t.tm_wday != 6) {
- return 0;
- } else {
return 1;
+ } else {
+ return 0;
}
''',
msg="Checking correct behavior of strptime",
headers = 'time.h',
execute = True,
define_ret = True,
- define = 'REPLACE_STRPTIME',
+ define = 'HAVE_WORKING_STRPTIME',
)
conf.CHECK_CODE('gettimeofday(NULL, NULL)', 'HAVE_GETTIMEOFDAY_TZ', execute=False)
@@ -478,6 +476,9 @@ REPLACEMENT_FUNCTIONS = {
# Note: C99_VSNPRINTF is not a function, but a special condition
# for replacement
'snprintf.c': ['C99_VSNPRINTF', 'snprintf', 'vsnprintf', 'asprintf', 'vasprintf'],
+ # Note: WORKING_STRPTIME is not a function, but a special condition
+ # for replacement
+ 'strptime.c': ['WORKING_STRPTIME', 'strptime'],
}
@@ -486,7 +487,6 @@ def build(bld):
REPLACE_HOSTCC_SOURCE = ''
- if bld.CONFIG_SET('REPLACE_STRPTIME'): REPLACE_HOSTCC_SOURCE += ' strptime.c'
for filename, functions in REPLACEMENT_FUNCTIONS.iteritems():
for function in functions:
if not bld.CONFIG_SET('HAVE_%s' % function.upper()):
--
1.7.4.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20120611/e216205f/attachment-0001.pgp>
More information about the samba-technical
mailing list