[Samba] Samba 4.6.6 Solaris 11 SPARC Compilation - libpytalloc-util - ld fatal relocations

Daniela Torres Faría danielatorres at danielatorres.me
Fri Jul 21 19:31:26 UTC 2017


Hey guys, 

I'm trying to compile SAMBA 4.6.6 on a Solaris 11 sparc system. 

System information:

SunOS 5.11 11.3 sun4v sparc sun4v

                            Oracle Solaris 11.3 SPARC
  Copyright (c) 1983, 2016, Oracle and/or its affiliates.  All rights reserved.
                            Assembled 03 August 2016

Configure Directive:

./configure --prefix=/opt/samba-4.6.6 --without-ad-dc --with-static-modules=yes

Configure log:

root at nfs42-opc:/opt/compile_samba/samba-4.6.6# ./configure --prefix=/opt/samba-4.6.6 --without-ad-dc --with-static-modules=yes
Checking for program gcc or cc           : /usr/bin/gcc
Checking for program cpp                 : not found
Checking for program ar                  : /usr/bin/ar
Checking for program ranlib              : /usr/bin/ranlib
Checking for gcc                         : ok
Checking for program git                 : not found
Check for -MD                            : yes
Checking for program gdb                 : not found
Checking build system                    : SunOS nfs42-opc 5.11 11.3 sun4v sparc sun4v
Checking for header sys/utsname.h        : yes
Checking uname sysname type              : SunOS
Checking uname machine type              : sun4v
Checking uname release type              : 5.11
Checking uname version type              : 11.3
Checking for header stdio.h              : yes
Checking simple C program                : ok
Checking compiler accepts ['-Werror']    : yes
Checking linker accepts ['-Wl,-rpath,.'] : yes
Checking for rpath library support       : ok
Checking for -Wl,--version-script support  : not found
Checking compiler accepts ['-fvisibility=hidden', '-Werror'] : yes
Checking for HAVE_VISIBILITY_ATTR                            : ok
Checking for library constructor support                     : ok
Checking for library destructor support                      : ok
Checking for __attribute__                                   : ok
Checking compiler accepts -fPIC                              : yes
Checking for inline                                          : inline
Checking for program pkg-config                              : /usr/bin/pkg-config
Checking for pkg-config version >= 0.0.0                     : yes
Checking compiler accepts ['']                               : 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 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 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 attr/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 port.h                                   : yes
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/ucontext.h                           : yes
Checking for header sys/wait.h                               : yes
Checking for declaration of malloc                           : ok
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                                : yes
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 errno.h                                  : yes
Checking for header getopt.h                                 : yes
Checking for header iconv.h                                  : yes
Checking for header nss.h                                    : no
Checking for header sasl/sasl.h                              : yes
Checking for inotify_init                                    : not found
Checking for library inotify                                 : not found
Checking for inotify_init                                    : not found
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/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                         : no
Checking for HAVE_RPCSVC_YP_PROT_H                           : ok
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 header sys/atomic.h                             : yes
Checking for header libgen.h                                 : yes
Checking for header sys/prctl.h                              : no
Checking for prctl syscall                                   : not found
Checking for O_DIRECT flag to open(2)                        : not found
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 if size of bool == 1                                : ok
Checking if size of char == 1                                : ok
Checking if size of int == 1                                 : not found
Checking if size of int == 2                                 : not found
Checking if size of int == 4                                 : ok
Checking if size of long long == 1                           : not found
Checking if size of long long == 2                           : not found
Checking if size of long long == 4                           : not found
Checking if size of long long == 8                           : ok
Checking if size of long == 1                                : not found
Checking if size of long == 2                                : not found
Checking if size of long == 4                                : ok
Checking if size of short == 1                               : not found
Checking if size of short == 2                               : ok
Checking if size of size_t == 1                              : not found
Checking if size of size_t == 2                              : not found
Checking if size of size_t == 4                              : ok
Checking if size of ssize_t == 1                             : not found
Checking if size of ssize_t == 2                             : not found
Checking if size of ssize_t == 4                             : ok
Checking if size of int8_t == 1                              : ok
Checking if size of uint8_t == 1                             : ok
Checking if size of int16_t == 1                             : not found
Checking if size of int16_t == 2                             : ok
Checking if size of uint16_t == 1                            : not found
Checking if size of uint16_t == 2                            : ok
Checking if size of int32_t == 1                             : not found
Checking if size of int32_t == 2                             : not found
Checking if size of int32_t == 4                             : ok
Checking if size of uint32_t == 1                            : not found
Checking if size of uint32_t == 2                            : not found
Checking if size of uint32_t == 4                            : ok
Checking if size of int64_t == 1                             : not found
Checking if size of int64_t == 2                             : not found
Checking if size of int64_t == 4                             : not found
Checking if size of int64_t == 8                             : ok
Checking if size of uint64_t == 1                            : not found
Checking if size of uint64_t == 2                            : not found
Checking if size of uint64_t == 4                            : not found
Checking if size of uint64_t == 8                            : ok
Checking if size of void* == 1                               : not found
Checking if size of void* == 2                               : not found
Checking if size of void* == 4                               : ok
Checking if size of off_t == 1                               : not found
Checking if size of off_t == 2                               : not found
Checking if size of off_t == 4                               : not found
Checking if size of off_t == 8                               : ok
Checking if size of dev_t == 1                               : not found
Checking if size of dev_t == 2                               : not found
Checking if size of dev_t == 4                               : ok
Checking if size of ino_t == 1                               : not found
Checking if size of ino_t == 2                               : not found
Checking if size of ino_t == 4                               : not found
Checking if size of ino_t == 8                               : ok
Checking if size of time_t == 1                              : not found
Checking if size of time_t == 2                              : not found
Checking if size of time_t == 4                              : ok
Checking for socklen_t                                       : ok
Checking for struct ifaddrs                                  : ok
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 sigsetmask                                      : not found
Checking for siggetmask                                      : not found
Checking for sigprocmask                                     : ok
Checking for sigblock                                        : not found
Checking for sigaction                                       : ok
Checking for sigset                                          : 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                                       : ok
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 header net/if.h                                 : yes
Checking for HAVE_IPV6                                       : ok
Checking whether we have ucontext_t                          : ok
Checking for __sync_fetch_and_add compiler builtin           : ok
Checking for atomic_add_32 compiler builtin                  : ok
Checking for strdup                                          : ok
Checking for memmem                                          : ok
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 setuid                                          : ok
Checking for seteuid                                         : ok
Checking for setreuid                                        : ok
Checking for setresuid                                       : not found
Checking for setgid                                          : ok
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                                         : ok
Checking for strcasestr                                      : ok
Checking for strsep                                          : ok
Checking for strtok_r                                        : ok
Checking for mkdtemp                                         : ok
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                                        : ok
Checking for vasprintf                                       : ok
Checking for setenv                                          : ok
Checking for unsetenv                                        : ok
Checking for strnlen                                         : ok
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                                  : ok
Checking for header malloc.h                                 : yes
Checking for declaration of memalign                         : ok
Checking for prctl                                           : not found
Checking for dirname                                         : ok
Checking for basename                                        : ok
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 for library setproctitle                            : not found
Checking for setproctitle                                    : not found
Checking for library bsd                                     : not found
Checking for setproctitle                                    : not found
Checking for closefrom                                       : ok
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 syscall                                              : ok
Checking for setsid                                               : ok
Checking for getgrent_r                                           : ok
Checking for getgrgid_r                                           : ok
Checking for getgrnam_r                                           : ok
Checking for getgrouplist                                         : ok
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 port_create                                          : ok
Checking for fgetxattr                                            : not found
Checking for flistea                                              : not found
Checking for flistxattr                                           : not found
Checking for fremovexattr                                         : not found
Checking for fsetxattr                                            : not found
Checking for getxattr                                             : not found
Checking for listxattr                                            : not found
Checking for removexattr                                          : not found
Checking for setxattr                                             : not found
Checking for library attr                                         : not found
Checking for fgetxattr                                            : not found
Checking for flistea                                              : not found
Checking for flistxattr                                           : not found
Checking for fremovexattr                                         : not found
Checking for fsetxattr                                            : not found
Checking for getxattr                                             : not found
Checking for listxattr                                            : not found
Checking for removexattr                                          : not found
Checking for setxattr                                             : not found
Checking for attr_get                                             : not found
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 extattr_delete_fd                                    : not found
Checking for extattr_delete_file                                  : 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 fgetea                                               : not found
Checking for fremoveea                                            : not found
Checking for fsetea                                               : not found
Checking for getea                                                : not found
Checking for listea                                               : not found
Checking for removeea                                             : not found
Checking for setea                                                : not found
Checking for library attr                                         : not found
Checking for attr_get                                             : not found
Checking for attr_getf                                            : not found
Checking for attr_list                                            : not found
Checking for attr_listf                                           : not found
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 extattr_delete_fd                                    : not found
Checking for extattr_delete_file                                  : 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 fgetea                                               : not found
Checking for fremoveea                                            : not found
Checking for fsetea                                               : not found
Checking for getea                                                : not found
Checking for listea                                               : not found
Checking for removeea                                             : not found
Checking for setea                                                : not found
Checking whether xattr interface takes additional options         : 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                                            : ok
Checking for declaration of fdatasync                             : ok
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 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 header libintl.h                                                     : yes
Checking for library intl                                                         : yes
Checking for declaration of dgettext                                              : ok
Checking for declaration of gettext                                               : ok
Checking for declaration of bindtextdomain                                        : ok
Checking for declaration of textdomain                                            : ok
Checking for declaration of bind_textdomain_codeset                               : ok
Checking for bindtextdomain                                                       : ok
Checking for textdomain                                                           : ok
Checking for bind_textdomain_codeset                                              : ok
Checking for dgettext                                                             : ok
Checking for gettext                                                              : ok
Checking for pthread_create                                                       : ok
Checking for library pthread                                                      : yes
Checking for pthread_attr_init                                                    : ok
Checking for pthread_mutexattr_setrobust                                          : ok
Checking for declaration of PTHREAD_MUTEX_ROBUST                                  : ok
Checking for pthread_mutex_consistent                                             : 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                                              : ok
Checking for declaration of vasprintf                                             : ok
Checking for declaration of errno                                                 : ok
Checking for declaration of EWOULDBLOCK                                           : ok
Checking for declaration of environ                                               : not found
Checking for declaration of environ (as enum)                                     : 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 setresgid (as enum)                                   : not found
Checking for declaration of setresuid                                             : not found
Checking for declaration of setresuid (as enum)                                   : not found
Checking for eventfd                                                              : not found
Checking for header poll.h                                                        : yes
Checking for poll                                                                 : ok
Checking for strptime                                                             : ok
Checking for declaration of strptime                                              : ok
Checking for working strptime                                                     : not found
Checking for declaration of gettimeofday                                          : ok
Checking C prototype for gettimeofday                                             : not found
Checking C prototype for gettimeofday                                             : ok
Checking for C99 vsnprintf                                                        : ok
Checking for HAVE_SHARED_MMAP                                                     : ok
Checking for HAVE_MREMAP                                                          : 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 for HAVE_IFACE_GETIFADDRS                                                : not found
Checking for HAVE_IFACE_AIX                                                       : not found
Checking for HAVE_IFACE_IFCONF                                                    : 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                                                         : ok
Checking for HAVE_FUSE_FUSE_LOWLEVEL_H                                            : not found
Checking for program perl                                                         : /usr/bin/perl
Checking for program perl                                                         : /usr/bin/perl
Checking for program perl                                                         : /usr/bin/perl
Checking for perl 5.0.0                                                           : ok 5.12.5
Checking for perl $Config{vendorprefix}:                                          : '/usr/perl5/5.12'
PERL_ARCH_INSTALL_DIR:                                                            : '${LIBDIR}/perl5'
PERL_LIB_INSTALL_DIR:                                                             : '${DATADIR}/perl5'
PERL_INC:                                                                         : ['/usr/perl5/site_perl/5.12/sun4-solaris-64int', '/usr/perl5/site_perl/5.12', '/usr/perl5/vendor_perl/5.12/sun4-solaris-64int', '/usr/perl5/vendor_perl/5.12', '/usr/perl5/5.12/lib/sun4-solaris-64int', '/usr/perl5/5.12/lib']
Checking for program xsltproc                                                     : /usr/bin/xsltproc
Checking for program python                                                       : /usr/bin/python
Checking for program python                                                       : /usr/bin/python
Checking for program python                                                       : /usr/bin/python
Checking for Python version >= 2.6.0                                              : ok 2.7.9
Checking for library python2.7                                                    : yes
Checking for program python2.7-config                                             : /usr/bin/python2.7-config
Checking for custom code                                                          : yes
Dynconfig[STATEDIR]:                                                              : '/opt/samba-4.6.6/var/locks'
Dynconfig[SCRIPTSBINDIR]:                                                         : '/opt/samba-4.6.6/sbin'
Dynconfig[PAMMODULESDIR]:                                                         : '/opt/samba-4.6.6/lib/security'
Dynconfig[WINBINDD_SOCKET_DIR]:                                                   : '/opt/samba-4.6.6/var/run/winbindd'
Dynconfig[PRIVATE_DIR]:                                                           : '/opt/samba-4.6.6/private'
Dynconfig[SETUPDIR]:                                                              : '/opt/samba-4.6.6/share/setup'
Dynconfig[PIDDIR]:                                                                : '/opt/samba-4.6.6/var/run'
Dynconfig[PKGCONFIGDIR]:                                                          : '/opt/samba-4.6.6/lib/pkgconfig'
Dynconfig[DATADIR]:                                                               : '/opt/samba-4.6.6/share'
Dynconfig[CACHEDIR]:                                                              : '/opt/samba-4.6.6/var/cache'
Dynconfig[SBINDIR]:                                                               : '/opt/samba-4.6.6/sbin'
Dynconfig[NCALRPCDIR]:                                                            : '/opt/samba-4.6.6/var/run/ncalrpc'
Dynconfig[LMHOSTSFILE]:                                                           : '/opt/samba-4.6.6/etc/lmhosts'
Dynconfig[LOCKDIR]:                                                               : '/opt/samba-4.6.6/var/lock'
Dynconfig[PYTHONARCHDIR]:                                                         : '/opt/samba-4.6.6/lib/python2.7/site-packages'
Dynconfig[PERL_LIB_INSTALL_DIR]:                                                  : '/opt/samba-4.6.6/share/perl5'
Dynconfig[LOGFILEBASE]:                                                           : '/opt/samba-4.6.6/var'
Dynconfig[PYTHONDIR]:                                                             : '/opt/samba-4.6.6/lib/python2.7/site-packages'
Dynconfig[PERL_ARCH_INSTALL_DIR]:                                                 : '/opt/samba-4.6.6/lib/perl5'
Dynconfig[NTP_SIGND_SOCKET_DIR]:                                                  : '/opt/samba-4.6.6/var/lib/ntp_signd'
Dynconfig[CONFIGFILE]:                                                            : '/opt/samba-4.6.6/etc/smb.conf'
Dynconfig[SOCKET_DIR]:                                                            : '/opt/samba-4.6.6/var/run'
Dynconfig[MODULESDIR]:                                                            : '/opt/samba-4.6.6/lib'
Dynconfig[WINBINDD_PRIVILEGED_SOCKET_DIR]:                                        : '/opt/samba-4.6.6/var/lib/winbindd_privileged'
Dynconfig[LIBDIR]:                                                                : '/opt/samba-4.6.6/lib'
Dynconfig[LOCALEDIR]:                                                             : '/opt/samba-4.6.6/share/locale'
Dynconfig[NMBDSOCKETDIR]:                                                         : '/opt/samba-4.6.6/var/run/nmbd'
Dynconfig[INCLUDEDIR]:                                                            : '/opt/samba-4.6.6/include'
Dynconfig[CODEPAGEDIR]:                                                           : '/opt/samba-4.6.6/share/codepages'
Dynconfig[PRIVATELIBDIR]:                                                         : '/opt/samba-4.6.6/lib/private'
Dynconfig[PRIVILEGED_SOCKET_DIR]:                                                 : '/opt/samba-4.6.6/var/lib'
Dynconfig[LIBEXECDIR]:                                                            : '/opt/samba-4.6.6/libexec'
Dynconfig[SMB_PASSWD_FILE]:                                                       : '/opt/samba-4.6.6/private/smbpasswd'
Dynconfig[BINDIR]:                                                                : '/opt/samba-4.6.6/bin'
Dynconfig[CONFIGDIR]:                                                             : '/opt/samba-4.6.6/etc'
Checking for third party Python module dns.resolver                               : bundled
Checking for third party Python module iso8601                                    : bundled
Checking for system popt                                                          : not found
Checking for header popt.h                                                        : no
Checking for system z >= 1.2.3                                                    : yes
Checking for library z                                                            : yes
Checking for zlibVersion                                                          : ok
Checking for system z >= 1.2.3                                                    : ok
Checking for system tdb >= 1.3.12                                                 : not found
Checking for stylesheet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl <http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl> : not found
A local copy of the docbook.xsl wasn't found on your system consider installing package like docbook-xsl
Checking for Python version >= 2.4.2                                                            : ok 2.7.9
Checking for Python version >= 2.4.2                                                            : ok 2.7.9
Checking for python headers                                                                     : using cache
Checking linker accepts -Wl,-no-undefined                                                       : no
Checking linker accepts ['-undefined', 'dynamic_lookup']                                        : no
Checking for system talloc >= 2.1.9                                                             : not found
Checking for system pytalloc-util >= 2.1.9                                                      : not found
Checking for stylesheet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl <http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl> : not found
A local copy of the docbook.xsl wasn't found on your system consider installing package like docbook-xsl
Checking for Python version >= 2.4.2                                                            : ok 2.7.9
Checking for python headers                                                                     : using cache
Checking for header sys/auxv.h                                                                  : yes
Checking for getauxval                                                                          : not found
Checking linker accepts -Wl,-no-undefined                                                       : no
Checking linker accepts ['-undefined', 'dynamic_lookup']                                        : no
Checking for epoll_create                                                                       : not found
Checking value of NSIG                                                                          : 73
Checking value of _NSIG                                                                         : not found
Checking value of SIGRTMAX                                                                      : 72
Checking value of SIGRTMIN                                                                      : 41
Checking for program python                                                                     : /usr/bin/python
Checking for Python version >= 2.4.2                                                            : ok 2.7.9
Checking for python headers                                                                     : using cache
Checking linker accepts -Wl,-no-undefined                                                       : no
Checking linker accepts ['-undefined', 'dynamic_lookup']                                        : no
Checking for program python                                                                     : /usr/bin/python
Checking for program xsltproc                                                                   : /usr/bin/xsltproc
Checking for Python version >= 2.4.2                                                            : ok 2.7.9
Checking for python headers                                                                     : using cache
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                                                                       : yes
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                                                                    : no
Checking for header term.h                                                                      : no
Checking for header termcap.h                                                                   : no
Checking for atexit                                                                             : ok
Checking for cgetent                                                                            : not found
Checking for getprogname                                                                        : ok
Checking for setprogname                                                                        : ok
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                                                                             : ok
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                                                                                : ok
Checking for warn                                                                               : ok
Checking for errx                                                                               : ok
Checking for warnx                                                                              : ok
Checking for flock                                                                              : not found
Checking for writev                                                                             : ok
Checking for strerror_r                                                                         : ok
Checking for XSI (rather than GNU) prototype for strerror_r                                     : 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                                                                       : ok
Checking for dns_search                                                                         : not found
Checking for dn_expand                                                                          : ok
Checking for variable _res                                                                      : ok
Checking for declaration of _res                                                                : ok
Checking for dirfd                                                                              : ok
Checking for declaration of dirfd                                                               : ok
Checking for member dd_fd in DIR                                                                : not found
Using in-tree heimdal kerberos defines
Checking for program krb5-config.heimdal                                                        : not found
Checking for program krb5-config                                                                : /usr/bin/krb5-config
Checking for gnutls >= 3.4.7                                                                    : not found
Checking for gnutls >= 3.0.0s                                                                   : not found
Checking for gnutls >= 1.4.0 and broken versions                                                : yes
Checking for library gnutls                                                                     : yes
Checking for gnutls_global_init                                                                 : ok
Checking for gnutls_certificate_verify_peers3                                                   : not found
Checking for header gnutls/x509.h                                                               : yes
Checking for declaration of GNUTLS_CERT_EXPIRED                                                 : not found
Checking for declaration of GNUTLS_CERT_EXPIRED (as enum)                                       : ok
Checking for declaration of GNUTLS_CERT_NOT_ACTIVATED                                           : not found
Checking for declaration of GNUTLS_CERT_NOT_ACTIVATED (as enum)                                 : ok
Checking for declaration of GNUTLS_CERT_UNEXPECTED_OWNER                                        : not found
Checking for declaration of GNUTLS_CERT_UNEXPECTED_OWNER (as enum)                              : not found
Checking for variable gnutls_x509_crt_set_version                                               : ok
Checking for variable gnutls_x509_crt_set_subject_key_id                                        : ok
Checking for gnutls_datum                                                                       : ok
Checking for gnutls_datum_t                                                                     : ok
Checking for library gcrypt                                                                     : yes
Checking for gcry_control                                                                       : ok
Checking for library gpg-error                                                                  : yes
Checking for gpg_err_code_from_errno                                                            : ok
Checking for program gpgme-config                                                               : not found
Checking for library gpgme                                                                      : not found
Checking for gpgme_new                                                                          : not found
no suitable GPGME library found
Checking for header linux/fcntl.h                                                               : no
Checking for declaration of F_SETLEASE                                                          : not found
Checking for declaration of F_SETLEASE (as enum)                                                : not found
Checking for declaration of SA_SIGINFO                                                          : ok
Checking for backtrace                                                                          : ok
Checking for backtrace_symbols                                                                  : ok
Checking for member f_frsize in struct statvfs                                                  : ok
Checking for statvfs (SVR4)                                                                     : ok
Checking for *bsd style statfs with statfs.f_iosize                                             : not found
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 libsystemd-daemon                                                                  : not found
Checking for libsystemd-journal                                                                 : not found
Checking for libsystemd                                                                         : not found
Checking for library systemd                                                                    : no
Checking for lttng-ust                                                                          : not found
Checking for header lttng/tracef.h                                                              : no
Checking for library lttng-ust                                                                  : no
Checking for header gpfs.h                                                                      : no
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 header security/pam_modules.h                                                      : yes
Checking for header pam/pam_modules.h                                                           : no
Checking for header nss_dbdefs.h                                                                : yes
Checking for member ipnode.af_family in union nss_XbyY_key                                      : ok
Checking for member pw_comment in struct passwd                                                 : ok
Checking for member pw_age in struct passwd                                                     : ok
Checking for library ncurses                                                                    : yes
Checking for tgetent                                                                            : ok
Checking for rl_completion_t                                                                    : not found
Checking for CPPFunction                                                                        : ok
Checking for library readline                                                                   : not found
Checking for rl_completion_matches                                                              : not found
Checking for library readline                                                                   : not found
Checking for history_list                                                                       : not found
Checking for MD5Init                                                                            : not found
Checking for library bsd                                                                        : not found
Checking for MD5Init                                                                            : not found
Checking for MD5Init                                                                            : not found
Checking for library md5                                                                        : yes
Checking for MD5Init                                                                            : ok
Checking for CC_MD5_Init                                                                        : not found
Checking for CC_MD5_Init                                                                        : not found
Checking for SHA1_Update                                                                        : not found
Checking for SHA256_Update                                                                      : not found
Checking for SHA512_Update                                                                      : not found
Checking for perl module Parse::Yapp::Driver 1.05                                               : not found
perl manpage generation                                                                         : ok
perl man1 extension                                                                             : 1
perl man3 extension                                                                             : 3
Checking for program yapp                                                                       : not found
Checking for program pod2man                                                                    : not found
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 header linux/ioctl.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 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 syscall                                                                            : ok
Checking for sysconf                                                                            : ok
Checking for atexit                                                                             : ok
Checking for grantpt                                                                            : ok
Checking for posix_openpt                                                                       : ok
Checking for fallocate                                                                          : not found
Checking for posix_fallocate                                                                    : ok
Checking for fseeko                                                                             : ok
Checking for setluid                                                                            : not found
Checking for getpwnam                                                                           : ok
Checking for fdopendir                                                                          : ok
Checking for fstatat                                                                            : ok
Checking for getpwent_r                                                                         : ok
Checking for setenv                                                                             : ok
Checking for clearenv                                                                           : 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 library rt                                                                         : yes
Checking for nanosleep                                                                          : ok
Checking for lutimes                                                                            : not found
Checking for futimes                                                                            : not found
Checking for utimensat                                                                          : ok
Checking for futimens                                                                           : ok
Checking for mlock                                                                              : ok
Checking for munlock                                                                            : ok
Checking for mlockall                                                                           : ok
Checking for munlockall                                                                         : ok
Checking for memalign                                                                           : ok
Checking for posix_memalign                                                                     : ok
Checking for hstrerror                                                                          : ok
Checking for shmget                                                                             : ok
Checking for shm_open                                                                           : 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 declaration of readahead (as enum)                                                 : 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 kernel share modes                                                                 : not found
Checking for header fam.h                                                                       : yes
Checking for library fam                                                                        : yes
Checking for FAMOpen2                                                                           : ok
Checking whether enum FAMCodes is available                                                     : ok
Checking for FAMNoExists                                                                        : ok
Checking for libarchive existence
Checking for header archive.h                                                                   : yes
Checking for library archive                                                                    : yes
Checking for archive_read_support_filter_all                                                    : ok
Checking for archive_read_free                                                                  : ok
Checking for DMAPI library existence
Checking for library dm                                                                         : not found
Checking for dm_get_eventlist                                                                   : not found
Checking for library jfsdm                                                                      : not found
Checking for dm_get_eventlist                                                                   : not found
Checking for library dmapi                                                                      : not found
Checking for dm_get_eventlist                                                                   : not found
Checking for library xdsm                                                                       : not found
Checking for dm_get_eventlist                                                                   : not found
Building without DMAPI support: no suitable DMAPI library 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 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                                                                               : not found
Checking for __acl                                                                              : not found
Checking for atexit                                                                             : 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 devnm                                                                              : not found
Checking for dirfd                                                                              : ok
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 _facl                                                                              : not found
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 _fork                                                                              : ok
Checking for __fork                                                                             : not found
Checking for fseeko                                                                             : ok
Checking for fsetxattr                                                                          : not found
Checking for _fstat                                                                             : ok
Checking for __fstat                                                                            : not found
Checking for fsync                                                                              : ok
Checking for futimens                                                                           : ok
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                                                                       : ok
Checking for getgrset                                                                           : not found
Checking for getmntent                                                                          : ok
Checking for getpagesize                                                                        : ok
Checking for getpwanam                                                                          : not found
Checking for getpwent_r                                                                         : ok
Checking for getrlimit                                                                          : ok
Checking for glob                                                                               : ok
Checking for grantpt                                                                            : ok
Checking for hstrerror                                                                          : ok
Checking for initgroups                                                                         : ok
Checking for innetgr                                                                            : ok
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                                                                    : ok
Checking for posix_memalign                                                                     : ok
Checking for pread                                                                              : ok
Checking for _pread                                                                             : not found
Checking for __pread                                                                            : not found
Checking for pwrite                                                                             : ok
Checking for _pwrite                                                                            : not found
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 _seekdir                                                                           : ok
Checking for __seekdir                                                                          : not found
Checking for select                                                                             : ok
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 setsid                                                                             : ok
Checking for setuidx                                                                            : not found
Checking for shmget                                                                             : ok
Checking for shm_open                                                                           : ok
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 timegm                                                                             : not found
Checking for utimensat                                                                          : ok
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 sunos5
Checking for library acl                                                                        : not found
Checking for acl_get_file                                                                       : not found
Checking for POSIX ACL support                                                                  : not found
Checking for library sec                                                                        : yes
Checking for facl                                                                               : ok
Using solaris or UnixWare ACLs
Checking for dirfd                                                                              : ok
vfs_fileid checking for statfs() and struct statfs.f_fsid                                       : not found
Checking whether lseek supports hole/data seeking                                               : ok
Checking whether Linux readahead is available                                                   : not found
Checking for declaration of readahead                                                           : not found
Checking for openat                                                                             : ok
Checking if we can use msg_control for passing file descriptors                                 : not found
Checking if we can use msg_accrights for passing file descriptors                               : ok
Checking for program awk                                                                        : /usr/bin/awk
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                                                                : /usr/bin/cups-config
Checking for /usr/bin/cups-config                                                               : yes
Checking for header cups/cups.h                                                                 : yes
Checking for header cups/language.h                                                             : yes
Checking for library cups                                                                       : yes
Checking for httpConnect                                                                        : ok
Checking for httpConnectEncrypt                                                                 : ok
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                                                                       : yes
Checking for ber_scanf                                                                          : ok
Checking for ber_sockbuf_add_io                                                                 : ok
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
Building with Active Directory support.
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_syslen in struct utmpx                                                   : ok
Checking whether pututline returns pointer                                                      : ok
Checking if size of ((struct utmp *)NULL)->ut_line == 1                                         : not found
Checking if size of ((struct utmp *)NULL)->ut_line == 2                                         : not found
Checking if size of ((struct utmp *)NULL)->ut_line == 4                                         : not found
Checking if size of ((struct utmp *)NULL)->ut_line == 8                                         : not found
Checking if size of ((struct utmp *)NULL)->ut_line == 16                                        : ok
Checking for header avahi-common/watch.h                                                        : yes
Checking for header avahi-client/client.h                                                       : yes
Checking for library avahi-client                                                               : yes
Checking for avahi_client_new                                                                   : ok
Checking for library avahi-common                                                               : yes
Checking for avahi_strerror                                                                     : ok
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 whether Linux netlink is available                                                     : not found
Checking whether fcntl locking is available                                                     : ok
Checking whether fcntl lock supports open file description locks                                : not found
Checking for broken posix_fallocate                                                             : 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                                                     : ok
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                                   : ok
Checking for ftruncate extend                                                                   : ok
getcwd takes a NULL argument                                                                    : ok
Checking for library gen                                                                        : yes
Checking for getspnam                                                                           : ok
Checking for header sys/fs/vx_quota.h                                                           : no
Checking for header sys/quota.h                                                                 : no
Checking for header ufs/ufs/quota.h                                                             : no
Checking for header xfs/xqm.h                                                                   : no
for XFS QUOTA in <sys/quota.h>                                                                  : not found
Checking for member dqb_fsoftlimit in struct dqblk                                              : not found
Checking for member dqb_curbytes in struct dqblk                                                : not found
Checking for header rpcsvc/rquota.h                                                             : yes
Checking for member getquota_rslt_u in struct getquota_rslt                                     : ok
for QUOTACTL_4A: long quotactl(int cmd, char *special, qid_t id, caddr_t addr)                  : not found
for QUOTACTL_4B:  int quotactl(const char *path, int cmd, int id, char *addr)                   : not found
Checking whether legacy quota code can be used                                                  : ok
building without cluster support (--without-cluster-support)
Checking whether seekdir returns void                                                           : ok
Checking for header linux/fs.h                                                                  : no
Checking for header cephfs/libcephfs.h                                                          : no
Checking for glusterfs-api >= 4                                                                 : not found
Checking for header api/glfs.h                                                                  : no
Checking for library gfapi                                                                      : no
Checking for dbus                                                                               : yes
Checking for header dbus/dbus.h                                                                 : yes
Checking for library dbus-1                                                                     : yes
Looking for ncurses features
Checking for program ncurses5-config                                                            : not found
Checking for program ncurses6-config                                                            : not found
Checking for header ncurses.h                                                                   : no
Checking for header menu.h                                                                      : no
Checking for header panel.h                                                                     : no
Checking for header form.h                                                                      : no
Checking for initscr                                                                            : ok
Checking for library menu                                                                       : yes
Checking for set_menu_items                                                                     : ok
Checking for item_count                                                                         : ok
Checking for library panel                                                                      : yes
Checking for new_panel                                                                          : ok
Checking for show_panel                                                                         : ok
Checking for library form                                                                       : yes
Checking for new_field                                                                          : ok
Checking for new_form                                                                           : ok
ncurses not available, not building regedit
Checking for header ftw.h                                                                       : yes
Checking for nftw                                                                               : ok
Checking for library crypto                                                                     : yes
Checking for DES_pcbc_encrypt                                                                   : ok
VFS_STATIC: vfs_default,vfs_solarisacl
VFS_SHARED: vfs_recycle,vfs_audit,vfs_extd_audit,vfs_full_audit,vfs_netatalk,vfs_fake_perms,vfs_default_quota,vfs_readonly,vfs_cap,vfs_expand_msdfs,vfs_shadow_copy,vfs_shadow_copy2,vfs_readahead,vfs_xattr_tdb,vfs_posix_eadb,vfs_streams_xattr,vfs_streams_depot,vfs_acl_xattr,vfs_acl_tdb,vfs_preopen,vfs_catia,vfs_media_harmony,vfs_unityed_media,vfs_fruit,vfs_shell_snap,vfs_commit,vfs_worm,vfs_crossrename,vfs_linux_xfs_sgid,vfs_time_audit,vfs_offline,vfs_syncops,vfs_dirsort,vfs_aio_fork,vfs_aio_pthread,vfs_snapper
PDB_STATIC: pdb_smbpasswd,pdb_tdbsam,pdb_wbc_sam,pdb_ldapsam
PDB_SHARED:
AUTH_STATIC: auth_domain,auth_builtin,auth_sam,auth_winbind,auth_unix,auth_wbc
AUTH_SHARED: auth_script
NSS_INFO_STATIC: nss_info_template
NSS_INFO_SHARED:
CHARSET_STATIC:
CHARSET_SHARED:
IDMAP_STATIC: idmap_tdb,idmap_passdb,idmap_nss,idmap_ldap
IDMAP_SHARED: idmap_ad,idmap_rfc2307,idmap_autorid,idmap_rid,idmap_hash,idmap_tdb2,idmap_script
GPEXT_STATIC:
GPEXT_SHARED:
PERFCOUNT_STATIC:
PERFCOUNT_SHARED:
RPC_STATIC:
RPC_SHARED:
Checking for openpty                                                                            : not found
Checking for library util                                                                       : not found
Checking for openpty                                                                            : not found
Checking for header linux/sockios.h                                                             : no
Checking for header linux/ethtool.h                                                             : no
Checking for system cmocka >= 1.0                                                               : not found
Checking linker accepts -Wl,-no-undefined                                                       : no
Checking linker accepts ['-undefined', 'dynamic_lookup']                                        : no
Checking linker accepts -Wl,--as-needed                                                         : yes
Checking for -lc not needed                                                                     : ok
Checking configure summary                                                                      : ok
Checking compiler for PIE support                                                               : yes
Checking compiler for full RELRO support                                                        : no
Checking if toolchain accepts -fstack-protector                                                 : yes
'configure' finished successfully (2m31.528s)

