tobiaswaldvogel / openwrt-addpack

Additional packages for OpenWRT, mainly NAS devices
70 stars 61 forks source link

Samba4 doesn't compile against OpenWRT trunk #2

Closed mattmon closed 11 years ago

mattmon commented 11 years ago

"make package/samba4/compile" fails with either uclibc or eglibc on OpenWRT trunk (x86). Same result with stable branches of Attitude Adjustment and Backfire.

Error in terminal is: configure:4105: error: C compiler cannot create executables

Here's the config.log:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by Samba configure 3, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure --target=i486-openwrt-linux --host=i486-openwrt-linux --build=x86_64-linux-gnu --program-prefix= --program-suffix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls --exec-prefix=/usr --prefix=/ --disable-avahi --disable-cups --disable-pie --disable-relro --disable-static --disable-swat --disable-shared-libs --with-configdir=/etc/samba --with-included-iniparser --with-included-popt --with-lockdir=/var/lock --with-logfilebase=/var/log --with-piddir=/var/run --with-privatedir=/etc/samba --with-sendfile-support --with-aio-support --without-cluster-support --without-pam --without-winbind --without-libtdb --without-libtalloc --without-libnetapi --without-libsmbclient --without-libsmbsharemodes --with-ads --with-krb5=/vol0/software/openwrt/trunk/staging_dir/target-i386_i486_eglibc-2.17/usr --with-ldap --with-libiconv=/vol0/software/openwrt/trunk/staging_dir/target-i386_i486_eglibc-2.17/usr/lib/libiconv --with-acl-support --with-quotas --with-syslog --with-shared-modules=pdb_tdbsam,pdb_wbc_sam,idmap_nss,nss_info_template,auth_winbind,auth_wbc,auth_domain,vfs --with-static-modules=vfs_default,vfs_dirsort,vfs_posixacl

## --------- ##
## Platform. ##
## --------- ##

hostname = stealth
uname -m = x86_64
uname -r = 3.8.0-31-generic
uname -s = Linux
uname -v = #46-Ubuntu SMP Tue Sep 10 20:03:44 UTC 2013

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /vol0/software/openwrt/trunk/staging_dir/target-i386_i486_eglibc-2.17/host/bin
PATH: /vol0/software/openwrt/trunk/staging_dir/toolchain-i386_i486_gcc-4.6-linaro_eglibc-2.17/bin
PATH: /vol0/software/openwrt/trunk/staging_dir/host/bin
PATH: /vol0/software/openwrt/trunk/staging_dir/toolchain-i386_i486_gcc-4.6-linaro_eglibc-2.17/bin
PATH: /vol0/software/openwrt/trunk/staging_dir/host/bin
PATH: /usr/local/heroku/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/games
PATH: /opt/google/depot_tools

## ----------- ##
## Core tests. ##
## ----------- ##

