checking for time.h... yes checking for unistd.h... (cached) yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for netdb.h... (cached) yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for strings.h... (cached) yes checking sys/event.h usability... no checking sys/event.h presence... no checking for sys/event.h... no checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking pkg-config is at least version 0.9.0... yes checking for LIBEDIT... yes checking for Testing for libedit unicode support... yes checking for uuid_generate_random in -luuid... yes checking uuid/uuid.h usability... yes checking uuid/uuid.h presence... yes checking for uuid/uuid.h... yes checking for JANSSON... yes checking for clock_gettime in -lrt... yes checking for arm-buildroot-linux-uclibcgnueabihf-xml2-config... (cached) /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/bin/xml2-config checking xlocale.h usability... yes checking xlocale.h presence... yes checking for xlocale.h... yes checking winsock.h usability... no checking winsock.h presence... no checking for winsock.h... no checking winsock2.h usability... no checking winsock2.h presence... no checking for winsock2.h... no checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for an ANSI C-conforming const... yes checking for uid_t in sys/types.h... yes checking for inline... inline checking for long double with more range or precision than double... no checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking for size_t... (cached) yes checking for struct stat.st_blksize... yes checking for struct ucred.uid... yes checking for struct ucred.cr_uid... no checking for struct sockpeercred.uid... no checking for struct ifreq.ifr_ifru.ifru_hwaddr... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for working volatile... yes checking for ptrdiff_t... yes checking for struct stat.st_mtim... yes checking for struct stat.st_mtimensec... no checking for struct stat.st_mtimespec... no checking for unistd.h... (cached) yes checking for working chown... no checking whether closedir returns void... yes checking for error_at_line... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... cross configure: WARNING: result yes guessed because of cross compilation checking for working vfork... (cached) yes checking for _LARGEFILE_SOURCE value needed for large files... no checking whether /home/buildroot/autobuild/run/instance-0/output/host/bin/arm-linux-gcc needs -traditional... no checking for working memcmp... (cached) yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) yes checking for utime.h... (cached) yes checking for getpagesize... yes checking for working mmap... (cached) yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking whether lstat correctly handles trailing slash... no checking whether stat accepts an empty string... yes checking for working strcoll... no checking for strftime... yes checking for working strnlen... yes checking for working strtod... no checking for pow... yes checking whether utime accepts a null argument... guessing yes checking for vprintf... yes checking for _doprnt... no checking for asprintf... yes checking for atexit... yes checking for closefrom... no checking for dup2... yes checking for eaccess... yes checking for endpwent... yes checking for euidaccess... yes checking for ffsll... yes checking for ftruncate... yes checking for getcwd... yes checking for gethostbyname... yes checking for gethostname... yes checking for getloadavg... no checking for gettimeofday... yes checking for glob... yes checking for ioperm... yes checking for inet_ntoa... yes checking for isascii... yes checking for memchr... yes checking for memmove... yes checking for memset... yes checking for mkdir... yes checking for mkdtemp... yes checking for munmap... yes checking for newlocale... yes checking for ppoll... yes checking for putenv... yes checking for re_comp... yes checking for regcomp... yes checking for select... yes checking for setenv... yes checking for socket... yes checking for strcasecmp... yes checking for strcasestr... yes checking for strchr... yes checking for strcspn... yes checking for strdup... yes checking for strerror... yes checking for strlcat... yes checking for strlcpy... yes checking for strncasecmp... yes checking for strndup... yes checking for strnlen... yes checking for strrchr... yes checking for strsep... yes checking for strspn... yes checking for strstr... yes checking for strtod... (cached) no checking for strtol... yes checking for strtold... yes checking for strtoq... yes checking for unsetenv... yes checking for uselocale... yes checking for utime... yes checking for vasprintf... yes checking for getpeereid... no checking for sysctl... yes checking for swapctl... no checking for malloc_trim... yes checking for htonll... no checking for ntohll... no checking for sqrt in -lm... yes checking for exp2... yes checking for log2... yes checking for exp10... yes checking for log10... yes checking for sin... yes checking for cos... yes checking for tan... yes checking for asin... yes checking for acos... yes checking for atan... yes checking for atan2... yes checking for pow... (cached) yes checking for rint... yes checking for exp... yes checking for log... yes checking for remainder... yes checking for fmod... yes checking for round... yes checking for roundf... yes checking for trunc... yes checking for floor... yes checking for ceil... yes checking for LLONG_MAX in limits.h... yes checking for timersub in time.h... yes checking for a version of GNU ld that supports the --dynamic-list flag... yes checking for sys/poll.h... (cached) yes checking for inet_aton... yes checking for IP_PKTINFO... yes checking for library containing gethostbyname_r... none required checking for gethostbyname_r with 6 arguments... yes checking for gethostbyname_r with 5 arguments... no checking byteswap.h usability... yes checking byteswap.h presence... yes checking for byteswap.h... yes checking for __swap16 variant of byteswapping macros... no checking for bswap16 variant of byteswapping macros... no checking for locale_t in locale.h... yes checking for O_EVTONLY in fcntl.h... no checking for O_SYMLINK in fcntl.h... no checking for PTHREAD_RWLOCK_INITIALIZER in pthread.h... no checking for PTHREAD_RWLOCK_PREFER_WRITER_NP in pthread.h... no checking for PTHREAD_MUTEX_RECURSIVE_NP in pthread.h... no checking for PTHREAD_MUTEX_ADAPTIVE_NP in pthread.h... no checking for pthread_spinlock_t in pthread.h... no checking for pthread_rwlock_timedwrlock() in pthread.h... no checking for working unnamed semaphores... cross-compile configure: WARNING: result yes guessed because of cross compilation checking if PTHREAD_ONCE_INIT needs braces... yes checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP in pthread.h... no checking whether we can compare a mutex to its initial value... no checking sys/thr.h usability... no checking sys/thr.h presence... no checking for sys/thr.h... no checking for compiler sync operations... yes checking for compiler atomic operations... yes checking if your system printf is NULL-safe.... unknown checking if we can increase the maximum select-able file descriptor... cross-compile checking if we have usable eventfd support... cross-compile checking for compiler 'attribute pure' support... yes checking for compiler 'attribute malloc' support... yes checking for compiler 'attribute const' support... yes checking for compiler 'attribute unused' support... yes checking for compiler 'attribute always_inline' support... no checking for compiler 'attribute deprecated' support... yes checking for compiler 'attribute sentinel' support... yes checking for compiler 'attribute warn_unused_result' support... yes checking for compiler 'attribute may_alias' support... yes checking for compiler 'attribute constructor' support... yes checking for compiler 'attribute destructor' support... yes checking for compiler 'attribute noreturn' support... yes checking for -fsanitize=address support... yes checking for -fsanitize=thread support... yes checking for -fsanitize=leak support... yes checking for -fsanitize=undefined support... yes checking for -Wdeclaration-after-statement support... yes checking for -Wtrampolines support... yes checking for _FORTIFY_SOURCE support... yes checking for -fno-strict-overflow... yes checking for -Wno-format-truncation... yes checking for -Wno-stringop-truncation... yes checking for -Wshadow... yes checking for -march=native support... no checking whether to use rpath... skipped checking for sysinfo... yes checking for library containing res_9_ninit... no checking for res_ninit... no checking for BIND_8_COMPAT required... no checking for GLOB_NOMAGIC in glob.h... yes checking for GLOB_BRACE in glob.h... yes checking for RTLD_NOLOAD in dlfcn.h... yes checking for IP_MTU_DISCOVER in netinet/in.h... yes checking size of int... 4 checking size of long... 4 checking size of long long... 8 checking size of char *... 4 checking size of long... (cached) 4 checking size of long long... (cached) 8 checking size of fd_set.fds_bits... (cached) 4 checking for dladdr in dlfcn.h... yes checking for DAHDI_RESET_COUNTERS in dahdi/user.h... no checking for DAHDI_DEFAULT_MTU_MRU in dahdi/user.h... no checking for DAHDI_CODE in dahdi/user.h... no checking for DAHDI_POLICY_HALF_FULL in dahdi/user.h... no checking for enhanced dahdi vmwi support... no checking if "int foo = DAHDI_ECHOCANCEL_FAX_MODE" compiles using dahdi/user.h... no checking for getifaddrs() support... yes checking for ILBC... no checking for kevent64... no checking for arm-buildroot-linux-uclibcgnueabihf-net-snmp-config... no checking for net-snmp-config... /home/buildroot/autobuild/run/instance-0/output/host/arm-buildroot-linux-uclibcgnueabihf/sysroot/usr/bin/net-snmp-config checking for ogg_stream_init in -logg... yes checking ogg/ogg.h usability... yes checking ogg/ogg.h presence... yes checking for ogg/ogg.h... yes checking for bs_version in -lbeanstalk... no checking for PYTHONDEV... no checking for pri_setup_ack in -lpri... no checking for pri_persistent_layer2_option in -lpri... no checking for pri_date_time_send_option in -lpri... no checking for pri_mwi_indicate_v2 in -lpri... no checking for pri_display_text in -lpri... no checking for pri_mwi_indicate in -lpri... no checking for pri_mcid_enable in -lpri... no checking for pri_connect_ack_enable in -lpri... no checking for pri_aoc_events_enable in -lpri... no checking for pri_transfer_enable in -lpri... no checking for pri_cc_enable in -lpri... no checking for pri_hangup_fix_enable in -lpri... no checking for pri_sr_set_called_subaddress in -lpri... no checking for pri_hold_enable in -lpri... no checking for pri_reroute_enable in -lpri... no checking for pri_sr_set_keypad_digits in -lpri... no checking for pri_progress_with_cause in -lpri... no checking for pri_set_inbanddisconnect in -lpri... no checking for pri_maintenance_service in -lpri... no checking for pri_sr_set_reversecharge in -lpri... no checking for fftw_malloc in -lfftw3... no checking for sf_open in -lsndfile... no checking for opus_encoder_create in -lopus... yes checking opus/opus.h usability... yes checking opus/opus.h presence... yes checking for opus/opus.h... yes checking for op_open_callbacks in -lopusfile... no checking for codec2_create in -lcodec2... no checking for corosync_cfg_state_track in -lcfg... no checking for sqlite3_open in -lsqlite3... yes checking sqlite3.h usability... yes checking sqlite3.h presence... yes checking for sqlite3.h... yes checking for crypt in -lcrypt... yes checking crypt.h usability... yes checking crypt.h presence... yes checking for crypt.h... yes checking for crypt... yes checking for crypt_r in -lcrypt... no checking for AES_encrypt in -lcrypto... yes checking openssl/aes.h usability... yes checking openssl/aes.h presence... yes checking for openssl/aes.h... yes checking for SSL_connect in -lssl... yes checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking for srtp_init in -lsrtp2... yes checking srtp2/srtp.h usability... yes checking srtp2/srtp.h presence... yes checking for srtp2/srtp.h... yes checking for the ability of -lsrtp2 to be linked in a shared object... yes checking for srtp_crypto_policy_set_aes_cm_256_hmac_sha1_80 in -lsrtp2... yes checking for srtp_crypto_policy_set_aes_cm_192_hmac_sha1_80 in -lsrtp2... yes checking for srtp_crypto_policy_set_aes_gcm_128_8_auth in -lsrtp2... yes checking for srtp_shutdown in -lsrtp2... yes checking for srtp2/srtp.h... (cached) yes checking for srtp_get_version_string in -lsrtp2... yes checking for srtp2/srtp.h... (cached) yes checking for tone_zone_find_by_num in -ltonezone... no checking for vorbis_info_init in -lvorbis... yes checking vorbis/codec.h usability... yes checking vorbis/codec.h presence... yes checking for vorbis/codec.h... yes checking for OV_CALLBACKS_NOCLOSE declared in vorbis/vorbisfile.h... yes checking for compress in -lz... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking linux/compiler.h usability... no checking linux/compiler.h presence... no checking for linux/compiler.h... no checking for linux/ixjuser.h... yes checking for MSG_NOSIGNAL in sys/socket.h... yes checking for SO_NOSIGPIPE in sys/socket.h... no checking linux/videodev.h usability... no checking linux/videodev.h presence... no checking for linux/videodev.h... no checking for SYSTEMD... no checking for LOG_AUTH in syslog.h... yes checking for LOG_AUTHPRIV in syslog.h... yes checking for LOG_CRON in syslog.h... yes checking for LOG_DAEMON in syslog.h... yes checking for LOG_FTP in syslog.h... yes checking for LOG_KERN in syslog.h... yes checking for LOG_LPR in syslog.h... yes checking for LOG_MAIL in syslog.h... yes checking for LOG_NEWS in syslog.h... yes checking for LOG_SYSLOG in syslog.h... yes checking for LOG_UUCP in syslog.h... yes checking for bridges/bridge_softmix/include/hrirs.h... (cached) true checking for mandatory modules: CRYPT ILBC JANSSON LIBEDIT LIBXML2 NETSNMP OGG OPUS SQLITE3 SRTP OPENSSL VORBIS ZLIB... ok configure: creating ./config.status config.status: creating build_tools/menuselect-deps config.status: creating makeopts config.status: creating include/asterisk/autoconfig.h configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --disable-dependency-tracking, --enable-ipv6, --disable-nls, --disable-static, --enable-shared, --without-curses, --without-termcap, --without-tinfo checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for gcc... /home/buildroot/autobuild/run/instance-0/output/host/bin/arm-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... configure: error: in `/home/buildroot/autobuild/run/instance-0/output/build/asterisk-16.1.0/menuselect': configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details .$$$$$$$$$$$$$$$=.. .$7$7.. .7$$7:. .$$:. ,$7.7 .$7. 7$$$$ .$$77 ..$$. $$$$$ .$$$7 ..7$ .?. $$$$$ .?. 7$$$. $.$. .$$$7. $$$$7 .7$$$. .$$$. .777. .$$$$$$77$$$77$$$$$7. $$$, $$$~ .7$$$$$$$$$$$$$7. .$$$. .$$7 .7$$$$$$$7: ?$$$. $$$ ?7$$$$$$$$$$I .$$$7 $$$ .7$$$$$$$$$$$$$$$$ :$$$. $$$ $$$$$$7$$$$$$$$$$$$ .$$$. $$$ $$$ 7$$$7 .$$$ .$$$. $$$$ $$$$7 .$$$. 7$$$7 7$$$$ 7$$$ $$$$$ $$$ $$$$7. $$ (TM) $$$$$$$. .7$$$$$$ $$ $$$$$$$$$$$$7$$$$$$$$$.$$$$$$ $$$$$$$$$$$$$$$$. configure: Package configured for: configure: OS type : linux-uclibcgnueabihf configure: Host CPU : arm configure: build-cpu:vendor:os: x86_64 : pc : linux-gnu : configure: host-cpu:vendor:os: arm : buildroot : linux-uclibcgnueabihf : configure: Cross Compilation = YES >>> asterisk 16.1.0 Building PATH="/home/buildroot/autobuild/run/instance-0/output/host/bin:/home/buildroot/autobuild/run/instance-0/output/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" /usr/bin/make -j4 ASTVARLIBDIR="/usr/lib/asterisk" ASTDATADIR="/usr/lib/asterisk" ASTKEYDIR="/usr/lib/asterisk" ASTDBDIR="/usr/lib/asterisk" -C /home/buildroot/autobuild/run/instance-0/output/build/asterisk-16.1.0/ CC="cc" CXX="/home/buildroot/autobuild/run/instance-0/output/host/bin/arm-linux-g++" LD="" AR="" RANLIB="" CFLAGS="" LDFLAGS="" make -C menuselect CONFIGURE_SILENT="--silent" makeopts make[3]: `makeopts' is up to date. Generating input for menuselect ... menuselect/menuselect --check-deps menuselect.makeopts menuselect/menuselect --check-deps menuselect.makeopts [CC] astcanary.c -> astcanary.o [CC] astdb2sqlite3.c -> astdb2sqlite3.o [CC] astdb2bdb.c -> astdb2bdb.o [CC] hash/hash.c -> hash/hash.o [LD] astcanary.o -> astcanary [CC] hash/hash_bigkey.c -> hash/hash_bigkey.o [CC] hash/hash_buf.c -> hash/hash_buf.o [CC] hash/hash_func.c -> hash/hash_func.o [CC] hash/hash_log2.c -> hash/hash_log2.o [CC] hash/hash_page.c -> hash/hash_page.o [CC] hash/ndbm.c -> hash/ndbm.o [CC] btree/bt_close.c -> btree/bt_close.o [CC] btree/bt_conv.c -> btree/bt_conv.o [CC] btree/bt_debug.c -> btree/bt_debug.o [CC] btree/bt_delete.c -> btree/bt_delete.o [CC] btree/bt_get.c -> btree/bt_get.o [CC] btree/bt_open.c -> btree/bt_open.o [CC] btree/bt_overflow.c -> btree/bt_overflow.o [CC] btree/bt_page.c -> btree/bt_page.o [CC] btree/bt_put.c -> btree/bt_put.o [CC] btree/bt_search.c -> btree/bt_search.o [CC] btree/bt_seq.c -> btree/bt_seq.o [CC] btree/bt_split.c -> btree/bt_split.o [CC] btree/bt_utils.c -> btree/bt_utils.o [CC] db/db.c -> db/db.o [CC] mpool/mpool.c -> mpool/mpool.o [CC] recno/rec_close.c -> recno/rec_close.o [CC] recno/rec_delete.c -> recno/rec_delete.o [CC] recno/rec_get.c -> recno/rec_get.o [CC] recno/rec_open.c -> recno/rec_open.o [CC] recno/rec_put.c -> recno/rec_put.o [CC] recno/rec_search.c -> recno/rec_search.o [CC] recno/rec_seq.c -> recno/rec_seq.o [CC] recno/rec_utils.c -> recno/rec_utils.o [AR] hash/hash.o hash/hash_bigkey.o hash/hash_buf.o hash/hash_func.o hash/hash_log2.o hash/hash_page.o hash/ndbm.o btree/bt_close.o btree/bt_conv.o btree/bt_debug.o btree/bt_delete.o btree/bt_get.o btree/bt_open.o btree/bt_overflow.o btree/bt_page.o btree/bt_put.o btree/bt_search.o btree/bt_seq.o btree/bt_split.o btree/bt_utils.o db/db.o mpool/mpool.o recno/rec_close.o recno/rec_delete.o recno/rec_get.o recno/rec_open.o recno/rec_put.o recno/rec_search.o recno/rec_seq.o recno/rec_utils.o -> libdb1.a [LD] astdb2sqlite3.o db1-ast/libdb1.a -> astdb2sqlite3 [LD] astdb2bdb.o db1-ast/libdb1.a -> astdb2bdb [CC] chan_bridge_media.c -> chan_bridge_media.o [CC] chan_iax2.c -> chan_iax2.o [CC] iax2/codec_pref.c -> iax2/codec_pref.o [CC] iax2/firmware.c -> iax2/firmware.o In file included from /home/buildroot/autobuild/run/instance-0/output/build/asterisk-16.1.0/include/asterisk/astobj2.h:21:0, from iax2/codec_pref.c:33: /home/buildroot/autobuild/run/instance-0/output/build/asterisk-16.1.0/include/asterisk/lock.h:51:21: fatal error: pthread.h: No such file or directory #include ^ compilation terminated. make[3]: *** [iax2/codec_pref.o] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from /home/buildroot/autobuild/run/instance-0/output/build/asterisk-16.1.0/include/asterisk/utils.h:32:0, from /home/buildroot/autobuild/run/instance-0/output/build/asterisk-16.1.0/include/asterisk/alertpipe.h:22, from /home/buildroot/autobuild/run/instance-0/output/build/asterisk-16.1.0/include/asterisk/channel.h:126, from chan_bridge_media.c:37: /home/buildroot/autobuild/run/instance-0/output/build/asterisk-16.1.0/include/asterisk/lock.h:51:21: fatal error: pthread.h: No such file or directory #include ^ compilation terminated. make[3]: *** [chan_bridge_media.o] Error 1 In file included from /home/buildroot/autobuild/run/instance-0/output/build/asterisk-16.1.0/include/asterisk/linkedlists.h:23:0, from iax2/firmware.c:40: /home/buildroot/autobuild/run/instance-0/output/build/asterisk-16.1.0/include/asterisk/lock.h:51:21: fatal error: pthread.h: No such file or directory #include ^ compilation terminated. make[3]: *** [iax2/firmware.o] Error 1 In file included from chan_iax2.c:79:0: /home/buildroot/autobuild/run/instance-0/output/build/asterisk-16.1.0/include/asterisk/lock.h:51:21: fatal error: pthread.h: No such file or directory #include ^ compilation terminated. make[3]: *** [chan_iax2.o] Error 1 make[2]: *** [channels] Error 2 make[1]: *** [/home/buildroot/autobuild/run/instance-0/output/build/asterisk-16.1.0/.stamp_built] Error 2 make: *** [_all] Error 2 make: Leaving directory `/home/buildroot/autobuild/run/instance-0/buildroot'