Everything looks fine on the compilation side but on the link part I'm getting this annoying error. I can't find a logical workaround for this. 

ld: fatal: relocations remain against allocatable but non-writable sections
collect2: error: ld returned 1 exit status
Waf: Leaving directory `/opt/compile_samba/samba-4.6.6/bin'
Build failed:  -> task failed (err #1):
        {task: cc_link pytalloc_util_3.o -> libpytalloc-util.so}
gmake: *** [all] Error 1

I tried compiling talloc-2.1.9 from source getting the same error:

/usr/sfw/bin/gld: /usr/gcc/4.8/lib/gcc/sparc-sun-solaris2.11/4.8.2/crtbegin.o: no group info for section .group%__sparc_get_pc_thunk.l7
/usr/sfw/bin/gld: /usr/gcc/4.8/lib/gcc/sparc-sun-solaris2.11/4.8.2/crtend.o: no group info for section .group%__sparc_get_pc_thunk.l7
/usr/sfw/bin/gld: read-only segment has dynamic relocations.
collect2: error: ld returned 1 exit status
Waf: Leaving directory `/opt/compile_talloc/talloc-2.1.9/bin'
Build failed:  -> task failed (err #1):
        {task: cc_link pytalloc_util_9.o -> libpytalloc-util.so}
gmake: *** [all] Error 1

I manage to compile samba 4.6.6 from source successfully on a x86 Solaris 11 system. This issue seams to be a problem with SPARC architecture. 

Can you help me out?   


More information about the samba-technical mailing list