configure:2876: loading site script /vol0/software/openwrt/trunk/include/site/i486-openwrt-linux-gnu
| #!/bin/sh
| 
| . $TOPDIR/include/site/i486-linux
| . $TOPDIR/include/site/linux-gnu
| 
configure:3045: checking build system type
configure:3059: result: x86_64-pc-linux-gnu
configure:3079: checking host system type
configure:3092: result: i486-openwrt-linux-gnu
configure:3112: checking target system type
configure:3125: result: i486-openwrt-linux-gnu
configure:3698: checking for i486-openwrt-linux-gcc
configure:3725: result: i486-openwrt-linux-gnu-gcc
configure:3994: checking for C compiler version
configure:4003: i486-openwrt-linux-gnu-gcc --version >&5
i486-openwrt-linux-gnu-gcc (OpenWrt/Linaro GCC 4.6-2013.05 r38454) 4.6.4
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:4014: $? = 0
configure:4003: i486-openwrt-linux-gnu-gcc -v >&5
Reading specs from /vol0/software/openwrt/trunk/staging_dir/toolchain-i386_i486_gcc-4.6-linaro_eglibc-2.17/lib/gcc/i486-openwrt-linux-gnu/4.6.4/specs
COLLECT_GCC=i486-openwrt-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/vol0/software/openwrt/trunk/staging_dir/toolchain-i386_i486_gcc-4.6-linaro_eglibc-2.17/libexec/gcc/i486-openwrt-linux-gnu/4.6.4/lto-wrapper
Target: i486-openwrt-linux-gnu
Configured with: /vol0/software/openwrt/trunk/build_dir/toolchain-i386_i486_gcc-4.6-linaro_eglibc-2.17/gcc-linaro-4.6-2013.05/configure --with-bugurl=https://dev.openwrt.org/ --with-pkgversion='OpenWrt/Linaro GCC 4.6-2013.05 r38454' --prefix=/vol0/software/openwrt/trunk/staging_dir/toolchain-i386_i486_gcc-4.6-linaro_eglibc-2.17 --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=i486-openwrt-linux-gnu --with-gnu-ld --enable-target-optspace --disable-libgomp --disable-libmudflap --disable-multilib --disable-nls --with-host-libstdcxx=-lstdc++ --with-gmp=/vol0/software/openwrt/trunk/staging_dir/host --with-mpfr=/vol0/software/openwrt/trunk/staging_dir/host --disable-decimal-float --with-mpc=/vol0/software/openwrt/trunk/staging_dir/host --disable-libssp --enable-__cxa_atexit --with-headers=/vol0/software/openwrt/trunk/staging_dir/toolchain-i386_i486_gcc-4.6-linaro_eglibc-2.17/include --enable-languages=c,c++ --enable-shared --enable-threads --with-slibdir=/vol0/software/openwrt/trunk/staging_dir/toolchain-i386_i486_gcc-4.6-linaro_eglibc-2.17/lib --enable-lto --with-libelf=/vol0/software/openwrt/trunk/staging_dir/host
Thread model: posix
gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2013.05 r38454) 
configure:4014: $? = 0
configure:4003: i486-openwrt-linux-gnu-gcc -V >&5
i486-openwrt-linux-gnu-gcc: error: unrecognized option '-V'
i486-openwrt-linux-gnu-gcc: fatal error: no input files
compilation terminated.
configure:4014: $? = 1
configure:4003: i486-openwrt-linux-gnu-gcc -qversion >&5
i486-openwrt-linux-gnu-gcc: error: unrecognized option '-qversion'
i486-openwrt-linux-gnu-gcc: fatal error: no input files
compilation terminated.
configure:4014: $? = 1
configure:4034: checking whether the C compiler works
configure:4056: i486-openwrt-linux-gnu-gcc -Os -pipe -march=i486 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -DMAX_DEBUG_LEVEL=-1 -D_GNU_SOURCE -D__location__=\"\" -ffunction-sections -fdata-sections -I/vol0/software/openwrt/trunk/staging_dir/target-i386_i486_eglibc-2.17/usr/include/krb5 -DACTIVE_DIRECTORY -DDFS_SUPPORT -DNETLOGON_SUPPORT -DSAMR_SUPPORT -DLSA_SUPPORT  -I/vol0/software/openwrt/trunk/staging_dir/target-i386_i486_eglibc-2.17/usr/include -I/vol0/software/openwrt/trunk/staging_dir/target-i386_i486_eglibc-2.17/include -I/vol0/software/openwrt/trunk/staging_dir/toolchain-i386_i486_gcc-4.6-linaro_eglibc-2.17/usr/include -I/vol0/software/openwrt/trunk/staging_dir/toolchain-i386_i486_gcc-4.6-linaro_eglibc-2.17/include  -L/vol0/software/openwrt/trunk/staging_dir/target-i386_i486_eglibc-2.17/usr/lib -L/vol0/software/openwrt/trunk/staging_dir/target-i386_i486_eglibc-2.17/lib -L/vol0/software/openwrt/trunk/staging_dir/toolchain-i386_i486_gcc-4.6-linaro_eglibc-2.17/usr/lib -L/vol0/software/openwrt/trunk/staging_dir/toolchain-i386_i486_gcc-4.6-linaro_eglibc-2.17/lib -Wl,--gc-sections -laio -lkrb5 -l:libcom_err.so.3 -ldl -lgssapi_krb5 -Wl,-rpath-link=/vol0/software/openwrt/trunk/staging_dir/target-i386_i486_eglibc-2.17/usr/lib -lkrb5 -L/vol0/software/openwrt/trunk/staging_dir/target-i386_i486_eglibc-2.17/usr/lib/libiconv/lib   conftest.c  >&5
<command-line>:0:15: warning: missing terminating " character [enabled by default]
/vol0/software/openwrt/trunk/staging_dir/toolchain-i386_i486_gcc-4.6-linaro_eglibc-2.17/lib/gcc/i486-openwrt-linux-gnu/4.6.4/../../../../i486-openwrt-linux-gnu/bin/ld: cannot find libcom_err.so.3
collect2: ld returned 1 exit status
configure:4060: $? = 1
configure:4098: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "Samba"
| #define PACKAGE_TARNAME "samba"
| #define PACKAGE_VERSION "3"
| #define PACKAGE_STRING "Samba 3"
| #define PACKAGE_BUGREPORT "samba-technical@samba.org"
| #define PACKAGE_URL ""
| #define CONFIG_H_IS_FROM_SAMBA 1
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:4103: error: in `/vol0/software/openwrt/trunk/build_dir/target-i386_i486_eglibc-2.17/samba-4.0.5/source3':
configure:4105: error: C compiler cannot create executables
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-pc-linux-gnu
ac_cv_c_bigendian=no
ac_cv_c_gettext_without_libintl=yes
ac_cv_c_littleendian=yes
ac_cv_c_long_double=no
ac_cv_conv_longlong_to_float=yes
ac_cv_env_CC_set=set
ac_cv_env_CC_value=i486-openwrt-linux-gnu-gcc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-Os -pipe -march=i486 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -DMAX_DEBUG_LEVEL=-1 -D_GNU_SOURCE -D__location__=\"\" -ffunction-sections -fdata-sections -I/vol0/software/openwrt/trunk/staging_dir/target-i386_i486_eglibc-2.17/usr/include/krb5 -DACTIVE_DIRECTORY -DDFS_SUPPORT -DNETLOGON_SUPPORT -DSAMR_SUPPORT -DLSA_SUPPORT '
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value='-I/vol0/software/openwrt/trunk/staging_dir/target-i386_i486_eglibc-2.17/usr/include -I/vol0/software/openwrt/trunk/staging_dir/target-i386_i486_eglibc-2.17/include -I/vol0/software/openwrt/trunk/staging_dir/toolchain-i386_i486_gcc-4.6-linaro_eglibc-2.17/usr/include -I/vol0/software/openwrt/trunk/staging_dir/toolchain-i386_i486_gcc-4.6-linaro_eglibc-2.17/include '
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-L/vol0/software/openwrt/trunk/staging_dir/target-i386_i486_eglibc-2.17/usr/lib -L/vol0/software/openwrt/trunk/staging_dir/target-i386_i486_eglibc-2.17/lib -L/vol0/software/openwrt/trunk/staging_dir/toolchain-i386_i486_gcc-4.6-linaro_eglibc-2.17/usr/lib -L/vol0/software/openwrt/trunk/staging_dir/toolchain-i386_i486_gcc-4.6-linaro_eglibc-2.17/lib -Wl,--gc-sections -laio -lkrb5 -l:libcom_err.so.3 -ldl -lgssapi_krb5 -Wl,-rpath-link=/vol0/software/openwrt/trunk/staging_dir/target-i386_i486_eglibc-2.17/usr/lib -lkrb5 -L/vol0/software/openwrt/trunk/staging_dir/target-i386_i486_eglibc-2.17/usr/lib/libiconv/lib  '
ac_cv_env_LIBNTDB_CFLAGS_set=
ac_cv_env_LIBNTDB_CFLAGS_value=
ac_cv_env_LIBNTDB_LIBS_set=
ac_cv_env_LIBNTDB_LIBS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LIBTALLOC_CFLAGS_set=
ac_cv_env_LIBTALLOC_CFLAGS_value=
ac_cv_env_LIBTALLOC_LIBS_set=
ac_cv_env_LIBTALLOC_LIBS_value=
ac_cv_env_LIBTDB_CFLAGS_set=
ac_cv_env_LIBTDB_CFLAGS_value=
ac_cv_env_LIBTDB_LIBS_set=
ac_cv_env_LIBTDB_LIBS_value=
ac_cv_env_PKG_CONFIG_set=set
ac_cv_env_PKG_CONFIG_value=/vol0/software/openwrt/trunk/staging_dir/host/bin/pkg-config
ac_cv_env_PYTHON_VER_set=
ac_cv_env_PYTHON_VER_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i486-openwrt-linux
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=i486-openwrt-linux
ac_cv_file__dev_zero=yes
ac_cv_file__proc_sys_kernel_core_pattern=yes
ac_cv_func___adjtimex=yes
ac_cv_func___va_copy=no
ac_cv_func__exit=yes
ac_cv_func_bcmp=yes
ac_cv_func_bcopy=yes
ac_cv_func_bzero=yes
ac_cv_func_cimag=yes
ac_cv_func_creal=yes
ac_cv_func_fchmod=yes
ac_cv_func_getaddrinfo=yes
ac_cv_func_getcwd=yes
ac_cv_func_getdomainname=yes
ac_cv_func_getpgrp_void=yes
ac_cv_func_getpwuid_r=yes
ac_cv_func_gettimeofday=yes
ac_cv_func_index=yes
ac_cv_func_lstat=yes
ac_cv_func_lstat_dereferences_slashed_symlink=yes
ac_cv_func_lstat_empty_string_bug=no
ac_cv_func_malloc_0_nonnull=yes
ac_cv_func_malloc_works=yes
ac_cv_func_memcmp_clean=yes
ac_cv_func_memcmp_working=yes
ac_cv_func_posix_getgrgid_r=yes
ac_cv_func_posix_getpwuid_r=yes
ac_cv_func_psignal=yes
ac_cv_func_pthread_key_delete=yes
ac_cv_func_realloc_0_nonnull=yes
ac_cv_func_realloc_works=yes
ac_cv_func_rename=yes
ac_cv_func_rindex=yes
ac_cv_func_setgrent_void=yes
ac_cv_func_setlocale=yes
ac_cv_func_setpgrp_void=yes
ac_cv_func_setresuid=no
ac_cv_func_setvbuf_reversed=no
ac_cv_func_stat_empty_string_bug=no
ac_cv_func_stat_ignores_trailing_slash=no
ac_cv_func_strerror=yes
ac_cv_func_strftime=yes
ac_cv_func_utimes=yes
ac_cv_func_va_copy=no
ac_cv_func_vsnprintf=yes
ac_cv_have_accrights_in_msghdr=no
ac_cv_have_broken_snprintf=no
ac_cv_have_control_in_msghdr=yes
ac_cv_have_decl_sys_siglist=no
ac_cv_have_openpty_ctty_bug=yes
ac_cv_have_space_d_name_in_struct_dirent=yes
ac_cv_header_netinet_sctp_h=no
ac_cv_header_netinet_sctp_uio_h=no
ac_cv_header_zlib_h=yes
ac_cv_host=i486-openwrt-linux-gnu
ac_cv_int64_t=yes
ac_cv_lbl_unaligned_fail=no
ac_cv_lib_ext_krb5_krb5_mk_req_extended=yes
ac_cv_linux_kernel_pppoe=yes
ac_cv_linux_vers=2
ac_cv_pack_bitfields_reversed=yes
ac_cv_path_KRB5CONFIG=/vol0/software/openwrt/trunk/staging_dir/target-i386_i486_eglibc-2.17/usr
ac_cv_path_LDCONFIG=
ac_cv_prog_CC=i486-openwrt-linux-gnu-gcc
ac_cv_prog_cc_Ae=no
ac_cv_regexec_segfault_emptystr=no
ac_cv_sctp=no
ac_cv_sizeof___int64=0
ac_cv_sizeof_char=1
ac_cv_sizeof_int16_t=2
ac_cv_sizeof_int32_t=4
ac_cv_sizeof_int64_t=8
ac_cv_sizeof_int=4
ac_cv_sizeof_long=4
ac_cv_sizeof_long_int=4
ac_cv_sizeof_long_long=8
ac_cv_sizeof_off_t=8
ac_cv_sizeof_short=2
ac_cv_sizeof_short_int=2
ac_cv_sizeof_size_t=4
ac_cv_sizeof_ssize_t=4
ac_cv_sizeof_u_int16_t=2
ac_cv_sizeof_u_int32_t=4
ac_cv_sizeof_u_int64_t=8
ac_cv_sizeof_uint16_t=2
ac_cv_sizeof_uint32_t=4
ac_cv_sizeof_uint64_t=8
ac_cv_sizeof_unsigned_int=4
ac_cv_sizeof_unsigned_long=4
ac_cv_sizeof_unsigned_long_long=8
ac_cv_sizeof_unsigned_short=2
ac_cv_sizeof_void_p=4
ac_cv_sys_restartable_syscalls=yes
ac_cv_target=i486-openwrt-linux-gnu
ac_cv_time_r_type=POSIX
ac_cv_type_suseconds_t=yes
ac_cv_uchar=no
ac_cv_uint64_t=yes
ac_cv_uint=yes
ac_cv_ulong=yes
ac_cv_ushort=yes
ac_cv_va_copy=C99
ac_cv_va_val_copy=yes
as_cv_unaligned_access=yes
libreplace_cv_HAVE_C99_VSNPRINTF=yes
libreplace_cv_HAVE_GETADDRINFO=yes
libreplace_cv_HAVE_IFACE_GETIFADDRS=yes
libreplace_cv_HAVE_IFACE_IFCONF=yes
libreplace_cv_HAVE_MMAP=yes
libreplace_cv_HAVE_MREMAP=yes
libreplace_cv_HAVE_OPEN_O_DIRECT=yes
libreplace_cv_HAVE_SECURE_MKSTEMP=yes
libreplace_cv_REPLACE_INET_NTOA=no
samba_cv_CC_NEGATIVE_ENUM_VALUES=yes
samba_cv_HAVE_BROKEN_GETGROUPS=no
samba_cv_HAVE_BROKEN_READDIR_NAME=no
samba_cv_HAVE_BROKEN_READLINK=no
samba_cv_HAVE_GETTIMEOFDAY_TZ=yes
samba_cv_HAVE_IFACE_IFCONF=yes
samba_cv_HAVE_KERNEL_CHANGE_NOTIFY=yes
samba_cv_HAVE_KERNEL_OPLOCKS_LINUX=yes
samba_cv_HAVE_KERNEL_SHARE_MODES=yes
samba_cv_HAVE_MAKEDEV=yes
samba_cv_HAVE_SECURE_MKSTEMP=yes
samba_cv_HAVE_WRFILE_KEYTAB=no
samba_cv_SIZEOF_BLKCNT_T_4=no
samba_cv_SIZEOF_BLKCNT_T_8=yes
samba_cv_SIZEOF_DEV_T=8
samba_cv_SIZEOF_INO_T=8
samba_cv_SIZEOF_OFF_T=8
samba_cv_SIZEOF_TIME_T=4
samba_cv_TIME_T_MAX=no
samba_cv_USE_SETRESGID=yes
samba_cv_USE_SETRESUID=yes
samba_cv_USE_SETREUID=yes
samba_cv_big_endian=no
samba_cv_have_longlong=yes
samba_cv_have_setresgid=yes
samba_cv_have_setresuid=yes
samba_cv_linux_getgrouplist_ok=yes
samba_cv_little_endian=yes
samba_cv_zlib_1_2_3=yes
smb_krb5_cv_enctype_to_string_takes_krb5_context_arg=no
smb_krb5_cv_enctype_to_string_takes_size_t_arg=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACL_LIBS=''
AR='i486-openwrt-linux-gnu-ar'
AUTH_LIBS=''
AUTH_MODULES=''
AUTH_STATIC=''
AVAHI_LIBS=''
AVAHI_OBJ=''
AWK=''
BINDIR='/usr/bin'
BROKEN_CC=''
BUILD_INIPARSER=''
BUILD_POPT=''
CACHEDIR='${localstatedir}/cache'
CC='i486-openwrt-linux-gnu-gcc'
CCAN_CFLAGS=''
CCAN_OBJ=''
CFLAGS='-Os -pipe -march=i486 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -DMAX_DEBUG_LEVEL=-1 -D_GNU_SOURCE -D__location__=\"\" -ffunction-sections -fdata-sections -I/vol0/software/openwrt/trunk/staging_dir/target-i386_i486_eglibc-2.17/usr/include/krb5 -DACTIVE_DIRECTORY -DDFS_SUPPORT -DNETLOGON_SUPPORT -DSAMR_SUPPORT -DLSA_SUPPORT '
CIFSMOUNT_PROGS=''
CIFSUMOUNT_PROGS=''
CIFSUPCALL_PROGS=''
CODEPAGEDIR='/usr/share/codepages'
CONFIGDIR='/etc/samba'
CONFIGFILE='/etc/samba/smb.conf'
CONFIG_LIBS=''
CPP=''
CPPFLAGS='-I/vol0/software/openwrt/trunk/staging_dir/target-i386_i486_eglibc-2.17/usr/include -I/vol0/software/openwrt/trunk/staging_dir/target-i386_i486_eglibc-2.17/include -I/vol0/software/openwrt/trunk/staging_dir/toolchain-i386_i486_gcc-4.6-linaro_eglibc-2.17/usr/include -I/vol0/software/openwrt/trunk/staging_dir/toolchain-i386_i486_gcc-4.6-linaro_eglibc-2.17/include '
CRYPTO_MD5_OBJ=''
CUPS_CONFIG=''
DATADIR='/usr/share'
DEFAULT_TEST_OPTIONS=''
DEFS=''
DEVELOPER_CFLAGS=''
DNSSD_LIBS=''
DSO_EXPORTS=''
DYNEXP=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
EXPORTSFILE=''
EXTRA_ALL_TARGETS=''
EXTRA_BIN_PROGS=''
EXTRA_SBIN_PROGS=''
FAKE_KASERVER_OBJ=''
FLAGS1=''
GPEXT_LIBS=''
GPEXT_MODULES=''
GPEXT_STATIC=''
GREP=''
HAVE_NSS_WRAPPER=''
HAVE_SOCKET_WRAPPER=''
HAVE_UID_WRAPPER=''
HOST_OS=''
IDMAP_LIBS=''
IDMAP_MODULES=''
IDMAP_STATIC=''
INCLUDEDIR='${prefix}/include'
INIPARSERLIBS=''
INSTALLLIBCMD_A=''
INSTALLLIBCMD_SH=''
INSTALL_CIFSMOUNT=''
INSTALL_CIFSUMOUNT=''
INSTALL_CIFSUPCALL=''
INSTALL_DATA=''
INSTALL_LIBNETAPI=''
INSTALL_LIBNTDB=''
INSTALL_LIBSMBCLIENT=''
INSTALL_LIBSMBSHAREMODES=''
INSTALL_LIBTALLOC=''
INSTALL_LIBTDB=''
INSTALL_LIBWBCLIENT=''
INSTALL_PAM_MODULES=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
KRB5CONFIG=''
KRB5_LIBS=''
LDAP_LIBS=''
LDFLAGS='-L/vol0/software/openwrt/trunk/staging_dir/target-i386_i486_eglibc-2.17/usr/lib -L/vol0/software/openwrt/trunk/staging_dir/target-i386_i486_eglibc-2.17/lib -L/vol0/software/openwrt/trunk/staging_dir/toolchain-i386_i486_gcc-4.6-linaro_eglibc-2.17/usr/lib -L/vol0/software/openwrt/trunk/staging_dir/toolchain-i386_i486_gcc-4.6-linaro_eglibc-2.17/lib -Wl,--gc-sections -laio -lkrb5 -l:libcom_err.so.3 -ldl -lgssapi_krb5 -Wl,-rpath-link=/vol0/software/openwrt/trunk/staging_dir/target-i386_i486_eglibc-2.17/usr/lib -lkrb5 -L/vol0/software/openwrt/trunk/staging_dir/target-i386_i486_eglibc-2.17/usr/lib/libiconv/lib  '
LDSHFLAGS=''
LDSHFLAGS_Z_DEFS=''
LDSHFLAGS_Z_NODEFS=''
LIBDIR='${exec_prefix}/lib'
LIBDL=''
LIBEXECDIR='/usr/lib'
LIBNETAPI_FULLVER=''
LIBNETAPI_LIBS=''
LIBNETAPI_SHARED=''
LIBNETAPI_SHARED_TARGET=''
LIBNETAPI_SHARED_TARGET_FULLVER=''
LIBNETAPI_SHARED_TARGET_SOVER=''
LIBNETAPI_SOVER=''
LIBNETAPI_STATIC=''
LIBNETAPI_STATIC_TARGET=''
LIBNETAPI_TARGET=''
LIBNTDB_CFLAGS=''
LIBNTDB_FULLVER=''
LIBNTDB_LIBS=''
LIBNTDB_OBJ0=''
LIBNTDB_SHARED=''
LIBNTDB_SHARED_TARGET=''
LIBNTDB_SHARED_TARGET_FULLVER=''
LIBNTDB_SHARED_TARGET_SOVER=''
LIBNTDB_SOVER=''
LIBNTDB_STATIC=''
LIBNTDB_STATIC_TARGET=''
LIBNTDB_TARGET=''
LIBOBJS=''
LIBREPLACEOBJ='./../lib/replace/replace.o'
LIBREPLACE_LIBS=''
LIBREPLACE_OBJS=''
LIBS=''
LIBSAMBAUTIL_SHARED=''
LIBSMBCLIENT_FULLVER=''
LIBSMBCLIENT_LIBS=''
LIBSMBCLIENT_SHARED=''
LIBSMBCLIENT_SHARED_TARGET=''
LIBSMBCLIENT_SHARED_TARGET_FULLVER=''
LIBSMBCLIENT_SHARED_TARGET_SOVER=''
LIBSMBCLIENT_SOVER=''
LIBSMBCLIENT_STATIC=''
LIBSMBCLIENT_STATIC_TARGET=''
LIBSMBCLIENT_TARGET=''
LIBSMBSHAREMODES_FULLVER=''
LIBSMBSHAREMODES_LIBS=''
LIBSMBSHAREMODES_SHARED=''
LIBSMBSHAREMODES_SHARED_TARGET=''
LIBSMBSHAREMODES_SHARED_TARGET_FULLVER=''
LIBSMBSHAREMODES_SHARED_TARGET_SOVER=''
LIBSMBSHAREMODES_SOVER=''
LIBSMBSHAREMODES_STATIC=''
LIBSMBSHAREMODES_STATIC_TARGET=''
LIBSMBSHAREMODES_TARGET=''
LIBTALLOC_CFLAGS=''
LIBTALLOC_FULLVER=''
LIBTALLOC_LIBS=''
LIBTALLOC_OBJ0=''
LIBTALLOC_SHARED=''
LIBTALLOC_SHARED_TARGET=''
LIBTALLOC_SHARED_TARGET_FULLVER=''
LIBTALLOC_SHARED_TARGET_SOVER=''
LIBTALLOC_SOVER=''
LIBTALLOC_STATIC=''
LIBTALLOC_STATIC_TARGET=''
LIBTALLOC_TARGET=''
LIBTDB_CFLAGS=''
LIBTDB_FULLVER=''
LIBTDB_LIBS=''
LIBTDB_OBJ0=''
LIBTDB_SHARED=''
LIBTDB_SHARED_TARGET=''
LIBTDB_SHARED_TARGET_FULLVER=''
LIBTDB_SHARED_TARGET_SOVER=''
LIBTDB_SOVER=''
LIBTDB_STATIC=''
LIBTDB_STATIC_TARGET=''
LIBTDB_TARGET=''
LIBTEVENT_OBJ0=''
LIBUNWIND_PTRACE=''
LIBWBCLIENT=''
LIBWBCLIENT_FULLVER=''
LIBWBCLIENT_LIBS=''
LIBWBCLIENT_SHARED=''
LIBWBCLIENT_SHARED_TARGET=''
LIBWBCLIENT_SHARED_TARGET_FULLVER=''
LIBWBCLIENT_SHARED_TARGET_SOVER=''
LIBWBCLIENT_SOVER=''
LIBWBCLIENT_STATIC=''
LIBWBCLIENT_STATIC_TARGET=''
LIB_PATH_VAR=''
LMHOSTSFILE='/etc/samba/lmhosts'
LOCALEDIR='${datarootdir}/locale'
LOCKDIR='/var/lock'
LOGFILEBASE='/var/log'
LTLIBOBJS=''
MAKE=''
MANDIR='/usr/man'
MODULESDIR='${exec_prefix}/lib'
MODULE_EXPORTS=''
NCALRPCDIR='${localstatedir}/run/ncalrpc'
NMBDSOCKETDIR='${localstatedir}/run/nmbd'
NSCD_LIBS=''
NSSSONAMEVERSIONSUFFIX=''
NSS_INFO_MODULES=''
NSS_INFO_STATIC=''
NSS_MODULES=''
NSS_WRAPPER_OBJS=''
NTDBBACKUP=''
NTDBDUMP=''
NTDBRESTORE=''
NTDBTOOL=''
NTDBTORTURE=''
NTDB_CFLAGS=''
NTDB_DEPS=''
NTDB_LIBS=''
NTDB_OBJ=''
NTP_SIGND_SOCKET_DIR='${localstatedir}/run/ntp_signd'
OBJEXT=''
PACKAGE_BUGREPORT='samba-technical@samba.org'
PACKAGE_NAME='Samba'
PACKAGE_STRING='Samba 3'
PACKAGE_TARNAME='samba'
PACKAGE_URL=''
PACKAGE_VERSION='3'
PAMMODULESDIR='${exec_prefix}/lib/security'
PAM_MODULES=''
PASSDB_LIBS=''
PATH_SEPARATOR=':'
PDB_MODULES=''
PDB_STATIC=''
PERFCOUNT_MODULES=''
PERFCOUNT_STATIC=''
PERL=''
PICFLAG=''
PIDDIR='/var/run'
PIDL_ARGS=''
PIE_CFLAGS=''
PIE_LDFLAGS=''
PKGCONFIGDIR='${exec_prefix}/lib/pkgconfig'
PKG_CONFIG='/vol0/software/openwrt/trunk/staging_dir/host/bin/pkg-config'
POPTLIBS=''
PRINT_LIBS=''
PRIVATE_DIR='/etc/samba'
PRIVILEGED_SOCKET_DIR='${localstatedir}/lib'
PTHREADPOOLTEST=''
PTHREADPOOL_OBJ=''
PTHREAD_CFLAGS=''
PTHREAD_LDFLAGS=''
PYTHON=''
PYTHON_CONFIG=''
PYTHON_VER=''
RELRO_LDFLAGS=''
ROFF=''
SAMBA_CPPFLAGS=''
SBINDIR='/usr/sbin'
SCRIPTSBINDIR='/usr/sbin'
SETUPDIR='/usr/share/setup'
SHELL='/bin/bash'
SHLD=''
SHLIBEXT=''
SMBD_FAM_LIBS=''
SMBD_LIBS=''
SMBLDAP=''
SMB_FAM_LIBS=''
SMB_PASSWD_FILE='/etc/samba/smbpasswd'
SOCKET_DIR='${localstatedir}/run'
SOCKET_WRAPPER_OBJS=''
SONAMEFLAG=''
STATEDIR='${localstatedir}/locks'
SWATDIR='/usr/share/swat'
SWAT_INSTALL_TARGETS=''
SWAT_SBIN_TARGETS=''
SYMSEXT=''
TALLOCTORT=''
TALLOC_CFLAGS=''
TALLOC_LIBS=''
TALLOC_OBJ=''
TDBBACKUP=''
TDBDUMP=''
TDBRESTORE=''
TDBTOOL=''
TDBTORTURE=''
TDB_CFLAGS=''
TDB_DEPS=''
TDB_LIBS=''
TDB_OBJ=''
TERMLDFLAGS=''
TERMLIBS=''
TEVENT_CFLAGS=''
TEVENT_LIBS=''
TEVENT_OBJ=''
UID_WRAPPER_OBJS=''
UNINSTALLLIBCMD_A=''
UNINSTALLLIBCMD_SH=''
UNINSTALL_CIFSMOUNT=''
UNINSTALL_CIFSUMOUNT=''
UNINSTALL_CIFSUPCALL=''
UNINSTALL_LIBNETAPI=''
UNINSTALL_LIBNTDB=''
UNINSTALL_LIBSMBCLIENT=''
UNINSTALL_LIBSMBSHAREMODES=''
UNINSTALL_LIBTALLOC=''
UNINSTALL_LIBTDB=''
UNINSTALL_LIBWBCLIENT=''
UNINSTALL_PAM_MODULES=''
USESHARED=''
VFS_MODULES=''
VFS_STATIC=''
WBCLIENT_INCLUDES=''
WBCLIENT_LDFLAGS=''
WBCLIENT_LIBS=''
WINBINDD_PRIVILEGED_SOCKET_DIR='${localstatedir}/lib/winbindd_privileged'
WINBINDD_SOCKET_DIR='${localstatedir}/run/winbindd'
WINBIND_KRB5_LOCATOR=''
WINBIND_NSS=''
WINBIND_NSS_EXTRA_OBJS=''
WINBIND_NSS_LDSHFLAGS=''
WINBIND_WINS_NSS=''
ZFSACL_LIBS=''
ZLIB_LIBS=''
ZLIB_OBJS=''
ac_ct_CC=''
bindir='/usr/bin'
build='x86_64-pc-linux-gnu'
build_alias='x86_64-linux-gnu'
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='pc'
builddir='/vol0/software/openwrt/trunk/build_dir/target-i386_i486_eglibc-2.17/samba-4.0.5/source3'
ccandir=''
datadir='/usr/share'
datarootdir='${prefix}/share'
developer='no'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='/usr'
host='i486-openwrt-linux-gnu'
host_alias='i486-openwrt-linux'
host_cpu='i486'
host_os='linux-gnu'
host_vendor='openwrt'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='/usr/info'
libdir='${exec_prefix}/lib'
libexecdir='/usr/lib'
libreplace_cv_immediate_structures=''
libreplacedir='./../lib/replace'
localedir='${datarootdir}/locale'
localstatedir='/var'
mandir='/usr/man'
ntdbdir=''
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='/usr/sbin'
selftest='no'
selftest_prefix='./st'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
tallocdir=''
target='i486-openwrt-linux-gnu'
target_alias='i486-openwrt-linux'
target_cpu='i486'
target_os='linux-gnu'
target_vendor='openwrt'
tdbdir=''
teventdir=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "Samba"
#define PACKAGE_TARNAME "samba"
#define PACKAGE_VERSION "3"
#define PACKAGE_STRING "Samba 3"
#define PACKAGE_BUGREPORT "samba-technical@samba.org"
#define PACKAGE_URL ""
#define CONFIG_H_IS_FROM_SAMBA 1

configure: exit 77
tobiaswaldvogel commented 11 years ago

.... 486-openwrt-linux-gnu/bin/ld: cannot find libcom_err.so.3 ...

The problem is the missing libcom_err.so.3, which is provided by the krb5 package. Normally this package should be automatically selected.

If you are not interested in ldap and kerberos integration you can remove the dependencies from DEPENDS

+libopenldap +krb5-libs

in TARGET_LDFLAGS remove

-lkrb5 -l:libcom_err.so.3 -ldl -lgssapi_krb5 -lkrb5 \

and change the configure section to

... --without-ads \ --without-krb5 \ --without-ldap \ ...

Otherwise you may try to use the krb5 package from my package repository.

Best regards, Tobias