# project samba configured on Wed Dec 4 19:39:02 2019 by # waf 2.0.18 (abi 20, python 30800f0 on linux) # using ./buildtools/bin/waf configure --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 _python_sysroot=/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi _python_prefix=/usr _python_exec_prefix=/usr _python_sysroot=/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi _python_prefix=/usr _python_exec_prefix=/usr --hostcc=gcc --cross-compile --cross-answers=cross-answers.txt --disable-cups --disable-iprint --disable-cephfs --disable-fault-handling --disable-glusterfs --enable-fhs --without-automount --without-iconv --without-lttng --without-ntvfs-fileserver --without-pam --without-systemd --without-utmp --without-dmapi --without-fam --without-gettext --without-regedit --without-gpgme --accel-aes=none --with-lockdir=/var/lock --with-logfilebase=/var/log --with-piddir=/var/run --with-privatedir=/etc/samba --enable-avahi --without-winbind --with-static-modules=vfs_default,vfs_posixacl,auth_builtin,auth_sam,auth_unix,auth_script,auth_samba4,pdb_smbpasswd,pdb_tdbsam,pdb_samba_dsdb,pdb_ldapsam,!DEFAULT,!FORCED --with-shared-modules=vfs_default_quota,vfs_acl_xattr,vfs_acl_tdb,vfs_fruit,vfs_shadow_copy2,vfs_recycle,vfs_fake_perms,vfs_readonly,vfs_cap,vfs_offline,vfs_crossrename,vfs_catia,vfs_streams_xattr,vfs_xattr_tdb,vfs_audit,vfs_extd_audit,vfs_full_audit,!DEFAULT,!FORCED # ---------------------------------------- Setting top to /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2 ---------------------------------------- Setting out to /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin ---------------------------------------- Checking for 'gcc' (C compiler) find program=['gcc', 'cc'] paths=['/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/bin', '/root/openwrt/staging_dir/hostpkg/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/host/bin', '/root/openwrt/staging_dir/host/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin'] var='CC' -> ['arm-openwrt-linux-muslgnueabi-gcc'] ['arm-openwrt-linux-muslgnueabi-gcc', '-dM', '-E', '-'] out: #define __DBL_MIN_EXP__ (-1021) #define __HQ_FBIT__ 15 #define __FLT32X_MAX_EXP__ 1024 #define __UINT_LEAST16_MAX__ 0xffff #define __ARM_SIZEOF_WCHAR_T 4 #define __ATOMIC_ACQUIRE 2 #define __SFRACT_IBIT__ 0 #define __FLT_MIN__ 1.1754943508222875e-38F #define __GCC_IEC_559_COMPLEX 2 #define __UFRACT_MAX__ 0XFFFFP-16UR #define __UINT_LEAST8_TYPE__ unsigned char #define __DQ_FBIT__ 63 #define __INTMAX_C(c) c ## LL #define __ARM_FEATURE_SAT 1 #define __ULFRACT_FBIT__ 32 #define __SACCUM_EPSILON__ 0x1P-7HK #define __CHAR_BIT__ 8 #define __USQ_IBIT__ 0 #define __UINT8_MAX__ 0xff #define __ACCUM_FBIT__ 15 #define __WINT_MAX__ 0xffffffffU #define __FLT32_MIN_EXP__ (-125) #define __USFRACT_FBIT__ 8 #define __ORDER_LITTLE_ENDIAN__ 1234 #define __SIZE_MAX__ 0xffffffffU #define __ARM_ARCH_ISA_ARM 1 #define __WCHAR_MAX__ 0xffffffffU #define __LACCUM_IBIT__ 32 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2 1 #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 1 #define __DBL_DENORM_MIN__ ((double)4.9406564584124654e-324L) #define __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8 1 #define __GCC_ATOMIC_CHAR_LOCK_FREE 2 #define __GCC_IEC_559 2 #define __FLT32X_DECIMAL_DIG__ 17 #define __FLT_EVAL_METHOD__ 0 #define __unix__ 1 #define __LLACCUM_MAX__ 0X7FFFFFFFFFFFFFFFP-31LLK #define __FLT64_DECIMAL_DIG__ 17 #define __GCC_ATOMIC_CHAR32_T_LOCK_FREE 2 #define __FRACT_FBIT__ 15 #define __UINT_FAST64_MAX__ 0xffffffffffffffffULL #define __SIG_ATOMIC_TYPE__ int #define __UACCUM_FBIT__ 16 #define __DBL_MIN_10_EXP__ (-307) #define __FINITE_MATH_ONLY__ 0 #define __ARMEL__ 1 #define __ARM_FEATURE_UNALIGNED 1 #define __LFRACT_IBIT__ 0 #define __GNUC_PATCHLEVEL__ 0 #define __FLT32_HAS_DENORM__ 1 #define __LFRACT_MAX__ 0X7FFFFFFFP-31LR #define __UINT_FAST8_MAX__ 0xff #define __has_include(STR) __has_include__(STR) #define __DEC64_MAX_EXP__ 385 #define __INT8_C(c) c #define __INT_LEAST8_WIDTH__ 8 #define __UINT_LEAST64_MAX__ 0xffffffffffffffffULL #define __SA_FBIT__ 15 #define __SHRT_MAX__ 0x7fff #define __LDBL_MAX__ 1.7976931348623157e+308L #define __FRACT_MAX__ 0X7FFFP-15R #define __UFRACT_FBIT__ 16 #define __ARM_FP 12 #define __UFRACT_MIN__ 0.0UR #define __UINT_LEAST8_MAX__ 0xff #define __GCC_ATOMIC_BOOL_LOCK_FREE 2 #define __UINTMAX_TYPE__ long long unsigned int #define __LLFRACT_EPSILON__ 0x1P-63LLR #define __linux 1 #define __DEC32_EPSILON__ 1E-6DF #define __FLT_EVAL_METHOD_TS_18661_3__ 0 #define __CHAR_UNSIGNED__ 1 #define __UINT32_MAX__ 0xffffffffU #define __ULFRACT_MAX__ 0XFFFFFFFFP-32ULR #define __TA_IBIT__ 64 #define __LDBL_MAX_EXP__ 1024 #define __WINT_MIN__ 0U #define __linux__ 1 #define __INT_LEAST16_WIDTH__ 16 #define __ULLFRACT_MIN__ 0.0ULLR #define __SCHAR_MAX__ 0x7f #define __WCHAR_MIN__ 0U #define __INT64_C(c) c ## LL #define __DBL_DIG__ 15 #define __GCC_ATOMIC_POINTER_LOCK_FREE 2 #define __LLACCUM_MIN__ (-0X1P31LLK-0X1P31LLK) #define __SIZEOF_INT__ 4 #define __SIZEOF_POINTER__ 4 #define __USACCUM_IBIT__ 8 #define __USER_LABEL_PREFIX__ #define __STDC_HOSTED__ 1 #define __LDBL_HAS_INFINITY__ 1 #define __LFRACT_MIN__ (-0.5LR-0.5LR) #define __HA_IBIT__ 8 #define __FLT32_DIG__ 6 #define __TQ_IBIT__ 0 #define __FLT_EPSILON__ 1.1920928955078125e-7F #define __APCS_32__ 1 #define __SHRT_WIDTH__ 16 #define __USFRACT_IBIT__ 0 #define __LDBL_MIN__ 2.2250738585072014e-308L #define __STDC_UTF_16__ 1 #define __FRACT_MIN__ (-0.5R-0.5R) #define __DEC32_MAX__ 9.999999E96DF #define __DA_IBIT__ 32 #define __ARM_SIZEOF_MINIMAL_ENUM 4 #define __FLT32X_HAS_INFINITY__ 1 #define __INT32_MAX__ 0x7fffffff #define __UQQ_FBIT__ 8 #define __INT_WIDTH__ 32 #define __SIZEOF_LONG__ 4 #define __UACCUM_MAX__ 0XFFFFFFFFP-16UK #define __STDC_IEC_559__ 1 #define __STDC_ISO_10646__ 201206L #define __UINT16_C(c) c #define __PTRDIFF_WIDTH__ 32 #define __DECIMAL_DIG__ 17 #define __LFRACT_EPSILON__ 0x1P-31LR #define __FLT64_EPSILON__ 2.2204460492503131e-16F64 #define __ULFRACT_MIN__ 0.0ULR #define __INTMAX_WIDTH__ 64 #define __has_include_next(STR) __has_include_next__(STR) #define __ARM_PCS_VFP 1 #define __LDBL_HAS_QUIET_NAN__ 1 #define __ULACCUM_IBIT__ 32 #define __FLT64_MANT_DIG__ 53 #define __UACCUM_EPSILON__ 0x1P-16UK #define __GNUC__ 8 #define __ULLACCUM_MAX__ 0XFFFFFFFFFFFFFFFFP-32ULLK #define __HQ_IBIT__ 0 #define __FLT_HAS_DENORM__ 1 #define __SIZEOF_LONG_DOUBLE__ 8 #define __BIGGEST_ALIGNMENT__ 8 #define __FLT64_MAX_10_EXP__ 308 #define __GNUC_STDC_INLINE__ 1 #define __DQ_IBIT__ 0 #define __DBL_MAX__ ((double)1.7976931348623157e+308L) #define __ULFRACT_IBIT__ 0 #define __INT_FAST32_MAX__ 0x7fffffff #define __DBL_HAS_INFINITY__ 1 #define __ACCUM_IBIT__ 16 #define __DEC32_MIN_EXP__ (-94) #define __THUMB_INTERWORK__ 1 #define __INTPTR_WIDTH__ 32 #define __LACCUM_MAX__ 0X7FFFFFFFFFFFFFFFP-31LK #define __FLT32X_HAS_DENORM__ 1 #define __INT_FAST16_TYPE__ int #define __LDBL_HAS_DENORM__ 1 #define __ARM_FEATURE_LDREX 15 #define __DEC128_MAX__ 9.999999999999999999999999999999999E6144DL #define __INT_LEAST32_MAX__ 0x7fffffff #define __DEC32_MIN__ 1E-95DF #define __ACCUM_MAX__ 0X7FFFFFFFP-15K #define __DBL_MAX_EXP__ 1024 #define __USACCUM_EPSILON__ 0x1P-8UHK #define __WCHAR_WIDTH__ 32 #define __FLT32_MAX__ 3.4028234663852886e+38F32 #define __DEC128_EPSILON__ 1E-33DL #define __SFRACT_MAX__ 0X7FP-7HR #define __FRACT_IBIT__ 0 #define __PTRDIFF_MAX__ 0x7fffffff #define __UACCUM_MIN__ 0.0UK #define __UACCUM_IBIT__ 16 #define __FLT32_HAS_QUIET_NAN__ 1 #define __LONG_LONG_MAX__ 0x7fffffffffffffffLL #define __SIZEOF_SIZE_T__ 4 #define __ULACCUM_MAX__ 0XFFFFFFFFFFFFFFFFP-32ULK #define __SIZEOF_WINT_T__ 4 #define __LONG_LONG_WIDTH__ 64 #define __FLT32_MAX_EXP__ 128 #define __SA_IBIT__ 16 #define __ULLACCUM_MIN__ 0.0ULLK #define __GXX_ABI_VERSION 1013 #define __UTA_FBIT__ 64 #define __FLT_MIN_EXP__ (-125) #define __USFRACT_MAX__ 0XFFP-8UHR #define __UFRACT_IBIT__ 0 #define __ARM_FEATURE_QBIT 1 #define __INT_FAST64_TYPE__ long long int #define __FLT64_DENORM_MIN__ 4.9406564584124654e-324F64 #define __DBL_MIN__ ((double)2.2250738585072014e-308L) #define __FLT32X_EPSILON__ 2.2204460492503131e-16F32x #define __FLT64_MIN_EXP__ (-1021) #define __LACCUM_MIN__ (-0X1P31LK-0X1P31LK) #define __ULLACCUM_FBIT__ 32 #define __GXX_TYPEINFO_EQUALITY_INLINE 0 #define __FLT64_MIN_10_EXP__ (-307) #define __ULLFRACT_EPSILON__ 0x1P-64ULLR #define __DEC128_MIN__ 1E-6143DL #define __REGISTER_PREFIX__ #define __UINT16_MAX__ 0xffff #define __DBL_HAS_DENORM__ 1 #define __ACCUM_MIN__ (-0X1P15K-0X1P15K) #define __SQ_IBIT__ 0 #define __FLT32_MIN__ 1.1754943508222875e-38F32 #define __UINT8_TYPE__ unsigned char #define __UHA_FBIT__ 8 #define __NO_INLINE__ 1 #define __SFRACT_MIN__ (-0.5HR-0.5HR) #define __UTQ_FBIT__ 128 #define __FLT_MANT_DIG__ 24 #define __LDBL_DECIMAL_DIG__ 17 #define __VERSION__ "8.3.0" #define __UINT64_C(c) c ## ULL #define __ULLFRACT_FBIT__ 64 #define __FRACT_EPSILON__ 0x1P-15R #define __ULACCUM_MIN__ 0.0ULK #define _STDC_PREDEF_H #define __UDA_FBIT__ 32 #define __LLACCUM_EPSILON__ 0x1P-31LLK #define __GCC_ATOMIC_INT_LOCK_FREE 2 #define __FLT32_MANT_DIG__ 24 #define __FLOAT_WORD_ORDER__ __ORDER_LITTLE_ENDIAN__ #define __USFRACT_MIN__ 0.0UHR #define __UQQ_IBIT__ 0 #define __SCHAR_WIDTH__ 8 #define __INT32_C(c) c #define __DEC64_EPSILON__ 1E-15DD #define __ORDER_PDP_ENDIAN__ 3412 #define __DEC128_MIN_EXP__ (-6142) #define __UHQ_FBIT__ 16 #define __LLACCUM_FBIT__ 31 #define __FLT32_MAX_10_EXP__ 38 #define __INT_FAST32_TYPE__ int #define __UINT_LEAST16_TYPE__ short unsigned int #define unix 1 #define __INT16_MAX__ 0x7fff #define __SIZE_TYPE__ unsigned int #define __UINT64_MAX__ 0xffffffffffffffffULL #define __UDQ_FBIT__ 64 #define __INT8_TYPE__ signed char #define __ELF__ 1 #define __ULFRACT_EPSILON__ 0x1P-32ULR #define __LLFRACT_FBIT__ 63 #define __FLT_RADIX__ 2 #define __INT_LEAST16_TYPE__ short int #define __ARM_ARCH_PROFILE 65 #define __LDBL_EPSILON__ 2.2204460492503131e-16L #define __UINTMAX_C(c) c ## ULL #define __SACCUM_MAX__ 0X7FFFP-7HK #define __SIG_ATOMIC_MAX__ 0x7fffffff #define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2 #define __VFP_FP__ 1 #define __SIZEOF_PTRDIFF_T__ 4 #define __FLT32X_MANT_DIG__ 53 #define __LACCUM_EPSILON__ 0x1P-31LK #define __FLT32X_MIN_EXP__ (-1021) #define __DEC32_SUBNORMAL_MIN__ 0.000001E-95DF #define __INT_FAST16_MAX__ 0x7fffffff #define __FLT64_DIG__ 15 #define __UINT_FAST32_MAX__ 0xffffffffU #define __UINT_LEAST64_TYPE__ long long unsigned int #define __USACCUM_MAX__ 0XFFFFP-8UHK #define __SFRACT_EPSILON__ 0x1P-7HR #define __FLT_HAS_QUIET_NAN__ 1 #define __FLT_MAX_10_EXP__ 38 #define __LONG_MAX__ 0x7fffffffL #define __DEC128_SUBNORMAL_MIN__ 0.000000000000000000000000000000001E-6143DL #define __FLT_HAS_INFINITY__ 1 #define __unix 1 #define __USA_FBIT__ 16 #define __UINT_FAST16_TYPE__ unsigned int #define __DEC64_MAX__ 9.999999999999999E384DD #define __ARM_32BIT_STATE 1 #define __INT_FAST32_WIDTH__ 32 #define __CHAR16_TYPE__ short unsigned int #define __PRAGMA_REDEFINE_EXTNAME 1 #define __SIZE_WIDTH__ 32 #define __INT_LEAST16_MAX__ 0x7fff #define __DEC64_MANT_DIG__ 16 #define __INT64_MAX__ 0x7fffffffffffffffLL #define __UINT_LEAST32_MAX__ 0xffffffffU #define __SACCUM_FBIT__ 7 #define __FLT32_DENORM_MIN__ 1.4012984643248171e-45F32 #define __GCC_ATOMIC_LONG_LOCK_FREE 2 #define __SIG_ATOMIC_WIDTH__ 32 #define __INT_LEAST64_TYPE__ long long int #define __ARM_FEATURE_CLZ 1 #define __INT16_TYPE__ short int #define __INT_LEAST8_TYPE__ signed char #define __STDC_VERSION__ 201710L #define __SQ_FBIT__ 31 #define __DEC32_MAX_EXP__ 97 #define __ARM_ARCH_ISA_THUMB 2 #define __INT_FAST8_MAX__ 0x7f #define __ARM_ARCH 7 #define __INTPTR_MAX__ 0x7fffffff #define __QQ_FBIT__ 7 #define linux 1 #define __UTA_IBIT__ 64 #define __FLT64_HAS_QUIET_NAN__ 1 #define __FLT32_MIN_10_EXP__ (-37) #define __FLT32X_DIG__ 15 #define __LDBL_MANT_DIG__ 53 #define __SFRACT_FBIT__ 7 #define __SACCUM_MIN__ (-0X1P7HK-0X1P7HK) #define __DBL_HAS_QUIET_NAN__ 1 #define __FLT64_HAS_INFINITY__ 1 #define __SIG_ATOMIC_MIN__ (-__SIG_ATOMIC_MAX__ - 1) #define __INTPTR_TYPE__ int #define __UINT16_TYPE__ short unsigned int #define __WCHAR_TYPE__ unsigned int #define __SIZEOF_FLOAT__ 4 #define __USQ_FBIT__ 32 #define __UINTPTR_MAX__ 0xffffffffU #define __INT_FAST64_WIDTH__ 64 #define __DEC64_MIN_EXP__ (-382) #define __ULLACCUM_IBIT__ 32 #define __FLT32_DECIMAL_DIG__ 9 #define __INT_FAST64_MAX__ 0x7fffffffffffffffLL #define __GCC_ATOMIC_TEST_AND_SET_TRUEVAL 1 #define __FLT_DIG__ 6 #define __FLT32_HAS_INFINITY__ 1 #define __UINT_FAST64_TYPE__ long long unsigned int #define __INT_MAX__ 0x7fffffff #define __LACCUM_FBIT__ 31 #define __USACCUM_MIN__ 0.0UHK #define __UHA_IBIT__ 8 #define __INT64_TYPE__ long long int #define __FLT_MAX_EXP__ 128 #define __UTQ_IBIT__ 0 #define __DBL_MANT_DIG__ 53 #define __INT_LEAST64_MAX__ 0x7fffffffffffffffLL #define __GCC_ATOMIC_CHAR16_T_LOCK_FREE 2 #define __DEC64_MIN__ 1E-383DD #define __WINT_TYPE__ unsigned int #define __UINT_LEAST32_TYPE__ unsigned int #define __SIZEOF_SHORT__ 2 #define __ULLFRACT_IBIT__ 0 #define __LDBL_MIN_EXP__ (-1021) #define __arm__ 1 #define __FLT64_MAX__ 1.7976931348623157e+308F64 #define __UDA_IBIT__ 32 #define __WINT_WIDTH__ 32 #define __INT_LEAST8_MAX__ 0x7f #define __FLT32X_MAX_10_EXP__ 308 #define __LFRACT_FBIT__ 31 #define __ARM_ARCH_7A__ 1 #define __LDBL_MAX_10_EXP__ 308 #define __ATOMIC_RELAXED 0 #define __DBL_EPSILON__ ((double)2.2204460492503131e-16L) #define __ARM_FEATURE_SIMD32 1 #define __UINT8_C(c) c #define __FLT64_MAX_EXP__ 1024 #define __INT_LEAST32_TYPE__ int #define __SIZEOF_WCHAR_T__ 4 #define __UINT64_TYPE__ long long unsigned int #define __LLFRACT_MAX__ 0X7FFFFFFFFFFFFFFFP-63LLR #define __TQ_FBIT__ 127 #define __INT_FAST8_TYPE__ signed char #define __ULLACCUM_EPSILON__ 0x1P-32ULLK #define __UHQ_IBIT__ 0 #define __ARM_FEATURE_COPROC 15 #define __LLACCUM_IBIT__ 32 #define __FLT64_HAS_DENORM__ 1 #define __FLT32_EPSILON__ 1.1920928955078125e-7F32 #define __DBL_DECIMAL_DIG__ 17 #define __STDC_UTF_32__ 1 #define __INT_FAST8_WIDTH__ 8 #define __DEC_EVAL_METHOD__ 2 #define __FLT32X_MAX__ 1.7976931348623157e+308F32x #define __TA_FBIT__ 63 #define __UDQ_IBIT__ 0 #define __ORDER_BIG_ENDIAN__ 4321 #define __ACCUM_EPSILON__ 0x1P-15K #define __UINT32_C(c) c ## U #define __INTMAX_MAX__ 0x7fffffffffffffffLL #define __BYTE_ORDER__ __ORDER_LITTLE_ENDIAN__ #define __FLT_DENORM_MIN__ 1.4012984643248171e-45F #define __LLFRACT_IBIT__ 0 #define __INT8_MAX__ 0x7f #define __LONG_WIDTH__ 32 #define __UINT_FAST32_TYPE__ unsigned int #define __CHAR32_TYPE__ unsigned int #define __FLT_MAX__ 3.4028234663852886e+38F #define __USACCUM_FBIT__ 8 #define __INT32_TYPE__ int #define __SIZEOF_DOUBLE__ 8 #define __FLT_MIN_10_EXP__ (-37) #define __UFRACT_EPSILON__ 0x1P-16UR #define __FLT64_MIN__ 2.2250738585072014e-308F64 #define __INT_LEAST32_WIDTH__ 32 #define __INTMAX_TYPE__ long long int #define __DEC128_MAX_EXP__ 6145 #define __FLT32X_HAS_QUIET_NAN__ 1 #define __ATOMIC_CONSUME 1 #define __GNUC_MINOR__ 3 #define __INT_FAST16_WIDTH__ 32 #define __UINTMAX_MAX__ 0xffffffffffffffffULL #define __DEC32_MANT_DIG__ 7 #define __FLT32X_DENORM_MIN__ 4.9406564584124654e-324F32x #define __HA_FBIT__ 7 #define __DBL_MAX_10_EXP__ 308 #define __LDBL_DENORM_MIN__ 4.9406564584124654e-324L #define __INT16_C(c) c #define __STDC__ 1 #define __PTRDIFF_TYPE__ int #define __LLFRACT_MIN__ (-0.5LLR-0.5LLR) #define __ATOMIC_SEQ_CST 5 #define __DA_FBIT__ 31 #define __UINT32_TYPE__ unsigned int #define __FLT32X_MIN_10_EXP__ (-307) #define __UINTPTR_TYPE__ unsigned int #define __USA_IBIT__ 16 #define __DEC64_SUBNORMAL_MIN__ 0.000000000000001E-383DD #define __ARM_EABI__ 1 #define __DEC128_MANT_DIG__ 34 #define __LDBL_MIN_10_EXP__ (-307) #define __SIZEOF_LONG_LONG__ 8 #define __ULACCUM_EPSILON__ 0x1P-32ULK #define __SACCUM_IBIT__ 8 #define __GCC_ATOMIC_LLONG_LOCK_FREE 2 #define __FLT32X_MIN__ 2.2250738585072014e-308F32x #define __LDBL_DIG__ 15 #define __FLT_DECIMAL_DIG__ 9 #define __UINT_FAST16_MAX__ 0xffffffffU #define __GCC_ATOMIC_SHORT_LOCK_FREE 2 #define __INT_LEAST64_WIDTH__ 64 #define __ULLFRACT_MAX__ 0XFFFFFFFFFFFFFFFFP-64ULLR #define __UINT_FAST8_TYPE__ unsigned char #define __USFRACT_EPSILON__ 0x1P-8UHR #define __ULACCUM_FBIT__ 32 #define __ARM_FEATURE_DSP 1 #define __QQ_IBIT__ 0 #define __ATOMIC_ACQ_REL 4 #define __ATOMIC_RELEASE 3 find program=['ar'] paths=['/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/bin', '/root/openwrt/staging_dir/hostpkg/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/host/bin', '/root/openwrt/staging_dir/host/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin'] var='AR' -> ['arm-openwrt-linux-muslgnueabi-gcc-ar'] arm-openwrt-linux-muslgnueabi-gcc ---------------------------------------- Checking for program 'git' /root/openwrt/staging_dir/host/bin/git find program=['git'] paths=['/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/bin', '/root/openwrt/staging_dir/hostpkg/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/host/bin', '/root/openwrt/staging_dir/host/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin'] var='GIT' -> ['/root/openwrt/staging_dir/host/bin/git'] ---------------------------------------- Checking for c flags '-MMD' ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" int main() { return 0; } <== [1/1] Compiling bin/.conf_check_deb07616adf8db0dc8cb4c8352fd2d26/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_deb07616adf8db0dc8cb4c8352fd2d26/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes ---------------------------------------- Checking for program 'gdb' not found find program=['gdb'] paths=['/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/bin', '/root/openwrt/staging_dir/hostpkg/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/host/bin', '/root/openwrt/staging_dir/host/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin'] var='GDB' -> None from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/buildtools/wafsamba: Could not find the program ['gdb'] ---------------------------------------- Checking for header sys/utsname.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_089e54877662c7cfb96079396ffaec7d/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_089e54877662c7cfb96079396ffaec7d/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes ---------------------------------------- Checking uname sysname type ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #include int main(void) { int printf(const char *format, ...); struct utsname n; if (uname(&n) == -1) return -1; printf("%s", n.sysname); ; return 0; } <== [1/3] Compiling bin/.conf_check_3321a99fcb5293a5b4b02687b1954620/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_3321a99fcb5293a5b4b02687b1954620/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/3] Linking bin/.conf_check_3321a99fcb5293a5b4b02687b1954620/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_3321a99fcb5293a5b4b02687b1954620/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] [3/3] Processing bin/.conf_check_3321a99fcb5293a5b4b02687b1954620/testbuild/default/testprog ['/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_3321a99fcb5293a5b4b02687b1954620/testbuild/default/testprog', '--cross-answers', '/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/cross-answers.txt', 'Checking uname sysname type'] out: Linux Linux ---------------------------------------- Checking uname machine type ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #include int main(void) { int printf(const char *format, ...); struct utsname n; if (uname(&n) == -1) return -1; printf("%s", n.machine); ; return 0; } <== [1/3] Compiling bin/.conf_check_6f673e05d232e5602341c7278a331177/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_6f673e05d232e5602341c7278a331177/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/3] Linking bin/.conf_check_6f673e05d232e5602341c7278a331177/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_6f673e05d232e5602341c7278a331177/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] [3/3] Processing bin/.conf_check_6f673e05d232e5602341c7278a331177/testbuild/default/testprog ['/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_6f673e05d232e5602341c7278a331177/testbuild/default/testprog', '--cross-answers', '/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/cross-answers.txt', 'Checking uname machine type'] out: arm arm ---------------------------------------- Checking uname release type ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #include int main(void) { int printf(const char *format, ...); struct utsname n; if (uname(&n) == -1) return -1; printf("%s", n.release); ; return 0; } <== [1/3] Compiling bin/.conf_check_31772d1650fd7a7c1d6e07fca2c0a978/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_31772d1650fd7a7c1d6e07fca2c0a978/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/3] Linking bin/.conf_check_31772d1650fd7a7c1d6e07fca2c0a978/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_31772d1650fd7a7c1d6e07fca2c0a978/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] [3/3] Processing bin/.conf_check_31772d1650fd7a7c1d6e07fca2c0a978/testbuild/default/testprog ['/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_31772d1650fd7a7c1d6e07fca2c0a978/testbuild/default/testprog', '--cross-answers', '/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/cross-answers.txt', 'Checking uname release type'] out: 4.19.86 4.19.86 ---------------------------------------- Checking uname version type ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #include int main(void) { int printf(const char *format, ...); struct utsname n; if (uname(&n) == -1) return -1; printf("%s", n.version); ; return 0; } <== [1/3] Compiling bin/.conf_check_405be4423eb90edeac2733dca84ab585/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_405be4423eb90edeac2733dca84ab585/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/3] Linking bin/.conf_check_405be4423eb90edeac2733dca84ab585/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_405be4423eb90edeac2733dca84ab585/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] [3/3] Processing bin/.conf_check_405be4423eb90edeac2733dca84ab585/testbuild/default/testprog ['/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_405be4423eb90edeac2733dca84ab585/testbuild/default/testprog', '--cross-answers', '/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/cross-answers.txt', 'Checking uname version type'] out: OpenWrt Linux-4.19.86 2019-12-04 OpenWrt Linux-4.19.86 2019-12-04 ---------------------------------------- Checking for header stdio.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_377b595068b07e308ead5d42b7e824ab/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_377b595068b07e308ead5d42b7e824ab/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes ---------------------------------------- Checking simple C program ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #include int main(void) { printf("hello world"); return 0; } <== [1/3] Compiling bin/.conf_check_836bc89f69133c6c101ad5cee3b08f5a/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_836bc89f69133c6c101ad5cee3b08f5a/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/3] Linking bin/.conf_check_836bc89f69133c6c101ad5cee3b08f5a/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_836bc89f69133c6c101ad5cee3b08f5a/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] [3/3] Processing bin/.conf_check_836bc89f69133c6c101ad5cee3b08f5a/testbuild/default/testprog ['/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_836bc89f69133c6c101ad5cee3b08f5a/testbuild/default/testprog', '--cross-answers', '/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/cross-answers.txt', 'Checking simple C program'] out: hello world ok ---------------------------------------- Checking compiler accepts ['-Werror'] ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_bb8992d6a31ec28c7f7f8f58d3e2855e/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-Werror', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_bb8992d6a31ec28c7f7f8f58d3e2855e/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes ---------------------------------------- Checking linker accepts ['-Wl,-rpath,.'] ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 int main(void) { return 0; } <== [1/2] Compiling bin/.conf_check_35503dd32b2f8d100c49968ab0de21ef/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_35503dd32b2f8d100c49968ab0de21ef/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_35503dd32b2f8d100c49968ab0de21ef/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_35503dd32b2f8d100c49968ab0de21ef/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections', '-Wl,-rpath,.'] yes ---------------------------------------- Checking for rpath library support [1/5] Compiling bin/.conf_check_e861b4a0fafd40bc65cc32443fbb01ab/libdir/liblc1.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-fPIC', '../../libdir/liblc1.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_e861b4a0fafd40bc65cc32443fbb01ab/testbuild/default/libdir/liblc1.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/5] Compiling bin/.conf_check_e861b4a0fafd40bc65cc32443fbb01ab/main.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '../../main.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_e861b4a0fafd40bc65cc32443fbb01ab/testbuild/default/main.c.2.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [3/5] Linking bin/.conf_check_e861b4a0fafd40bc65cc32443fbb01ab/testbuild/default/liblib1.so ['arm-openwrt-linux-muslgnueabi-gcc', '-shared', 'libdir/liblc1.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_e861b4a0fafd40bc65cc32443fbb01ab/testbuild/default/liblib1.so', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] err: ../../main.c: In function 'main': ../../main.c:1:26: warning: implicit declaration of function 'lib_func' [-Wimplicit-function-declaration] int main(void) {return !(lib_func() == 42);} ^~~~~~~~ [4/5] Linking bin/.conf_check_e861b4a0fafd40bc65cc32443fbb01ab/testbuild/default/prog1 ['arm-openwrt-linux-muslgnueabi-gcc', 'main.c.2.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_e861b4a0fafd40bc65cc32443fbb01ab/testbuild/default/prog1', '-Wl,-rpath,/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_e861b4a0fafd40bc65cc32443fbb01ab/libdir', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_e861b4a0fafd40bc65cc32443fbb01ab/testbuild/default', '-llib1', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] [5/5] Processing bin/.conf_check_e861b4a0fafd40bc65cc32443fbb01ab/testbuild/default/prog1 ['/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_e861b4a0fafd40bc65cc32443fbb01ab/testbuild/default/prog1', '--cross-answers', '/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/cross-answers.txt', 'rpath library support'] yes ----------------------------------------- Checking for -Wl,--version-script support [1/5] Compiling bin/.conf_check_f15698cb80b4c0cdb81a23b9f3bbc5c1/libdir/liblc1.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-fPIC', '../../libdir/liblc1.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f15698cb80b4c0cdb81a23b9f3bbc5c1/testbuild/default/libdir/liblc1.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/5] Compiling bin/.conf_check_f15698cb80b4c0cdb81a23b9f3bbc5c1/main.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '../../main.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f15698cb80b4c0cdb81a23b9f3bbc5c1/testbuild/default/main.c.2.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [3/5] Linking bin/.conf_check_f15698cb80b4c0cdb81a23b9f3bbc5c1/testbuild/default/liblib1.so ['arm-openwrt-linux-muslgnueabi-gcc', '-Wl,--version-script=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f15698cb80b4c0cdb81a23b9f3bbc5c1/ldscript', '-shared', 'libdir/liblc1.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f15698cb80b4c0cdb81a23b9f3bbc5c1/testbuild/default/liblib1.so', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] err: ../../main.c: In function 'main': ../../main.c:1:26: warning: implicit declaration of function 'lib_func' [-Wimplicit-function-declaration] int main(void) {return !(lib_func() == 42);} ^~~~~~~~ [4/5] Linking bin/.conf_check_f15698cb80b4c0cdb81a23b9f3bbc5c1/testbuild/default/prog1 ['arm-openwrt-linux-muslgnueabi-gcc', 'main.c.2.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f15698cb80b4c0cdb81a23b9f3bbc5c1/testbuild/default/prog1', '-Wl,-rpath,/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f15698cb80b4c0cdb81a23b9f3bbc5c1/libdir', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f15698cb80b4c0cdb81a23b9f3bbc5c1/testbuild/default', '-llib1', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] [5/5] Processing bin/.conf_check_f15698cb80b4c0cdb81a23b9f3bbc5c1/testbuild/default/prog1 ['/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f15698cb80b4c0cdb81a23b9f3bbc5c1/testbuild/default/prog1', '--cross-answers', '/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/cross-answers.txt', '-Wl,--version-script support'] yes ------------------------------------------------- Checking compiler accepts ['-fvisibility=hidden'] ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_80fa2d04883f4cc174ae8772deac1257/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-fvisibility=hidden', '-Werror', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_80fa2d04883f4cc174ae8772deac1257/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes ------------------------------------------------- Checking for HAVE_VISIBILITY_ATTR ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 int main(void) { return 0; } __attribute__((visibility("default"))) void vis_foo2(void) {} <== [1/2] Compiling bin/.conf_check_a9f2ea9550ab37cc4099cc621e7c19cb/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-fvisibility=hidden', '-Werror', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_a9f2ea9550ab37cc4099cc621e7c19cb/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_a9f2ea9550ab37cc4099cc621e7c19cb/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_a9f2ea9550ab37cc4099cc621e7c19cb/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok ------------------------------------------------- Checking for library constructor support ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 void test_constructor_attribute(void) __attribute__ ((constructor)); void test_constructor_attribute(void) { return; } int main(void) { return 0; } <== [1/2] Compiling bin/.conf_check_93db12fb7f784ce514f6c903ba4fd562/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-Werror', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_93db12fb7f784ce514f6c903ba4fd562/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_93db12fb7f784ce514f6c903ba4fd562/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_93db12fb7f784ce514f6c903ba4fd562/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok ------------------------------------------------- Checking for library destructor support ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 void test_destructor_attribute(void) __attribute__ ((destructor)); void test_destructor_attribute(void) { return; } int main(void) { return 0; } <== [1/2] Compiling bin/.conf_check_4345ca931558dcef84612251bc580eeb/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-Werror', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_4345ca931558dcef84612251bc580eeb/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_4345ca931558dcef84612251bc580eeb/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_4345ca931558dcef84612251bc580eeb/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok ------------------------------------------------- Checking for __attribute__ ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 void test_attribute(void) __attribute__ (()); void test_attribute(void) { return; } int main(void) { return 0; } <== [1/2] Compiling bin/.conf_check_4fcb53ce777c6570e251da2d07a1f41a/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-Werror', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_4fcb53ce777c6570e251da2d07a1f41a/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_4fcb53ce777c6570e251da2d07a1f41a/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_4fcb53ce777c6570e251da2d07a1f41a/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok ------------------------------------------------- Checking compiler accepts ['-fPIC'] ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_f31d3647beab5751ea5396633b9bef8e/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-fPIC', '-Werror', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f31d3647beab5751ea5396633b9bef8e/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes ------------------------------------------------- Checking for inline ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 typedef int foo_t; static inline foo_t static_foo () {return 0; } inline foo_t foo () {return 0; } <== [1/1] Compiling bin/.conf_check_97fcad068833ed1d36d83587a644d3ec/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_97fcad068833ed1d36d83587a644d3ec/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] inline ------------------------------------------------- Checking for program 'pkg-config' /root/openwrt/staging_dir/host/bin/pkg-config find program=['pkg-config'] paths=['/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/host/bin', '/root/openwrt/staging_dir/hostpkg/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/bin', '/root/openwrt/staging_dir/host/bin', '/root/openwrt/staging_dir/host/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin'] var='PKGCONFIG' -> ['/root/openwrt/staging_dir/host/bin/pkg-config'] ------------------------------------------------- Checking for pkg-config version >= '0.0.0' ['/root/openwrt/staging_dir/host/bin/pkg-config', '--atleast-pkgconfig-version=0.0.0'] yes -------------------------------------------------------- Checking compiler accepts ['-D__STDC_WANT_LIB_EXT1__=1'] ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_5308e61ad53f5c876593402ccc751b5d/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-D__STDC_WANT_LIB_EXT1__=1', '-Werror', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_5308e61ad53f5c876593402ccc751b5d/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking compiler accepts [''] ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 struct foo {int x;char y;}; struct foo bar = { .y = 'X', .x = 1 }; <== [1/1] Compiling bin/.conf_check_ec4cfb7d99f1f7e32b78014ad72acfac/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-Werror', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_ec4cfb7d99f1f7e32b78014ad72acfac/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header sys/types.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_37bd5314e20c313905f0e3321b7df5c4/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_37bd5314e20c313905f0e3321b7df5c4/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header sys/stat.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 1 #define INLINE_MACRO 1 #define _GNU_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #define HAVE_SYS_TYPES_H 1 #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_6ac1f3ffb772230c12aee5d5d61545db/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_6ac1f3ffb772230c12aee5d5d61545db/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header stdlib.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_5419a95a00232ad0f9ccf3193b3e1864/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_5419a95a00232ad0f9ccf3193b3e1864/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header stddef.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_fba291cb1f45e1c85723887522d09930/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_fba291cb1f45e1c85723887522d09930/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header memory.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_222766eb77c8519a44c4d8f1de7c4053/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_222766eb77c8519a44c4d8f1de7c4053/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header string.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_c69828b900dcd0790e3544653dfd03cf/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_c69828b900dcd0790e3544653dfd03cf/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header strings.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_df540033b3844090b805dfa6e2ce48e1/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_df540033b3844090b805dfa6e2ce48e1/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header inttypes.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_598de1713e831c08e451f1fa54c52b24/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_598de1713e831c08e451f1fa54c52b24/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header stdint.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_03bea3a8f349a5365762f435ef6382ed/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_03bea3a8f349a5365762f435ef6382ed/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header unistd.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_b4f228a24fc51c346ed7e247c7099c48/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_b4f228a24fc51c346ed7e247c7099c48/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header minix/config.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_8b56f6a6c919ead9e2d9b9a48ca4b512/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_8b56f6a6c919ead9e2d9b9a48ca4b512/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:41:10: fatal error: minix/config.h: No such file or directory #include ^~~~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/buildtools/wafsamba: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/buildtools/wafsamba: The configuration failed -------------------------------------------------------- Checking for header ctype.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_c15d28819608c62a9510f187a47a1c3b/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_c15d28819608c62a9510f187a47a1c3b/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header standards.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_bdf3c481c0ec754be9b4ddea9ac7b0e6/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_bdf3c481c0ec754be9b4ddea9ac7b0e6/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:43:10: fatal error: standards.h: No such file or directory #include ^~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/buildtools/wafsamba: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/buildtools/wafsamba: The configuration failed -------------------------------------------------------- Checking for header stdbool.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_1dc7828205f0c1ad43153da94046be14/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_1dc7828205f0c1ad43153da94046be14/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header stdarg.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_e1c73abbb6aa3eafdbd5ecec0c00f314/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_e1c73abbb6aa3eafdbd5ecec0c00f314/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header vararg.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_f63d835ac0308b62bb6f2b3050183fd7/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f63d835ac0308b62bb6f2b3050183fd7/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:47:10: fatal error: vararg.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/buildtools/wafsamba: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/buildtools/wafsamba: The configuration failed -------------------------------------------------------- Checking for header limits.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_2c05120423be875fb3d584d884b3f917/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_2c05120423be875fb3d584d884b3f917/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header assert.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_9f1bf6cb68a0f059c4cac710b302349c/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_9f1bf6cb68a0f059c4cac710b302349c/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking getconf LFS_CFLAGS not found -------------------------------------------------------- Checking for large file support without additional flags ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { if (sizeof(off_t) < 8) return 1; return 0; } <== [1/3] Compiling bin/.conf_check_84241ca33a41c77282ebec0b981f8fe4/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_84241ca33a41c77282ebec0b981f8fe4/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/3] Linking bin/.conf_check_84241ca33a41c77282ebec0b981f8fe4/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_84241ca33a41c77282ebec0b981f8fe4/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] [3/3] Processing bin/.conf_check_84241ca33a41c77282ebec0b981f8fe4/testbuild/default/testprog ['/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_84241ca33a41c77282ebec0b981f8fe4/testbuild/default/testprog', '--cross-answers', '/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/cross-answers.txt', 'Checking for large file support without additional flags'] ok -------------------------------------------------------- Checking for header sys/time.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_2aaa9920ed1640299c861a206469b2d6/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_2aaa9920ed1640299c861a206469b2d6/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header time.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 HAVE_LARGEFILE 1 #define STDC_HEADERS 1 #define HAVE_SYS_TIME_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_ab39c9f8aa905e5cb64a089866b5d29e/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_ab39c9f8aa905e5cb64a089866b5d29e/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header endian.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_0f2649ef11ad5dca7ec676fc8b0f086a/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_0f2649ef11ad5dca7ec676fc8b0f086a/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header sys/endian.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_136e388231afca892efefd5ebf050fa7/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_136e388231afca892efefd5ebf050fa7/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:56:10: fatal error: sys/endian.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/buildtools/wafsamba: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/buildtools/wafsamba: The configuration failed -------------------------------------------------------- Checking for HAVE_LITTLE_ENDIAN ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #ifdef __BYTE_ORDER #define B __BYTE_ORDER #elif defined(BYTE_ORDER) #define B BYTE_ORDER #endif #ifdef __LITTLE_ENDIAN #define LITTLE __LITTLE_ENDIAN #elif defined(LITTLE_ENDIAN) #define LITTLE LITTLE_ENDIAN #endif #if !defined(LITTLE) || !defined(B) || LITTLE != B #error Not little endian. #endif int main(void) { return 0; } <== [1/2] Compiling bin/.conf_check_5aba5c0a40e63fa114d4d5ea600120e6/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_5aba5c0a40e63fa114d4d5ea600120e6/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_5aba5c0a40e63fa114d4d5ea600120e6/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_5aba5c0a40e63fa114d4d5ea600120e6/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok -------------------------------------------------------- Checking for HAVE_BIG_ENDIAN ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #ifdef __BYTE_ORDER #define B __BYTE_ORDER #elif defined(BYTE_ORDER) #define B BYTE_ORDER #endif #ifdef __BIG_ENDIAN #define BIG __BIG_ENDIAN #elif defined(BIG_ENDIAN) #define BIG BIG_ENDIAN #endif #if !defined(BIG) || !defined(B) || BIG != B #error Not big endian. #endif int main(void) { return 0; } <== [1/2] Compiling bin/.conf_check_775bb35990a465ad326134b680143935/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_775bb35990a465ad326134b680143935/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:72:26: error: #error Not big endian. #error Not big endian. ^~~~~ from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/buildtools/wafsamba: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/buildtools/wafsamba: The configuration failed not found -------------------------------------------------------- Checking for header signal.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_76b1ac24847465d534dec9ab4d2d4aa2/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_76b1ac24847465d534dec9ab4d2d4aa2/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking if signal handlers return int ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return *(signal (0, 0)) (0) == 1; return 0; } <== [1/2] Compiling bin/.conf_check_f078547f1db0c17f2930aa37ef9f08a0/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f078547f1db0c17f2930aa37ef9f08a0/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:61:28: error: void value not ignored as it ought to be int main(void) { return *(signal (0, 0)) (0) == 1; return 0; } ~^~~~~~~~~~~~~~~~~~ from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/buildtools/wafsamba: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/buildtools/wafsamba: The configuration failed not found -------------------------------------------------------- Checking for variable __FUNCTION__ ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef __FUNCTION__ void *_x; _x=(void *)&__FUNCTION__; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_5172b27ccb9532898fed0e7099e9de19/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_5172b27ccb9532898fed0e7099e9de19/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for va_copy ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { va_list ap1,ap2; va_copy(ap1,ap2); return 0; } <== [1/2] Compiling bin/.conf_check_272484287f743d06d3be2b1ebed5e177/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_272484287f743d06d3be2b1ebed5e177/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_272484287f743d06d3be2b1ebed5e177/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_272484287f743d06d3be2b1ebed5e177/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok -------------------------------------------------------- Checking for HAVE__VA_ARGS__MACRO ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #define HAVE_SIGNAL_H 1 /* #undef RETSIGTYPE_INT */ #define RETSIGTYPE void #define HAVE_FUNCTION_MACRO 1 #define HAVE_VA_COPY 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #define eprintf(...) fprintf(stderr, __VA_ARGS__) eprintf("bla", "bar") ; return 0; } <== [1/2] Compiling bin/.conf_check_400a69de83690949fdd8bdebc0ed29cb/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/buildtools/wafsamba', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_400a69de83690949fdd8bdebc0ed29cb/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:66:29: warning: too many arguments for format [-Wformat-extra-args] eprintf("bla", "bar") ^~~~~ ../../test.c:65:58: note: in definition of macro 'eprintf' #define eprintf(...) fprintf(stderr, __VA_ARGS__) ^~~~~~~~~~~ [2/2] Linking bin/.conf_check_400a69de83690949fdd8bdebc0ed29cb/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_400a69de83690949fdd8bdebc0ed29cb/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok -------------------------------------------------------- Checking for header linux/types.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_36903bbb66d96d22f6a38db6e7ffd390/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_36903bbb66d96d22f6a38db6e7ffd390/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header crypt.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_c5f8cf916a70cc9c0cc8f6f05b41f5bf/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_c5f8cf916a70cc9c0cc8f6f05b41f5bf/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header locale.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_ab5bb7191eb992b540cf19c952e5d06a/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_ab5bb7191eb992b540cf19c952e5d06a/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header acl/libacl.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_6a04d55cb6459c45a0ec66e2ff32e908/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_6a04d55cb6459c45a0ec66e2ff32e908/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header compat.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_f8c9ea216cca57cabd37d29886c81df6/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f8c9ea216cca57cabd37d29886c81df6/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:70:10: fatal error: compat.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header attr/xattr.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_4e61950b9390a71de3590327b6ba5ecb/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_4e61950b9390a71de3590327b6ba5ecb/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:70:10: fatal error: attr/xattr.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header dustat.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_08adc8a7aea6e7c638d4f01631be364b/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_08adc8a7aea6e7c638d4f01631be364b/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:70:10: fatal error: dustat.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header fcntl.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_fe609404df8845bbd9a213180a99fec4/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_fe609404df8845bbd9a213180a99fec4/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header fnmatch.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_7f1962a6d86fc32497ac7b8353805022/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_7f1962a6d86fc32497ac7b8353805022/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header glob.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_0f90b79319a9f4e2e4ffd25b03f210ee/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_0f90b79319a9f4e2e4ffd25b03f210ee/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header history.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_3fc8646f02c129ec85aa01c416d5f377/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_3fc8646f02c129ec85aa01c416d5f377/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:73:10: fatal error: history.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header krb5.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_5e155cdfdbce789fca52ef1416f01158/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_5e155cdfdbce789fca52ef1416f01158/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:73:10: fatal error: krb5.h: No such file or directory #include ^~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header langinfo.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_a9ab6e1907fe94cae8ff02f12eadf8b6/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_a9ab6e1907fe94cae8ff02f12eadf8b6/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header libaio.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_c45d3c9387771d0d5224b6d704aa6e1b/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_c45d3c9387771d0d5224b6d704aa6e1b/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:74:10: fatal error: libaio.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header ndir.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_28bb5ed4ff5c8ae0a4a16676be28c2d1/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_28bb5ed4ff5c8ae0a4a16676be28c2d1/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:74:10: fatal error: ndir.h: No such file or directory #include ^~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header pwd.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_63926e5b6055569a23f2ba40803d3b14/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_63926e5b6055569a23f2ba40803d3b14/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header shadow.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_633942d5b81f4cd75535748d222f97f6/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_633942d5b81f4cd75535748d222f97f6/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header sys/acl.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_a62acb184f7dccc719c89e048ec24dc7/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_a62acb184f7dccc719c89e048ec24dc7/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header sys/attributes.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_1a090117cc6c692549d26d9dfb747367/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_1a090117cc6c692549d26d9dfb747367/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:77:10: fatal error: sys/attributes.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header attr/attributes.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_aa1302f8f7a6f71dbc41173595a48107/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_aa1302f8f7a6f71dbc41173595a48107/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header sys/capability.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_H 1 #define HAVE_PWD_H 1 #define HAVE_SHADOW_H 1 #define HAVE_SYS_ACL_H 1 #define HAVE_ATTR_ATTRIBUTES_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_06d1163ea3d4104766d88a51e3b664cb/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_06d1163ea3d4104766d88a51e3b664cb/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header sys/dir.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_bf14ab5a1fa7e788bc28b51c1660cde4/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_bf14ab5a1fa7e788bc28b51c1660cde4/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header sys/epoll.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_5c9454ef3eb03bba90dbcfb9d4ed9991/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_5c9454ef3eb03bba90dbcfb9d4ed9991/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header port.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_612318a96e9bb78b12647e9010bf143b/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_612318a96e9bb78b12647e9010bf143b/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:81:10: fatal error: port.h: No such file or directory #include ^~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/fcntl.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_64cc300a741197edceb9e69ce1a88152/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_64cc300a741197edceb9e69ce1a88152/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: In file included from ../../test.c:81: /root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/sys/fcntl.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] #warning redirecting incorrect #include to ^~~~~~~ yes -------------------------------------------------------- Checking for header sys/filio.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_0fd26553a77507695997bd0ba1c1720e/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_0fd26553a77507695997bd0ba1c1720e/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:82:10: fatal error: sys/filio.h: No such file or directory #include ^~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/filsys.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_a3b9a38d539f3f821b301d77895a3c42/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_a3b9a38d539f3f821b301d77895a3c42/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:82:10: fatal error: sys/filsys.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/fs/s5param.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_7aa4fcce174a3d371502e7fe0fbe3647/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_7aa4fcce174a3d371502e7fe0fbe3647/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:82:10: fatal error: sys/fs/s5param.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/id.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_cdc14a64e3d0da8d8db1344cc43ff30d/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_cdc14a64e3d0da8d8db1344cc43ff30d/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:82:10: fatal error: sys/id.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/ioctl.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_77471be96153124d47346b113049d6b5/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_77471be96153124d47346b113049d6b5/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header sys/ipc.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_8a59a39231d85e8be759293ba0314569/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_8a59a39231d85e8be759293ba0314569/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header sys/mman.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_14b1af127e466c09e054693e7ffa4892/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_14b1af127e466c09e054693e7ffa4892/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header sys/mode.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_9332cb418e3420739bb376e35b4a24fc/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_9332cb418e3420739bb376e35b4a24fc/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:85:10: fatal error: sys/mode.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/ndir.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_235e469d931c20e741c08b7594eb32a4/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_235e469d931c20e741c08b7594eb32a4/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:85:10: fatal error: sys/ndir.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/priv.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_08b403ac0e6cb4029bceac20e2b6f635/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_08b403ac0e6cb4029bceac20e2b6f635/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:85:10: fatal error: sys/priv.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/resource.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_e8cf3d2a1ee7a877c9c58b890dc57de3/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_e8cf3d2a1ee7a877c9c58b890dc57de3/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header sys/security.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_43119ce459f8a220354d3954eacf71a2/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_43119ce459f8a220354d3954eacf71a2/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:86:10: fatal error: sys/security.h: No such file or directory #include ^~~~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/shm.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_0236522e5a88f759782becee9407ba4e/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_0236522e5a88f759782becee9407ba4e/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header sys/statfs.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_56cdc91fc08bdc60cd6690aa73d8750c/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_56cdc91fc08bdc60cd6690aa73d8750c/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header sys/statvfs.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_0984dd154038829f3f05f4a8a3993997/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_0984dd154038829f3f05f4a8a3993997/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header sys/termio.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_8707c5f342b4dbd6e1591eea7911c4d1/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_8707c5f342b4dbd6e1591eea7911c4d1/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:89:10: fatal error: sys/termio.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/vfs.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_f4a0828ed16c80d7b48595445e061f65/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f4a0828ed16c80d7b48595445e061f65/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header sys/xattr.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_8de29a6a165908ee13093e7e078c9930/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_8de29a6a165908ee13093e7e078c9930/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header termio.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_e6bb5f34ae30100b859e30dd7c97bd2d/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_e6bb5f34ae30100b859e30dd7c97bd2d/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:91:10: fatal error: termio.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header termios.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_cbbe53e0a676ddaf2a3ceeab3e37b0e0/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_cbbe53e0a676ddaf2a3ceeab3e37b0e0/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header sys/file.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_56309838518ee4c3b81223ce94f47714/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_56309838518ee4c3b81223ce94f47714/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header sys/ucontext.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_354793569e65dd6f8de9965657b2c26b/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_354793569e65dd6f8de9965657b2c26b/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header sys/wait.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_83a2558d45c5ee7eb0b88c0ae06eb3c5/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_83a2558d45c5ee7eb0b88c0ae06eb3c5/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for declaration of malloc ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef malloc void *_x; _x=(void *)&malloc; return (int)_x; #endif return 0 ; return 0; } <== [1/1] Compiling bin/.conf_check_e87514eb5e58727b8c266497f84b14c5/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_e87514eb5e58727b8c266497f84b14c5/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for header grp.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_905d01d1934541fafa49f791c9357aef/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_905d01d1934541fafa49f791c9357aef/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header sys/select.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_5152237add1eb866140d59424a50de40/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_5152237add1eb866140d59424a50de40/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header setjmp.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_8b7e232600fabd11f1e0c6a028258831/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_8b7e232600fabd11f1e0c6a028258831/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header utime.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_9c635590f553f1fee0f402939a680614/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_9c635590f553f1fee0f402939a680614/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header sys/syslog.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 1 #define HAVE_GRP_H 1 #define HAVE_SYS_SELECT_H 1 #define HAVE_SETJMP_H 1 #define HAVE_UTIME_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_468e63fe0ca31f65120ea22f2146d30c/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_468e63fe0ca31f65120ea22f2146d30c/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header syslog.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_e6d2ca5af85bd8291ec12a6bc074198e/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_e6d2ca5af85bd8291ec12a6bc074198e/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header sys/mount.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_0d7bd5f28baae6153e87d592250149ff/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_0d7bd5f28baae6153e87d592250149ff/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header mntent.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_fc0a880b126b368de267a5e2c7e95646/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_fc0a880b126b368de267a5e2c7e95646/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header stropts.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_861c55fcd46a2096798a43e8c7565420/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_861c55fcd46a2096798a43e8c7565420/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header unix.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_7c0fd2e5115ed64351fce96c4a78a76a/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_7c0fd2e5115ed64351fce96c4a78a76a/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:105:10: fatal error: unix.h: No such file or directory #include ^~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/param.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_9c548aa90eb4d85a18201dccbdfd54d7/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_9c548aa90eb4d85a18201dccbdfd54d7/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header sys/socket.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_87d5a0e504f4f857af7a821dd37ad3e0/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_87d5a0e504f4f857af7a821dd37ad3e0/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header netinet/in.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_1904d33a6d10969925523edac116d5e0/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_1904d33a6d10969925523edac116d5e0/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header netdb.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_4d4e1a52ec6bab61010424dd93fc9988/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_4d4e1a52ec6bab61010424dd93fc9988/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header arpa/inet.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_b73b410664bb4a4873d66c2016c2f0f1/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_b73b410664bb4a4873d66c2016c2f0f1/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header netinet/in_systm.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_5635744616d461f682ac44b37e6b4ce4/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_5635744616d461f682ac44b37e6b4ce4/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header netinet/ip.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_8e97122854f86512edf84c69c680f8ea/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_8e97122854f86512edf84c69c680f8ea/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header netinet/tcp.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_d3a8636d796652960bc669c0edb03f7b/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_d3a8636d796652960bc669c0edb03f7b/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header netinet/in_ip.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_b7f25a75aa7e6a8959f60021f0a4f964/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_b7f25a75aa7e6a8959f60021f0a4f964/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:120:10: fatal error: netinet/in_ip.h: No such file or directory #include ^~~~~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/sockio.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_e4a000549b9b574be98de091dc42bd17/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_e4a000549b9b574be98de091dc42bd17/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:120:10: fatal error: sys/sockio.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/un.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_b318ff0a2da8f0b8f5684d484ecd2c9f/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_b318ff0a2da8f0b8f5684d484ecd2c9f/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header sys/uio.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_74295ac2eacd0b749e22142884457cf7/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_74295ac2eacd0b749e22142884457cf7/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header ifaddrs.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_eb2f4fe8df93dfafa96fe557bf5b77a3/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_eb2f4fe8df93dfafa96fe557bf5b77a3/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header direct.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_9807f9223dbf1e07c169244020c090cf/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_9807f9223dbf1e07c169244020c090cf/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:116:10: fatal error: direct.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header dirent.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_f1859aeb20105d9ba6a926ee19c31b6c/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f1859aeb20105d9ba6a926ee19c31b6c/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header windows.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_37e233c8e109c604912367bece9b47b0/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_37e233c8e109c604912367bece9b47b0/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:117:10: fatal error: windows.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header winsock2.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_4b8226015dfdc8db7e01217ba80d527c/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_4b8226015dfdc8db7e01217ba80d527c/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:117:10: fatal error: winsock2.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header ws2tcpip.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_79c60059cc3cd17f5f334b4ad9e9b940/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_79c60059cc3cd17f5f334b4ad9e9b940/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:117:10: fatal error: ws2tcpip.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header errno.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_1baa28b903461ff256a576878b0c0183/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_1baa28b903461ff256a576878b0c0183/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header getopt.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_2a04a5a1759818b9c20546a360df318b/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_2a04a5a1759818b9c20546a360df318b/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header iconv.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_21f4c37e2589e0aeaf87afa9c49811af/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_21f4c37e2589e0aeaf87afa9c49811af/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header nss.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_05e9ef9c4cdebd68ae7a45d6d635da62/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_05e9ef9c4cdebd68ae7a45d6d635da62/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:120:10: fatal error: nss.h: No such file or directory #include ^~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sasl/sasl.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_dfc389d89694f32af3673d46843edb01/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_dfc389d89694f32af3673d46843edb01/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for inotify_init ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_ddef3835034a8cc52d150ce2c2786095/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_ddef3835034a8cc52d150ce2c2786095/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define inotify_init __fake__inotify_init #ifdef HAVE_LIMITS_H # include #else # include #endif #undef inotify_init #if defined __stub_inotify_init || defined __stub___inotify_init #error "bad glibc stub" #endif extern char inotify_init(); int main() { return inotify_init(); } <== [1/2] Compiling bin/.conf_check_1b2385f5b306855f99c946b60f86043d/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_1b2385f5b306855f99c946b60f86043d/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_1b2385f5b306855f99c946b60f86043d/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_1b2385f5b306855f99c946b60f86043d/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok -------------------------------------------------------- Checking for header security/pam_appl.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_1ec5e0c4e6385ac00fe6c0032f412f41/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_1ec5e0c4e6385ac00fe6c0032f412f41/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:123:10: fatal error: security/pam_appl.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header zlib.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_c54f440b7acd454f4778d20ea3942c91/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_c54f440b7acd454f4778d20ea3942c91/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header asm/unistd.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_b0e16c4dbf3fb4ef7402e9571c482dbe/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_b0e16c4dbf3fb4ef7402e9571c482dbe/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header aio.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_ad6e290b4f5505c2d941d4b8c811c4ee/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_ad6e290b4f5505c2d941d4b8c811c4ee/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header sys/unistd.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_1ab30504fc3aa7498c10dd44db4be155/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_1ab30504fc3aa7498c10dd44db4be155/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:126:10: fatal error: sys/unistd.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header alloca.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_30f94dcbdbea958b77d6d91c3018f7d0/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_30f94dcbdbea958b77d6d91c3018f7d0/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header float.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_079c32d5bc4dcb3bd286c7c0c69a68b0/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_079c32d5bc4dcb3bd286c7c0c69a68b0/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header rpc/rpc.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_243631427a74fb8d5bb9165fc12e101f/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_243631427a74fb8d5bb9165fc12e101f/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:128:10: fatal error: rpc/rpc.h: No such file or directory #include ^~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header rpc/nettype.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_969617bcd884932990dba32b23149a07/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_969617bcd884932990dba32b23149a07/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:128:10: fatal error: rpc/nettype.h: No such file or directory #include ^~~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for tirpc rpc headers in default system path ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #ifndef _TIRPC_RPC_H #error "no tirpc headers in system path" #endif ; return 0; } <== [1/2] Compiling bin/.conf_check_3be6d0c55acbdd5267ca200909e8a6b1/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_3be6d0c55acbdd5267ca200909e8a6b1/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:131:2: error: #error "no tirpc headers in system path" #error "no tirpc headers in system path" ^~~~~ from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking for libtirpc headers ['/root/openwrt/staging_dir/host/bin/pkg-config', '--cflags', '--libs', 'libtirpc'] out: -I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include/tirpc -L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib -ltirpc yes -------------------------------------------------------- Checking for header rpc/rpc.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_07cd8a13243f99a27ea823e2a2454712/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I../../../../../../../staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include/tirpc', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_07cd8a13243f99a27ea823e2a2454712/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header rpc/nettype.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_61650e9785deb926485c64046dffdbc0/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I../../../../../../../staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include/tirpc', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_61650e9785deb926485c64046dffdbc0/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header rpcsvc/yp_prot.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_002a8ced3f67ae95f016d590b3aa2094/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I../../../../../../../staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include/tirpc', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_002a8ced3f67ae95f016d590b3aa2094/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:132:10: fatal error: rpcsvc/yp_prot.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for libnsl ['/root/openwrt/staging_dir/host/bin/pkg-config', '--cflags', '--libs', 'libnsl'] err: Package libnsl was not found in the pkg-config search path. Perhaps you should add the directory containing `libnsl.pc' to the PKG_CONFIG_PATH environment variable No package 'libnsl' found not found from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header rpcsvc/nis.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_2fc4512d101b5a46da10894d385244e8/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I../../../../../../../staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include/tirpc', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_2fc4512d101b5a46da10894d385244e8/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:132:10: fatal error: rpcsvc/nis.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header rpcsvc/ypclnt.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_b1b5498e0131d96ec5992c872d88885c/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I../../../../../../../staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include/tirpc', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_b1b5498e0131d96ec5992c872d88885c/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:132:10: fatal error: rpcsvc/ypclnt.h: No such file or directory #include ^~~~~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/sysctl.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_b03b1dc0b9c468b11f1f57a1697b0532/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_b03b1dc0b9c468b11f1f57a1697b0532/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:132:10: fatal error: sys/sysctl.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/fileio.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_f555e4354dc39ca29763705b32d8c8e6/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f555e4354dc39ca29763705b32d8c8e6/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:132:10: fatal error: sys/fileio.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/filesys.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_e388e1476021e455eeb73c310aaf25ae/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_e388e1476021e455eeb73c310aaf25ae/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:132:10: fatal error: sys/filesys.h: No such file or directory #include ^~~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/dustat.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_d9c670a3a99e84e3a2a6f809599e1abf/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_d9c670a3a99e84e3a2a6f809599e1abf/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:132:10: fatal error: sys/dustat.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/sysmacros.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_16b2aa5230ffc5b94f148456d549cb75/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_16b2aa5230ffc5b94f148456d549cb75/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header xfs/libxfs.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_13dec2ed8f22f4f15df53821128a17b9/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_13dec2ed8f22f4f15df53821128a17b9/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:133:10: fatal error: xfs/libxfs.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header netgroup.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_9083d7890b4251a362c653c5d1ae96fa/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_9083d7890b4251a362c653c5d1ae96fa/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:133:10: fatal error: netgroup.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header valgrind.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_32d0d9fd0a6d248d2e8dcbbbe48213b1/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_32d0d9fd0a6d248d2e8dcbbbe48213b1/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:133:10: fatal error: valgrind.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header valgrind/valgrind.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_c89a72a4b7a0123700d93ef593c1dcb4/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_c89a72a4b7a0123700d93ef593c1dcb4/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:133:10: fatal error: valgrind/valgrind.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header valgrind/memcheck.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_4cbb0fec3fa7a211eb614256dde66011/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_4cbb0fec3fa7a211eb614256dde66011/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:133:10: fatal error: valgrind/memcheck.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header valgrind/helgrind.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_0c79cb8ff567d8ce504b7ecca6127017/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_0c79cb8ff567d8ce504b7ecca6127017/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:133:10: fatal error: valgrind/helgrind.h: No such file or directory #include ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header nss_common.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_eb4b4fd10d1bbf8befea470b796dae58/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_eb4b4fd10d1bbf8befea470b796dae58/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:133:10: fatal error: nss_common.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header nsswitch.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_2452ad0c186a3377cae49f5b20724414/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_2452ad0c186a3377cae49f5b20724414/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:133:10: fatal error: nsswitch.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header ns_api.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_f19e9fc995b31dde56722868180ada28/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f19e9fc995b31dde56722868180ada28/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:133:10: fatal error: ns_api.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/extattr.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_afcfafd749006cd626818ca1c83fd2e5/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_afcfafd749006cd626818ca1c83fd2e5/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:133:10: fatal error: sys/extattr.h: No such file or directory #include ^~~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/ea.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_d3fe31f397fed08d3fee6474dd7e6c36/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_d3fe31f397fed08d3fee6474dd7e6c36/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:133:10: fatal error: sys/ea.h: No such file or directory #include ^~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/proplist.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_63c54f4b17289bcc39144f05cbc0dfdd/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_63c54f4b17289bcc39144f05cbc0dfdd/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:133:10: fatal error: sys/proplist.h: No such file or directory #include ^~~~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header sys/cdefs.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_2d962b75eef5e8e2dbcce7606e26bfbb/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_2d962b75eef5e8e2dbcce7606e26bfbb/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header utmp.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_f3c07c1a0c4c1bb0ffe8b4de258f39af/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f3c07c1a0c4c1bb0ffe8b4de258f39af/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header utmpx.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_c539dfca2b65fd204656dc3b730725f2/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_c539dfca2b65fd204656dc3b730725f2/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header lastlog.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_44a7380383591929647e5831f90930e7/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_44a7380383591929647e5831f90930e7/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header syscall.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_CDEFS_H 1 #define HAVE_UTMP_H 1 #define HAVE_UTMPX_H 1 #define HAVE_LASTLOG_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_f7b1ed00e8eaa70c15225b8c2fc7fded/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f7b1ed00e8eaa70c15225b8c2fc7fded/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header sys/syscall.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_95275f4f77c34124d421c8115d5b1f63/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_95275f4f77c34124d421c8115d5b1f63/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header sys/atomic.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_ea64eb40efc4b43ec7c9444e9239a2ee/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_ea64eb40efc4b43ec7c9444e9239a2ee/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c:139:10: fatal error: sys/atomic.h: No such file or directory #include ^~~~~~~~~~~~~~ compilation terminated. from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) no from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed -------------------------------------------------------- Checking for header stdatomic.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_8bad81684e32018ae6ceeeabe050fb47/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_8bad81684e32018ae6ceeeabe050fb47/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header libgen.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_bc7df4d2a4654aec4c8ca50ee4d29131/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_bc7df4d2a4654aec4c8ca50ee4d29131/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking compiler accepts -Wno-format-truncation ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_65393c56bf0410099cd7dd71bf2b39a3/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-Wno-format-truncation', '-Werror', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_65393c56bf0410099cd7dd71bf2b39a3/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking compiler accepts -Wno-unused-function ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_0e71b310fc0b3709e17f90f859f38ebc/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-Wno-unused-function', '-Werror', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_0e71b310fc0b3709e17f90f859f38ebc/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking compiler accepts -Wno-strict-overflow ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_433a1dcad9ad6dbdf388295d51751be6/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-Wno-strict-overflow', '-Werror', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_433a1dcad9ad6dbdf388295d51751be6/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for header sys/prctl.h ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { return 0; } <== [1/1] Compiling bin/.conf_check_11eb62868ada6b7bf1ac92118347a091/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_11eb62868ada6b7bf1ac92118347a091/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] yes -------------------------------------------------------- Checking for prctl syscall ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { #include int main(void) { prctl(0); return 0; } ; return 0; } <== [1/2] Compiling bin/.conf_check_701c5fd4d84ff980ad7b35094ff9a4c4/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_701c5fd4d84ff980ad7b35094ff9a4c4/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_701c5fd4d84ff980ad7b35094ff9a4c4/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_701c5fd4d84ff980ad7b35094ff9a4c4/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok -------------------------------------------------------- Checking for O_DIRECT flag to open(2) ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #ifdef HAVE_FCNTL_H #include #endif int main(void) { int fd = open("/dev/null", O_DIRECT); } <== [1/2] Compiling bin/.conf_check_632294c1a5d634db74b6e134e97406af/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_632294c1a5d634db74b6e134e97406af/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_632294c1a5d634db74b6e134e97406af/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_632294c1a5d634db74b6e134e97406af/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok -------------------------------------------------------- Checking for long long ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { long long _x; return 0; } <== [1/1] Compiling bin/.conf_check_3e24cc6162f69c0e244d92b2bb6725ad/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_3e24cc6162f69c0e244d92b2bb6725ad/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for intptr_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "1" #define HAVE_SYS_PRCTL_H 1 #define HAVE_PRCTL 1 #define HAVE_OPEN_O_DIRECT 1 #define HAVE_LONG_LONG 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { intptr_t _x; return 0; } <== [1/1] Compiling bin/.conf_check_f861d42303d5864ddf6520c719a31492/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f861d42303d5864ddf6520c719a31492/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for uintptr_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { uintptr_t _x; return 0; } <== [1/1] Compiling bin/.conf_check_77afe9a41c4fd6603dc928782826c8aa/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_77afe9a41c4fd6603dc928782826c8aa/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for ptrdiff_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { ptrdiff_t _x; return 0; } <== [1/1] Compiling bin/.conf_check_1bbb0d22f40c98d9ebfafddaad724d2f/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_1bbb0d22f40c98d9ebfafddaad724d2f/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for comparison_fn_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { comparison_fn_t _x; return 0; } <== [1/1] Compiling bin/.conf_check_9f854b18c653738fcd74fe0c70559929/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_9f854b18c653738fcd74fe0c70559929/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:152:19: error: unknown type name 'comparison_fn_t' int main(void) { comparison_fn_t _x; return 0; } ^~~~~~~~~~~~~~~ from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking for _Bool ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "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 /* #undef HAVE_COMPARISON_FN_T */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { _Bool _x; return 0; } <== [1/1] Compiling bin/.conf_check_9f1985939556cce89229b6d825462996/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_9f1985939556cce89229b6d825462996/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for bool ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "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 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { bool _x; return 0; } <== [1/1] Compiling bin/.conf_check_a79f1908985a902c3b80a156cfc743bb/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_a79f1908985a902c3b80a156cfc743bb/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for int8_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "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 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { int8_t _x; return 0; } <== [1/1] Compiling bin/.conf_check_607b676ce6b7e178fe81af519b1c7323/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_607b676ce6b7e178fe81af519b1c7323/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for uint8_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "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 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { uint8_t _x; return 0; } <== [1/1] Compiling bin/.conf_check_53704e8ab94ff5dc338e31182b1e3c39/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_53704e8ab94ff5dc338e31182b1e3c39/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for int16_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "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 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { int16_t _x; return 0; } <== [1/1] Compiling bin/.conf_check_7e39458f2af4932753851a5be82f5b08/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_7e39458f2af4932753851a5be82f5b08/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for uint16_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "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 /* #undef HAVE_COMPARISON_FN_T */ #define HAVE__Bool 1 #define HAVE_BOOL 1 #define HAVE_INT8_T 1 #define HAVE_UINT8_T 1 #define HAVE_INT16_T 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { uint16_t _x; return 0; } <== [1/1] Compiling bin/.conf_check_0fabf2c0a0f95d1287dbd87fec87285f/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_0fabf2c0a0f95d1287dbd87fec87285f/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for int32_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "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 /* #undef HAVE_COMPARISON_FN_T */ #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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { int32_t _x; return 0; } <== [1/1] Compiling bin/.conf_check_f01cd5a1d269dd8a2775e6b4f43537d6/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f01cd5a1d269dd8a2775e6b4f43537d6/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for uint32_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "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 /* #undef HAVE_COMPARISON_FN_T */ #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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { uint32_t _x; return 0; } <== [1/1] Compiling bin/.conf_check_5fa50de5e9db7ca576a7c2f679a9d932/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_5fa50de5e9db7ca576a7c2f679a9d932/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for int64_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "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 /* #undef HAVE_COMPARISON_FN_T */ #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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { int64_t _x; return 0; } <== [1/1] Compiling bin/.conf_check_eb9790d33f0e815129e7051ad74b4ba8/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_eb9790d33f0e815129e7051ad74b4ba8/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for uint64_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "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 /* #undef HAVE_COMPARISON_FN_T */ #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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { uint64_t _x; return 0; } <== [1/1] Compiling bin/.conf_check_7e7efc3afac58d12ef9e7bf98202e6fd/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_7e7efc3afac58d12ef9e7bf98202e6fd/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for size_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "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 /* #undef HAVE_COMPARISON_FN_T */ #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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { size_t _x; return 0; } <== [1/1] Compiling bin/.conf_check_cfdfaef4614affbe35a8ed7ea495291b/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_cfdfaef4614affbe35a8ed7ea495291b/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for ssize_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "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 /* #undef HAVE_COMPARISON_FN_T */ #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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { ssize_t _x; return 0; } <== [1/1] Compiling bin/.conf_check_c01e4f8142ab0c3616c55c1dbc5c6242/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_c01e4f8142ab0c3616c55c1dbc5c6242/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for ino_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "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 /* #undef HAVE_COMPARISON_FN_T */ #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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { ino_t _x; return 0; } <== [1/1] Compiling bin/.conf_check_8cf4dc141e5fb8ff366ca920e02d702e/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_8cf4dc141e5fb8ff366ca920e02d702e/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for loff_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "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 /* #undef HAVE_COMPARISON_FN_T */ #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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { loff_t _x; return 0; } <== [1/1] Compiling bin/.conf_check_1a857528a5dbe408dee27132547202fc/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_1a857528a5dbe408dee27132547202fc/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:166:19: error: unknown type name 'loff_t'; did you mean 'off_t'? int main(void) { loff_t _x; return 0; } ^~~~~~ off_t from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking for offset_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "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 /* #undef HAVE_COMPARISON_FN_T */ #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 /* #undef HAVE_LOFF_T */ #define loff_t off_t #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { offset_t _x; return 0; } <== [1/1] Compiling bin/.conf_check_3a0f967a3247a4960a8713bdcc26490c/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_3a0f967a3247a4960a8713bdcc26490c/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:168:19: error: unknown type name 'offset_t'; did you mean 'offsetof'? int main(void) { offset_t _x; return 0; } ^~~~~~~~ offsetof from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking for volatile int ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "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 /* #undef HAVE_COMPARISON_FN_T */ #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 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { volatile int _x; return 0; } <== [1/1] Compiling bin/.conf_check_b6a3aabb1a309a6de41c783498c970e0/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_b6a3aabb1a309a6de41c783498c970e0/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for uint_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "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 /* #undef HAVE_COMPARISON_FN_T */ #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 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { uint_t _x; return 0; } <== [1/1] Compiling bin/.conf_check_29052530519248c016bf46dfb0c602ba/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_29052530519248c016bf46dfb0c602ba/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:171:19: error: unknown type name 'uint_t'; did you mean 'uint8_t'? int main(void) { uint_t _x; return 0; } ^~~~~~ uint8_t from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking for blksize_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "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 /* #undef HAVE_COMPARISON_FN_T */ #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 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #undef HAVE_OFFSET_T */ #define offset_t loff_t #define HAVE_VOLATILE 1 /* #undef HAVE_UINT_T */ #define uint_t unsigned int #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { blksize_t _x; return 0; } <== [1/1] Compiling bin/.conf_check_45835d415f8a1dfab41b0b796b857b25/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_45835d415f8a1dfab41b0b796b857b25/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking for blkcnt_t ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "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 /* #undef HAVE_COMPARISON_FN_T */ #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 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { blkcnt_t _x; return 0; } <== [1/1] Compiling bin/.conf_check_dfc207bb0ed47e3e1ec5b5d4f2fe3cd4/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_dfc207bb0ed47e3e1ec5b5d4f2fe3cd4/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] ok -------------------------------------------------------- Checking if size of bool == 1 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "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 /* #undef HAVE_COMPARISON_FN_T */ #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 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(bool))) <= 1)];; return 0; } <== [1/2] Compiling bin/.conf_check_328755bf50b3bed9c9ecca43be9c818a/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_328755bf50b3bed9c9ecca43be9c818a/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_328755bf50b3bed9c9ecca43be9c818a/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_328755bf50b3bed9c9ecca43be9c818a/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok -------------------------------------------------------- Checking if size of char == 1 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "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 /* #undef HAVE_COMPARISON_FN_T */ #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 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(char))) <= 1)];; return 0; } <== [1/2] Compiling bin/.conf_check_49635c7cb42215b048bd74a8b11702cd/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_49635c7cb42215b048bd74a8b11702cd/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_49635c7cb42215b048bd74a8b11702cd/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_49635c7cb42215b048bd74a8b11702cd/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok -------------------------------------------------------- Checking if size of int == 1 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "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 /* #undef HAVE_COMPARISON_FN_T */ #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 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int))) <= 1)];; return 0; } <== [1/2] Compiling bin/.conf_check_6f60f8aa8b036cb98e80f43926596976/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_6f60f8aa8b036cb98e80f43926596976/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:177:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int))) <= 1)];; return 0; } ^~~~~~~~~~ from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of int == 2 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "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 /* #undef HAVE_COMPARISON_FN_T */ #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 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #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 /* #undef SIZEOF_INT */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int))) <= 2)];; return 0; } <== [1/2] Compiling bin/.conf_check_63342a70da6e68a21a7cd555b9a88b95/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_63342a70da6e68a21a7cd555b9a88b95/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:178:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int))) <= 2)];; return 0; } ^~~~~~~~~~ from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of int == 4 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "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 /* #undef HAVE_COMPARISON_FN_T */ #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 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #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 /* #undef SIZEOF_INT */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(int))) <= 4)];; return 0; } <== [1/2] Compiling bin/.conf_check_7376d19cd3464ffc27bca201d7019cbe/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_7376d19cd3464ffc27bca201d7019cbe/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_7376d19cd3464ffc27bca201d7019cbe/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_7376d19cd3464ffc27bca201d7019cbe/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok -------------------------------------------------------- Checking if size of long long == 1 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "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 /* #undef HAVE_COMPARISON_FN_T */ #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 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long long))) <= 1)];; return 0; } <== [1/2] Compiling bin/.conf_check_f311f1e118385c68e2843296ff59073f/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f311f1e118385c68e2843296ff59073f/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:178:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long long))) <= 1)];; return 0; } ^~~~~~~~~~ from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of long long == 2 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "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 /* #undef HAVE_COMPARISON_FN_T */ #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 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #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 /* #undef SIZEOF_LONG_LONG */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long long))) <= 2)];; return 0; } <== [1/2] Compiling bin/.conf_check_b26271bb8c84864b43e0f15671e95ea6/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_b26271bb8c84864b43e0f15671e95ea6/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:179:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long long))) <= 2)];; return 0; } ^~~~~~~~~~ from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of long long == 4 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "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 /* #undef HAVE_COMPARISON_FN_T */ #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 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #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 /* #undef SIZEOF_LONG_LONG */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long long))) <= 4)];; return 0; } <== [1/2] Compiling bin/.conf_check_94362d2c6a4d20942786c8b0bb199b85/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_94362d2c6a4d20942786c8b0bb199b85/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:179:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long long))) <= 4)];; return 0; } ^~~~~~~~~~ from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of long long == 8 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "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 /* #undef HAVE_COMPARISON_FN_T */ #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 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #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 /* #undef SIZEOF_LONG_LONG */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long long))) <= 8)];; return 0; } <== [1/2] Compiling bin/.conf_check_786ff2352ca0464db4beffd464de3878/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_786ff2352ca0464db4beffd464de3878/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_786ff2352ca0464db4beffd464de3878/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_786ff2352ca0464db4beffd464de3878/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok -------------------------------------------------------- Checking if size of long == 1 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "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 /* #undef HAVE_COMPARISON_FN_T */ #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 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #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 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long))) <= 1)];; return 0; } <== [1/2] Compiling bin/.conf_check_f6c7becc1565dc8648fb1dbf4852f6b0/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f6c7becc1565dc8648fb1dbf4852f6b0/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:179:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long))) <= 1)];; return 0; } ^~~~~~~~~~ from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of long == 2 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "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 /* #undef HAVE_COMPARISON_FN_T */ #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 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #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 /* #undef SIZEOF_LONG */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long))) <= 2)];; return 0; } <== [1/2] Compiling bin/.conf_check_8240fb95c464033d77aeae4c361aec82/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_8240fb95c464033d77aeae4c361aec82/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:180:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long))) <= 2)];; return 0; } ^~~~~~~~~~ from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of long == 4 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "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 /* #undef HAVE_COMPARISON_FN_T */ #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 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #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 /* #undef SIZEOF_LONG */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(long))) <= 4)];; return 0; } <== [1/2] Compiling bin/.conf_check_f2932781fd33a20b7495a06237622213/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f2932781fd33a20b7495a06237622213/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_f2932781fd33a20b7495a06237622213/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_f2932781fd33a20b7495a06237622213/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok -------------------------------------------------------- Checking if size of short == 1 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "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 /* #undef HAVE_COMPARISON_FN_T */ #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 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #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 4 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(short))) <= 1)];; return 0; } <== [1/2] Compiling bin/.conf_check_b45043cd3dd1ab2f2a3f0a613a36017c/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_b45043cd3dd1ab2f2a3f0a613a36017c/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:180:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(short))) <= 1)];; return 0; } ^~~~~~~~~~ from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of short == 2 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "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 /* #undef HAVE_COMPARISON_FN_T */ #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 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #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 4 /* #undef SIZEOF_SHORT */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(short))) <= 2)];; return 0; } <== [1/2] Compiling bin/.conf_check_045ce1ff4dcda7bcdce43ff00cc34a23/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_045ce1ff4dcda7bcdce43ff00cc34a23/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_045ce1ff4dcda7bcdce43ff00cc34a23/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_045ce1ff4dcda7bcdce43ff00cc34a23/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok -------------------------------------------------------- Checking if size of size_t == 1 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "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 /* #undef HAVE_COMPARISON_FN_T */ #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 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #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 4 #define SIZEOF_SHORT 2 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(size_t))) <= 1)];; return 0; } <== [1/2] Compiling bin/.conf_check_c9a6023cd3536ca00146d41d3748a5c8/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_c9a6023cd3536ca00146d41d3748a5c8/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:181:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(size_t))) <= 1)];; return 0; } ^~~~~~~~~~ from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of size_t == 2 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "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 /* #undef HAVE_COMPARISON_FN_T */ #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 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #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 4 #define SIZEOF_SHORT 2 /* #undef SIZEOF_SIZE_T */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(size_t))) <= 2)];; return 0; } <== [1/2] Compiling bin/.conf_check_a238aa3e6fb98535caec1eb74ce3ee97/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_a238aa3e6fb98535caec1eb74ce3ee97/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:182:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(size_t))) <= 2)];; return 0; } ^~~~~~~~~~ from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of size_t == 4 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "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 /* #undef HAVE_COMPARISON_FN_T */ #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 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #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 4 #define SIZEOF_SHORT 2 /* #undef SIZEOF_SIZE_T */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(size_t))) <= 4)];; return 0; } <== [1/2] Compiling bin/.conf_check_0e699080301616d12320ab66d3cef1ff/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_0e699080301616d12320ab66d3cef1ff/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] [2/2] Linking bin/.conf_check_0e699080301616d12320ab66d3cef1ff/testbuild/default/testprog ['arm-openwrt-linux-muslgnueabi-gcc', 'test.c.1.o', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_0e699080301616d12320ab66d3cef1ff/testbuild/default/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/lib', '-L/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/lib', '-znow', '-zrelro', '-Wl,--gc-sections'] ok -------------------------------------------------------- Checking if size of ssize_t == 1 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "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 /* #undef HAVE_COMPARISON_FN_T */ #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 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #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 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ssize_t))) <= 1)];; return 0; } <== [1/2] Compiling bin/.conf_check_600c3f9bd91bf03ee77b88f880a94300/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-protector', '-D_FORTIFY_SOURCE=1', '-Wl,-z,now', '-Wl,-z,relro', '-ffunction-sections', '-fdata-sections', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-I.', '-I../..', '-I.', '-I../..', '../../test.c', '-c', '-o/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/bin/.conf_check_600c3f9bd91bf03ee77b88f880a94300/testbuild/default/test.c.1.o', '-I/root/openwrt/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/usr/include', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include/fortify', '-I/root/openwrt/staging_dir/toolchain-arm_cortex-a9+vfpv3_gcc-8.3.0_musl_eabi/include'] err: ../../test.c: In function 'main': ../../test.c:182:30: error: size of array 'test_array' is negative int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ssize_t))) <= 1)];; return 0; } ^~~~~~~~~~ from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: Test does not build: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Utils.py", line 828, in wrap return cache[k] KeyError: (,) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Configure.py", line 595, in run_build bld.compile() File "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/third_party/waf/waflib/Build.py", line 355, in compile raise Errors.BuildError(self.producer.error) waflib.Errors.BuildError: Build failed -> task in 'testprog' failed with exit status 1 (run with -v to display more information) from /root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2/lib/replace: The configuration failed not found -------------------------------------------------------- Checking if size of ssize_t == 2 ==> #define CONFIG_H_IS_FROM_SAMBA 1 #define _SAMBA_BUILD_ 4 #define HAVE_CONFIG_H 1 #define SRCDIR "/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2" #define HAVE_SYS_UTSNAME_H 1 #define SYSTEM_UNAME_SYSNAME "Linux" #define SYSTEM_UNAME_MACHINE "arm" #define SYSTEM_UNAME_RELEASE "4.19.86" #define SYSTEM_UNAME_VERSION "OpenWrt Linux-4.19.86 2019-12-04" #define HAVE_STDIO_H 1 #define HAVE_SIMPLE_C_PROG 1 #define HAVE_VISIBILITY_ATTR 1 #define HAVE_CONSTRUCTOR_ATTRIBUTE 1 #define HAVE_DESTRUCTOR_ATTRIBUTE 1 #define HAVE___ATTRIBUTE__ 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 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" #define HAVE_ENDIAN_H 1 #define HAVE_LITTLE_ENDIAN 1 /* #undef HAVE_BIG_ENDIAN */ #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_FCNTL_H 1 #define HAVE_FNMATCH_H 1 #define HAVE_GLOB_H 1 #define HAVE_LANGINFO_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_TERMIOS_H 1 #define HAVE_SYS_FILE_H 1 #define HAVE_SYS_UCONTEXT_H 1 #define HAVE_SYS_WAIT_H 1 #define HAVE_DECL_MALLOC 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_GETOPT_H 1 #define HAVE_ICONV_H 1 #define HAVE_SASL_SASL_H 1 #define HAVE_SYS_INOTIFY_H 1 #define HAVE_INOTIFY_INIT 1 #define HAVE_ZLIB_H 1 #define HAVE_ASM_UNISTD_H 1 #define HAVE_AIO_H 1 #define HAVE_ALLOCA_H 1 #define HAVE_FLOAT_H 1 /* #undef HAVE_RPC_RPC_HEADERS */ #define HAVE_TIRPC 1 #define HAVE_RPC_RPC_H 1 #define HAVE_RPC_NETTYPE_H 1 #define HAVE_SYS_SYSMACROS_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_STDATOMIC_H 1 #define HAVE_LIBGEN_H 1 #define HAVE_WNO_FORMAT_TRUNCATION "1" #define HAVE_WNO_UNUSED_FUNCTION "1" #define HAVE_WNO_STRICT_OVERFLOW "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 /* #undef HAVE_COMPARISON_FN_T */ #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 /* #undef HAVE_LOFF_T */ #define loff_t off_t /* #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 4 #define SIZEOF_SHORT 2 #define SIZEOF_SIZE_T 4 /* #undef SIZEOF_SSIZE_T */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include int main(void) { static int test_array[1 - 2 * !(((long int)(sizeof(ssize_t))) <= 2)];; return 0; } <== [1/2] Compiling bin/.conf_check_4f0792204776a6eb5a2c6f7e7f19d568/test.c ['arm-openwrt-linux-muslgnueabi-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-Os', '-pipe', '-fno-caller-saves', '-fno-plt', '-fhonour-copts', '-Wno-error=unused-but-set-variable', '-Wno-error=unused-result', '-mfloat-abi=hard', '-ffile-prefix-map=/root/openwrt/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/samba-4.11.2=samba-4.11.2', '-Wformat', '-Werror=format-security', '-fstack-