[Samba] broken samba-4.1.8 waf configure

squidmobile at fastmail.fm squidmobile at fastmail.fm
Sat Jun 21 17:02:15 MDT 2014


21 jun 2014

>> the version numbers changed (samba-4.1.8), but the problem
>> remains exactly the same:  waf configure continues to break at
>> krb5.

>Please attach bin/config.log.

your wish is my command.

below, find the excerpt that probably interests you.  the entire
file appears as an attachment (#1).  i also included the script
output from the waf configure process as a separate attachment
(#2).  for space reasons, i ran xz -9 against both attachments.

fyi- i believe in symbolic links.  for example:
  cd /local/package
  ln -s samba-4.1.8 samba
  cd /local/bin
  ln -s ../package/samba/bin/* .
  cd /local/include
  ln -s ../package/samba/include/* .
  cd /local/lib
  ln -s ../package/samba/lib/* .
  ldconfig
  ...
/etc/ld.so.conf contains:
  /local/lib
root PATH contains /local/sbin
     PATH contains /local/bin

thank you for your time and assistance.

frank smith

at 1600 lines, the excerpt runs much longer than i anticipated.
btw- i removed the escape sequences from the excerpt.

...
-----------------------------------------------------------------------------------------------
Checking for program krb5-config.heimdal
  find program=['krb5-config.heimdal'] paths=[]
  var='HEIMDAL_KRB5_CONFIG'
  -> ''

-----------------------------------------------------------------------------------------------
Checking for program krb5-config
  find program=['krb5-config'] paths=None var='KRB5_CONFIG'
  -> '/local/bin/krb5-config'

-----------------------------------------------------------------------------------------------
Checking for /local/bin/krb5-config
/local/bin/krb5-config --cflags --libs
-I/local/package/krb5-1.12.1/include
-L/local/package/krb5-1.12.1/lib -Wl,--enable-new-dtags -Wl,-rpath
-Wl,/local/package/krb5-1.12.1/lib -L/local/lib -lkrb5 -lk5crypto
-lcom_err
yes

-----------------------------------------------------------------------------------------------
Checking for gssapi
/local/bin/krb5-config --cflags --libs gssapi
-I/local/package/krb5-1.12.1/include
-L/local/package/krb5-1.12.1/lib -Wl,--enable-new-dtags -Wl,-rpath
-Wl,/local/package/krb5-1.12.1/lib -L/local/lib -lgssapi_krb5 -lkrb5
-lk5crypto -lcom_err
yes
/local/bin/krb5-config --vendor
Massachusetts Institute of Technology
/local/bin/krb5-config --version
Kerberos 5 release 1.12.1

-----------------------------------------------------------------------------------------------
Checking for com_err
pkg-config --errors-to-stdout --print-errors --cflags --libs com_err
-I/usr/include/et  -L/lib64 -lcom_err
yes

-----------------------------------------------------------------------------------------------
Checking for library com_err
==>

int main() {
	return 0;
}

<==
[1/2] Compiling test.c
['/usr/bin/gcc', '-MD', '-I/usr/local/include', '-D_SAMBA_BUILD_=4',
'-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1',
'../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
['/usr/bin/gcc', 'default/test_1.o', '-o',
'/scratch01/gigo.d1/gigo.d/samba-4.1.8/bin/.conf_check_0/testbuild/default/testprog',
'-fstack-protector', '-Wl,-no-undefined', '-L/usr/local/lib',
'-Wl,-Bdynamic', '-lcom_err']
yes

-----------------------------------------------------------------------------------------------
Checking for _et_list
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define BUILD_SYSTEM "Linux hostname 3.2.45 #1 SMP Mon Oct 21 00:25:48
EDT 2013 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 6000+
AuthenticAMD GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "3.2.45"
#define SYSTEM_UNAME_VERSION "#1 SMP Mon Oct 21 00:25:48 EDT 2013"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
/* #undef WORDS_BIGENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GCRYPT_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_LIBRT 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_GETTIMEOFDAY_TZ 1
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#define HAVE_IMMEDIATE_STRUCTURES 1
#define HAVE_MKDIR_MODE 1
#define HAVE_STAT_TV_NSEC 1
#define HAVE_STRUCT_STAT_ST_RDEV 1
#define HAVE_ST_RDEV 1
#define HAVE_SS_FAMILY 1
/* #undef HAVE___SS_FAMILY */
/* #undef HAVE_SOCKADDR_SA_LEN */
/* #undef HAVE_SOCK_SIN_LEN */
#define HAVE_UNIXSOCKET 1
#define HAVE_SECURE_MKSTEMP 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_IFACE_GETIFADDRS 1
#define HAVE_DECL_GETPWENT_R 1
/* #undef SOLARIS_GETPWENT_R */
#define HAVE_DECL_GETGRENT_R 1
/* #undef SOLARIS_GETGRENT_R */
#define PYTHONDIR
"/local/package/samba-4.1.8/lib64/python2.7/site-packages"
#define PYTHONARCHDIR
"/local/package/samba-4.1.8/lib64/python2.7/site-packages"
#define HAVE_PYTHON_H 1
#define VALUEOF_NSIG 65
#define VALUEOF__NSIG 65
#define VALUEOF_SIGRTMAX 64
#define VALUEOF_SIGRTMIN 34
#define TEVENT_NUM_SIGNALS 68
#define HAVE_POPT_H 1
#define HAVE_LIBPOPT 1
#define HAVE_POPTGETCONTEXT 1
#define USING_SYSTEM_POPT 1
#define HAVE_KRB5 1
#define HAVE_GSSAPI 1
#define USING_SYSTEM_KRB5 1
#define HAVE_COM_ERR 1
#define HAVE_LIBCOM_ERR 1


                         #define _et_list __fake___et_list
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef _et_list
                         #if defined __stub__et_list || defined
                         __stub____et_list
                         #error "bad glibc stub"
                         #endif
                         extern char _et_list();
                         int main() { return _et_list(); }


<==
[1/2] Compiling test.c
['/usr/bin/gcc', '-MD', '-Idefault', '-I..', '-Idefault', '-I..',
'-I/usr/local/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1',
'-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c',
'-o', 'default/test_1.o']
[2/2] Linking default/testprog
['/usr/bin/gcc', 'default/test_1.o', '-o',
'/scratch01/gigo.d1/gigo.d/samba-4.1.8/bin/.conf_check_0/testbuild/default/testprog',
'-fstack-protector', '-Wl,-no-undefined', '-L/usr/local/lib',
'-Wl,-Bdynamic', '-lcom_err']
ok

-----------------------------------------------------------------------------------------------
Checking for header com_err.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <com_err.h>

int main(void) { return 0; }
<==
[1/1] Compiling test.c
['/usr/bin/gcc', '-MD', '-I/usr/local/include', '-D_SAMBA_BUILD_=4',
'-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1',
'../test.c', '-c', '-o', 'default/test_1.o']
yes

-----------------------------------------------------------------------------------------------
Checking for header krb5.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <krb5.h>

int main(void) { return 0; }
<==
[1/1] Compiling test.c
['/usr/bin/gcc', '-MD', '-I/usr/local/include',
'-I/local/package/krb5-1.12.1/include', '-D_SAMBA_BUILD_=4',
'-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1',
'../test.c', '-c', '-o', 'default/test_1.o']
yes

-----------------------------------------------------------------------------------------------
Checking for header krb5/locate_plugin.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <krb5/locate_plugin.h>

int main(void) { return 0; }
<==
[1/1] Compiling test.c
In file included from ../test.c:15:0:
/local/package/krb5-1.12.1/include/krb5/locate_plugin.h:57:63: warning:
'struct sockaddr' declared inside parameter list [enabled by default]
/local/package/krb5-1.12.1/include/krb5/locate_plugin.h:57:63: warning:
its scope is only this definition or declaration, which is probably not
what you want [enabled by default]
['/usr/bin/gcc', '-MD', '-I/usr/local/include',
'-I/local/package/krb5-1.12.1/include', '-D_SAMBA_BUILD_=4',
'-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1',
'../test.c', '-c', '-o', 'default/test_1.o']
yes

-----------------------------------------------------------------------------------------------
Checking for header gssapi.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <gssapi.h>

int main(void) { return 0; }
<==
[1/1] Compiling test.c
['/usr/bin/gcc', '-MD', '-I/usr/local/include',
'-I/local/package/krb5-1.12.1/include', '-D_SAMBA_BUILD_=4',
'-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1',
'../test.c', '-c', '-o', 'default/test_1.o']
yes

-----------------------------------------------------------------------------------------------
Checking for header gssapi/gssapi_generic.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <gssapi/gssapi_generic.h>

int main(void) { return 0; }
<==
[1/1] Compiling test.c
['/usr/bin/gcc', '-MD', '-I/usr/local/include',
'-I/local/package/krb5-1.12.1/include', '-D_SAMBA_BUILD_=4',
'-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1',
'../test.c', '-c', '-o', 'default/test_1.o']
yes

-----------------------------------------------------------------------------------------------
Checking for header gssapi/gssapi.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <gssapi/gssapi.h>

int main(void) { return 0; }
<==
[1/1] Compiling test.c
['/usr/bin/gcc', '-MD', '-I/usr/local/include',
'-I/local/package/krb5-1.12.1/include', '-D_SAMBA_BUILD_=4',
'-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1',
'../test.c', '-c', '-o', 'default/test_1.o']
yes

-----------------------------------------------------------------------------------------------
Checking for header gssapi/gssapi_ext.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <gssapi/gssapi_ext.h>

int main(void) { return 0; }
<==
[1/1] Compiling test.c
['/usr/bin/gcc', '-MD', '-I/usr/local/include',
'-I/local/package/krb5-1.12.1/include', '-D_SAMBA_BUILD_=4',
'-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1',
'../test.c', '-c', '-o', 'default/test_1.o']
yes

-----------------------------------------------------------------------------------------------
Checking for header gssapi/gssapi_krb5.h
==>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>
#include <gssapi/gssapi_krb5.h>

int main(void) { return 0; }
<==
[1/1] Compiling test.c
['/usr/bin/gcc', '-MD', '-I/usr/local/include',
'-I/local/package/krb5-1.12.1/include', '-D_SAMBA_BUILD_=4',
'-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1',
'../test.c', '-c', '-o', 'default/test_1.o']
yes

-----------------------------------------------------------------------------------------------
Checking for library k5crypto
==>

int main() {
	return 0;
}

<==
[1/2] Compiling test.c
['/usr/bin/gcc', '-MD', '-I/usr/local/include', '-D_SAMBA_BUILD_=4',
'-DHAVE_CONFIG_H=1', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1',
'../test.c', '-c', '-o', 'default/test_1.o']
[2/2] Linking default/testprog
/usr/lib64/gcc/x86_64-slackware-linux/4.7.1/../../../../x86_64-slackware-linux/bin/ld:
cannot find -lk5crypto
collect2: error: ld returned 1 exit status
['/usr/bin/gcc', 'default/test_1.o', '-o',
'/scratch01/gigo.d1/gigo.d/samba-4.1.8/bin/.conf_check_0/testbuild/default/testprog',
'-fstack-protector', '-Wl,-no-undefined', '-L/usr/local/lib',
'-Wl,-Bdynamic', '-lk5crypto']
command returned 'Build failed:  -> task failed (err #1): \n\t{task:
cc_link test_1.o -> testprog}'not found

-----------------------------------------------------------------------------------------------
Checking for krb5_encrypt_data
==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define BUILD_SYSTEM "Linux hostname 3.2.45 #1 SMP Mon Oct 21 00:25:48
EDT 2013 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 6000+
AuthenticAMD GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "3.2.45"
#define SYSTEM_UNAME_VERSION "#1 SMP Mon Oct 21 00:25:48 EDT 2013"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
/* #undef WORDS_BIGENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GCRYPT_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_LIBRT 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_GETTIMEOFDAY_TZ 1
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#define HAVE_IMMEDIATE_STRUCTURES 1
#define HAVE_MKDIR_MODE 1
#define HAVE_STAT_TV_NSEC 1
#define HAVE_STRUCT_STAT_ST_RDEV 1
#define HAVE_ST_RDEV 1
#define HAVE_SS_FAMILY 1
/* #undef HAVE___SS_FAMILY */
/* #undef HAVE_SOCKADDR_SA_LEN */
/* #undef HAVE_SOCK_SIN_LEN */
#define HAVE_UNIXSOCKET 1
#define HAVE_SECURE_MKSTEMP 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_IFACE_GETIFADDRS 1
#define HAVE_DECL_GETPWENT_R 1
/* #undef SOLARIS_GETPWENT_R */
#define HAVE_DECL_GETGRENT_R 1
/* #undef SOLARIS_GETGRENT_R */
#define PYTHONDIR
"/local/package/samba-4.1.8/lib64/python2.7/site-packages"
#define PYTHONARCHDIR
"/local/package/samba-4.1.8/lib64/python2.7/site-packages"
#define HAVE_PYTHON_H 1
#define VALUEOF_NSIG 65
#define VALUEOF__NSIG 65
#define VALUEOF_SIGRTMAX 64
#define VALUEOF_SIGRTMIN 34
#define TEVENT_NUM_SIGNALS 68
#define HAVE_POPT_H 1
#define HAVE_LIBPOPT 1
#define HAVE_POPTGETCONTEXT 1
#define USING_SYSTEM_POPT 1
#define HAVE_KRB5 1
#define HAVE_GSSAPI 1
#define USING_SYSTEM_KRB5 1
#define HAVE_COM_ERR 1
#define HAVE_LIBCOM_ERR 1
#define HAVE__ET_LIST 1
#define HAVE_COM_ERR_H 1
#define HAVE_KRB5_H 1
#define HAVE_KRB5_LOCATE_PLUGIN_H 1
#define HAVE_GSSAPI_H 1
#define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
#define HAVE_GSSAPI_GSSAPI_H 1
#define HAVE_GSSAPI_GSSAPI_EXT_H 1
#define HAVE_GSSAPI_GSSAPI_KRB5_H 1


                         #define krb5_encrypt_data
                         __fake__krb5_encrypt_data
                         #ifdef HAVE_LIMITS_H
                         # include <limits.h>
                         #else
                         # include <assert.h>
                         #endif
                         #undef krb5_encrypt_data
                         #if defined __stub_krb5_encrypt_data || defined
                         __stub___krb5_encrypt_data
                         #error "bad glibc stub"
                         #endif
                         extern char krb5_encrypt_data();
                         int main() { return krb5_encrypt_data(); }


<==
[1/2] Compiling test.c
['/usr/bin/gcc', '-MD', '-Idefault', '-I..', '-Idefault', '-I..',
'-I/usr/local/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1',
'-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c',
'-o', 'default/test_1.o']
[2/2] Linking default/testprog
default/test_1.o: In function `main':
test.c:(.text+0xa): undefined reference to `krb5_encrypt_data'
collect2: error: ld returned 1 exit status
['/usr/bin/gcc', 'default/test_1.o', '-o',
'/scratch01/gigo.d1/gigo.d/samba-4.1.8/bin/.conf_check_0/testbuild/default/testprog',
'-fstack-protector', '-Wl,-no-undefined', '-L/usr/local/lib']
command returned 'Build failed:  -> task failed (err #1): \n\t{task:
cc_link test_1.o -> testprog}'==>
#define CONFIG_H_IS_FROM_SAMBA 1
#define _SAMBA_BUILD_ 4
#define HAVE_CONFIG_H 1
#define BUILD_SYSTEM "Linux hostname 3.2.45 #1 SMP Mon Oct 21 00:25:48
EDT 2013 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 6000+
AuthenticAMD GNU/Linux"
#define HAVE_SYS_UTSNAME_H 1
#define SYSTEM_UNAME_SYSNAME "Linux"
#define SYSTEM_UNAME_MACHINE "x86_64"
#define SYSTEM_UNAME_RELEASE "3.2.45"
#define SYSTEM_UNAME_VERSION "#1 SMP Mon Oct 21 00:25:48 EDT 2013"
#define HAVE_STDIO_H 1
#define HAVE_SIMPLE_C_PROG 1
#define INLINE_MACRO 1
#define _GNU_SOURCE 1
#define _XOPEN_SOURCE_EXTENDED 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDDEF_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRING_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CTYPE_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDARG_H 1
#define HAVE_LIMITS_H 1
#define HAVE_ASSERT_H 1
#define WORKING_GETCONF_LFS_CFLAGS 1
#define HAVE_LARGEFILE 1
#define STDC_HEADERS 1
#define HAVE_SYS_TIME_H 1
#define HAVE_TIME_H 1
#define TIME_WITH_SYS_TIME 1
#define SHLIBEXT "so"
/* #undef WORDS_BIGENDIAN */
#define HAVE_SIGNAL_H 1
/* #undef RETSIGTYPE_INT */
#define RETSIGTYPE void
#define HAVE_FUNCTION_MACRO 1
#define HAVE_VA_COPY 1
#define HAVE__VA_ARGS__MACRO 1
#define HAVE_LIBREPLACE 1
#define LIBREPLACE_NETWORK_CHECKS 1
#define HAVE_LINUX_TYPES_H 1
#define HAVE_CRYPT_H 1
#define HAVE_LOCALE_H 1
#define HAVE_ACL_LIBACL_H 1
#define HAVE_ATTR_XATTR_H 1
#define HAVE_FCNTL_H 1
#define HAVE_FNMATCH_H 1
#define HAVE_GLOB_H 1
#define HAVE_LANGINFO_H 1
#define HAVE_LIBAIO_H 1
#define HAVE_PWD_H 1
#define HAVE_SHADOW_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_ATTR_ATTRIBUTES_H 1
#define HAVE_SYS_CAPABILITY_H 1
#define HAVE_SYS_DIR_H 1
#define HAVE_SYS_EPOLL_H 1
#define HAVE_SYS_FCNTL_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_IPC_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_SHM_H 1
#define HAVE_SYS_STATFS_H 1
#define HAVE_SYS_STATVFS_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_SYS_XATTR_H 1
#define HAVE_TERMIO_H 1
#define HAVE_TERMIOS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_UCONTEXT_H 1
#define HAVE_SYS_WAIT_H 1
#define HAVE_MALLOC_H 1
#define HAVE_GRP_H 1
#define HAVE_SYS_SELECT_H 1
#define HAVE_SETJMP_H 1
#define HAVE_UTIME_H 1
#define HAVE_SYS_SYSLOG_H 1
#define HAVE_SYSLOG_H 1
#define HAVE_SYS_MOUNT_H 1
#define HAVE_MNTENT_H 1
#define HAVE_STROPTS_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_NETDB_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_SYS_UN_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_IFADDRS_H 1
#define HAVE_DIRENT_H 1
#define HAVE_ERRNO_H 1
#define HAVE_GCRYPT_H 1
#define HAVE_GETOPT_H 1
#define HAVE_ICONV_H 1
#define HAVE_SYS_INOTIFY_H 1
#define HAVE_NSS_H 1
#define HAVE_SASL_SASL_H 1
#define HAVE_ZLIB_H 1
#define HAVE_ASM_UNISTD_H 1
#define HAVE_AIO_H 1
#define HAVE_SYS_UNISTD_H 1
#define HAVE_RPC_RPC_H 1
#define HAVE_ALLOCA_H 1
#define HAVE_FLOAT_H 1
#define HAVE_RPCSVC_NIS_H 1
#define HAVE_RPCSVC_YPCLNT_H 1
#define HAVE_SYS_SYSCTL_H 1
#define HAVE_SYS_SYSMACROS_H 1
#define HAVE_RPCSVC_YP_PROT_H 1
#define HAVE_SYS_CDEFS_H 1
#define HAVE_UTMP_H 1
#define HAVE_UTMPX_H 1
#define HAVE_LASTLOG_H 1
#define HAVE_SYSCALL_H 1
#define HAVE_SYS_SYSCALL_H 1
#define HAVE_SYS_PRCTL_H 1
#define HAVE_PRCTL 1
#define HAVE_OPEN_O_DIRECT 1
#define HAVE_LONG_LONG 1
#define HAVE_INTPTR_T 1
#define HAVE_UINTPTR_T 1
#define HAVE_PTRDIFF_T 1
#define HAVE_COMPARISON_FN_T 1
#define HAVE__Bool 1
#define HAVE_BOOL 1
#define HAVE_INT8_T 1
#define HAVE_UINT8_T 1
#define HAVE_INT16_T 1
#define HAVE_UINT16_T 1
#define HAVE_INT32_T 1
#define HAVE_UINT32_T 1
#define HAVE_INT64_T 1
#define HAVE_UINT64_T 1
#define HAVE_SIZE_T 1
#define HAVE_SSIZE_T 1
#define HAVE_INO_T 1
#define HAVE_LOFF_T 1
/* #undef HAVE_OFFSET_T */
#define offset_t loff_t
#define HAVE_VOLATILE 1
/* #undef HAVE_UINT_T */
#define uint_t unsigned int
#define HAVE_BLKSIZE_T 1
#define HAVE_BLKCNT_T 1
#define SIZEOF_BOOL 1
#define SIZEOF_CHAR 1
#define SIZEOF_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_LONG 8
#define SIZEOF_SHORT 2
#define SIZEOF_SIZE_T 8
#define SIZEOF_SSIZE_T 8
#define SIZEOF_INT8_T 1
#define SIZEOF_UINT8_T 1
#define SIZEOF_INT16_T 2
#define SIZEOF_UINT16_T 2
#define SIZEOF_INT32_T 4
#define SIZEOF_UINT32_T 4
#define SIZEOF_INT64_T 8
#define SIZEOF_UINT64_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_OFF_T 8
#define SIZEOF_DEV_T 8
#define SIZEOF_INO_T 8
#define SIZEOF_TIME_T 8
#define HAVE_SOCKLEN_T 1
#define HAVE_STRUCT_IFADDRS 1
#define HAVE_STRUCT_ADDRINFO 1
#define HAVE_STRUCT_SOCKADDR 1
#define HAVE_STRUCT_SOCKADDR_IN6 1
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#define HAVE_SA_FAMILY_T 1
#define HAVE_SIG_ATOMIC_T_TYPE 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOP 1
#define HAVE_INET_PTON 1
#define HAVE_CONNECT 1
#define HAVE_GETHOSTBYNAME 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETNAMEINFO 1
#define HAVE_FREEADDRINFO 1
#define HAVE_GAI_STRERROR 1
#define HAVE_SOCKETPAIR 1
#define HAVE_IPV6_V6ONLY 1
#define HAVE_IPV6 1
#define HAVE_UCONTEXT_T 1
#define HAVE_STRDUP 1
#define HAVE_MEMMEM 1
#define HAVE_PRINTF 1
#define HAVE_MEMSET 1
#define HAVE_MEMCPY 1
#define HAVE_MEMMOVE 1
#define HAVE_STRCPY 1
#define HAVE_STRNCPY 1
#define HAVE_BZERO 1
/* #undef HAVE_SHL_LOAD */
/* #undef HAVE_SHL_UNLOAD */
/* #undef HAVE_SHL_FINDSYM */
#define HAVE_PIPE 1
#define HAVE_STRFTIME 1
#define HAVE_SRANDOM 1
#define HAVE_RANDOM 1
#define HAVE_SRAND 1
#define HAVE_RAND 1
#define HAVE_USLEEP 1
#define HAVE_SETBUFFER 1
#define HAVE_LSTAT 1
#define HAVE_GETPGRP 1
#define HAVE_UTIME 1
#define HAVE_UTIMES 1
#define HAVE_SETUID 1
#define HAVE_SETEUID 1
#define HAVE_SETREUID 1
#define HAVE_SETRESUID 1
#define HAVE_SETGID 1
#define HAVE_SETEGID 1
#define HAVE_SETREGID 1
#define HAVE_SETRESGID 1
#define HAVE_CHROOT 1
#define HAVE_STRERROR 1
#define HAVE_VSYSLOG 1
#define HAVE_SETLINEBUF 1
#define HAVE_MKTIME 1
#define HAVE_FTRUNCATE 1
/* #undef HAVE_CHSIZE */
#define HAVE_RENAME 1
#define HAVE_WAITPID 1
#define HAVE_WAIT4 1
#define HAVE_INITGROUPS 1
#define HAVE_PREAD 1
#define HAVE_PWRITE 1
#define HAVE_STRNDUP 1
#define HAVE_STRCASESTR 1
#define HAVE_STRTOK_R 1
#define HAVE_MKDTEMP 1
#define HAVE_DUP2 1
#define HAVE_DPRINTF 1
#define HAVE_VDPRINTF 1
#define HAVE_ISATTY 1
#define HAVE_CHOWN 1
#define HAVE_LCHOWN 1
#define HAVE_LINK 1
#define HAVE_READLINK 1
#define HAVE_SYMLINK 1
#define HAVE_REALPATH 1
#define HAVE_SNPRINTF 1
#define HAVE_VSNPRINTF 1
#define HAVE_ASPRINTF 1
#define HAVE_VASPRINTF 1
#define HAVE_SETENV 1
#define HAVE_UNSETENV 1
#define HAVE_STRNLEN 1
#define HAVE_STRTOULL 1
/* #undef HAVE___STRTOULL */
#define HAVE_STRTOUQ 1
#define HAVE_STRTOLL 1
/* #undef HAVE___STRTOLL */
#define HAVE_STRTOQ 1
#define HAVE_MEMALIGN 1
#define HAVE_POSIX_MEMALIGN 1
/* #undef HAVE_STRLCPY */
/* #undef HAVE_STRLCAT */
/* #undef HAVE_GETPEEREID */
/* #undef HAVE_SETPROCTITLE */
#define HAVE_PEERCRED 1
/* #undef HAVE_BSD_STRTOLL */
#define HAVE_IF_NAMETOINDEX 1
#define HAVE_STRERROR_R 1
#define HAVE_GETDIRENTRIES 1
/* #undef HAVE_GETDENTS */
#define HAVE_SYSLOG 1
#define HAVE_GET_CURRENT_DIR_NAME 1
#define HAVE_TIMEGM 1
#define HAVE_GETIFADDRS 1
#define HAVE_FREEIFADDRS 1
#define HAVE_MMAP 1
#define HAVE_SETGROUPS 1
#define HAVE_SYSCALL 1
#define HAVE_SETSID 1
#define HAVE_GETGRENT_R 1
#define HAVE_GETGRGID_R 1
#define HAVE_GETGRNAM_R 1
#define HAVE_GETGROUPLIST 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETPWENT_R 1
#define HAVE_GETPWNAM_R 1
#define HAVE_GETPWUID_R 1
#define HAVE_EPOLL_CREATE 1
#define HAVE_FGETXATTR 1
/* #undef HAVE_FLISTEA */
#define HAVE_FLISTXATTR 1
#define HAVE_FREMOVEXATTR 1
#define HAVE_FSETXATTR 1
#define HAVE_GETXATTR 1
#define HAVE_LISTXATTR 1
#define HAVE_REMOVEXATTR 1
#define HAVE_SETXATTR 1
#define HAVE_LIBATTR 1
#define HAVE_XATTR_SUPPORT 1
/* #undef XATTR_ADDITIONAL_OPTIONS */
#define HAVE_DLFCN_H 1
#define HAVE_DLOPEN 1
#define HAVE_DLSYM 1
#define HAVE_DLERROR 1
#define HAVE_DLCLOSE 1
#define HAVE_LIBDL 1
#define HAVE_DECL_DLOPEN 1
/* #undef DLOPEN_TAKES_UNSIGNED_FLAGS */
#define HAVE_FDATASYNC 1
#define HAVE_DECL_FDATASYNC 1
#define HAVE_CLOCK_GETTIME 1
#define HAVE_LIBRT 1
#define HAVE_CLOCK_MONOTONIC 1
#define HAVE_CLOCK_PROCESS_CPUTIME_ID 1
#define HAVE_CLOCK_REALTIME 1
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_NET_IF_H 1
#define HAVE_ARPA_NAMESER_H 1
#define HAVE_RESOLV_H 1
#define HAVE_RES_SEARCH 1
#define HAVE_LIBRESOLV 1
#define HAVE_LIBINTL_H 1
#define HAVE_DECL_DGETTEXT 1
#define HAVE_DECL_GETTEXT 1
#define HAVE_DECL_BINDTEXTDOMAIN 1
#define HAVE_DECL_TEXTDOMAIN 1
#define HAVE_DECL_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_BINDTEXTDOMAIN 1
#define HAVE_TEXTDOMAIN 1
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
#define HAVE_DGETTEXT 1
#define HAVE_GETTEXT 1
#define HAVE_PTHREAD_H 1
#define HAVE_PTHREAD_CREATE 1
#define HAVE_LIBPTHREAD 1
#define HAVE_CRYPT 1
#define HAVE_LIBCRYPT 1
#define HAVE_READLINE_READLINE_H 1
#define HAVE_READLINE_HISTORY_H 1
#define HAVE_DECL_RL_EVENT_HOOK 1
#define HAVE_DECL_SNPRINTF 1
#define HAVE_DECL_VSNPRINTF 1
#define HAVE_DECL_ASPRINTF 1
#define HAVE_DECL_VASPRINTF 1
#define HAVE_ERRNO_DECL 1
#define HAVE_ENVIRON_DECL 1
#define HAVE_GETGRENT_R_DECL 1
#define HAVE_GETPWENT_R_DECL 1
#define HAVE_PREAD_DECL 1
#define HAVE_PWRITE_DECL 1
#define HAVE_SETENV_DECL 1
#define HAVE_SETRESGID_DECL 1
#define HAVE_SETRESUID_DECL 1
#define HAVE_EPOLL 1
#define HAVE_POLL_H 1
#define HAVE_POLL 1
#define HAVE_STRPTIME 1
#define HAVE_DECL_STRPTIME 1
#define HAVE_WORKING_STRPTIME 1
#define HAVE_GETTIMEOFDAY_TZ 1
#define HAVE_C99_VSNPRINTF 1
#define HAVE_SHARED_MMAP 1
#define HAVE_MREMAP 1
/* #undef HAVE_INCOHERENT_MMAP */
#define HAVE_IMMEDIATE_STRUCTURES 1
#define HAVE_MKDIR_MODE 1
#define HAVE_STAT_TV_NSEC 1
#define HAVE_STRUCT_STAT_ST_RDEV 1
#define HAVE_ST_RDEV 1
#define HAVE_SS_FAMILY 1
/* #undef HAVE___SS_FAMILY */
/* #undef HAVE_SOCKADDR_SA_LEN */
/* #undef HAVE_SOCK_SIN_LEN */
#define HAVE_UNIXSOCKET 1
#define HAVE_SECURE_MKSTEMP 1
#define HAVE_VISIBILITY_ATTR 1
#define HAVE_IFACE_GETIFADDRS 1
#define HAVE_DECL_GETPWENT_R 1
/* #undef SOLARIS_GETPWENT_R */
#define HAVE_DECL_GETGRENT_R 1
/* #undef SOLARIS_GETGRENT_R */
#define PYTHONDIR
"/local/package/samba-4.1.8/lib64/python2.7/site-packages"
#define PYTHONARCHDIR
"/local/package/samba-4.1.8/lib64/python2.7/site-packages"
#define HAVE_PYTHON_H 1
#define VALUEOF_NSIG 65
#define VALUEOF__NSIG 65
#define VALUEOF_SIGRTMAX 64
#define VALUEOF_SIGRTMIN 34
#define TEVENT_NUM_SIGNALS 68
#define HAVE_POPT_H 1
#define HAVE_LIBPOPT 1
#define HAVE_POPTGETCONTEXT 1
#define USING_SYSTEM_POPT 1
#define HAVE_KRB5 1
#define HAVE_GSSAPI 1
#define USING_SYSTEM_KRB5 1
#define HAVE_COM_ERR 1
#define HAVE_LIBCOM_ERR 1
#define HAVE__ET_LIST 1
#define HAVE_COM_ERR_H 1
#define HAVE_KRB5_H 1
#define HAVE_KRB5_LOCATE_PLUGIN_H 1
#define HAVE_GSSAPI_H 1
#define HAVE_GSSAPI_GSSAPI_GENERIC_H 1
#define HAVE_GSSAPI_GSSAPI_H 1
#define HAVE_GSSAPI_GSSAPI_EXT_H 1
#define HAVE_GSSAPI_GSSAPI_KRB5_H 1
/* #undef HAVE_KRB5_ENCRYPT_DATA */
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stddef.h>
#include <memory.h>
#include <string.h>
#include <strings.h>
#include <inttypes.h>
#include <stdint.h>
#include <unistd.h>
#include <ctype.h>
#include <stdbool.h>
#include <stdarg.h>

 int main(void) { void *__x = (void *)krb5_encrypt_data; return
 (int)__x; return 0; }

<==
[1/2] Compiling test.c
../test.c: In function 'main':
../test.c:434:39: error: 'krb5_encrypt_data' undeclared (first use in
this function)
../test.c:434:39: note: each undeclared identifier is reported only once
for each function it appears in
../test.c:434:65: warning: cast from pointer to integer of different
size [-Wpointer-to-int-cast]
['/usr/bin/gcc', '-MD', '-Idefault', '-I..', '-Idefault', '-I..',
'-I/usr/local/include', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1',
'-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../test.c', '-c',
'-o', 'default/test_1.o']
command returned 'Build failed:  -> task failed (err #1): \n\t{task: cc
test.c -> test_1.o}'not found

-----------------------------------------------------------------------------------------------
...

-- 
http://www.fastmail.fm - A no graphics, no pop-ups email service



More information about the samba mailing list