>>> libcoap 4.3.0 Downloading wget --passive-ftp -nd -t 3 -O '/home/autobuild/autobuild/instance-9/output-1/build/.libcoap-4.3.0.tar.gz.TWztjt/output' 'https://github.com/obgm/libcoap/archive/v4.3.0/libcoap-4.3.0.tar.gz' --2022-04-03 22:45:51-- https://github.com/obgm/libcoap/archive/v4.3.0/libcoap-4.3.0.tar.gz Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt' Resolving github.com (github.com)... 140.82.112.3 Connecting to github.com (github.com)|140.82.112.3|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/obgm/libcoap/tar.gz/refs/tags/v4.3.0 [following] --2022-04-03 22:45:51-- https://codeload.github.com/obgm/libcoap/tar.gz/refs/tags/v4.3.0 Resolving codeload.github.com (codeload.github.com)... 140.82.113.10 Connecting to codeload.github.com (codeload.github.com)|140.82.113.10|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: '/home/autobuild/autobuild/instance-9/output-1/build/.libcoap-4.3.0.tar.gz.TWztjt/output' 0K .......... .......... .......... .......... .......... 490K 50K .......... .......... .......... .......... .......... 926K 100K .......... .......... .......... .......... .......... 1.02M 150K .......... .......... .......... .......... .......... 64.1M 200K .......... .......... .......... .......... .......... 91.6M 250K .......... .......... .......... .......... .......... 125M 300K .......... .......... .......... .......... .......... 497K 350K .......... .......... .......... .......... .......... 167M 400K .......... .......... .......... .......... .......... 139M 450K .......... .......... .......... ... 1.32M=0.3s 2022-04-03 22:45:52 (1.42 MB/s) - '/home/autobuild/autobuild/instance-9/output-1/build/.libcoap-4.3.0.tar.gz.TWztjt/output' saved [495456] libcoap-4.3.0.tar.gz: OK (sha256: 1a195adacd6188d3b71c476e7b21706fef7f3663ab1fb138652e8da49a9ec556) >>> libcoap 4.3.0 Extracting gzip -d -c /home/autobuild/autobuild/instance-9/dl/libcoap/libcoap-4.3.0.tar.gz | tar --strip-components=1 -C /home/autobuild/autobuild/instance-9/output-1/build/libcoap-4.3.0 -xf - >>> libcoap 4.3.0 Patching >>> libcoap 4.3.0 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /home/autobuild/autobuild/instance-9/output-1/build/libcoap-4.3.0 -name $file); do cp support/gnuconfig/$file $i; done; done >>> libcoap 4.3.0 Configuring >>> libcoap 4.3.0 Autoreconfiguring libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' configure.ac:44: installing './ar-lib' configure.ac:39: installing './compile' configure.ac:51: installing './config.guess' configure.ac:51: installing './config.sub' configure.ac:29: installing './install-sh' configure.ac:29: installing './missing' Makefile.am: installing './INSTALL' Makefile.am: installing './depcomp' >>> libcoap 4.3.0 Patching libtool patching file /home/autobuild/autobuild/instance-9/output-1/build/libcoap-4.3.0/ltmain.sh Hunk #1 succeeded at 2694 (offset 7 lines). Hunk #2 succeeded at 4284 (offset 7 lines). Hunk #3 succeeded at 6579 (offset 25 lines). Hunk #4 succeeded at 6589 (offset 25 lines). Hunk #5 succeeded at 6882 (offset 25 lines). Hunk #6 succeeded at 7174 (offset 25 lines). Hunk #7 succeeded at 8140 (offset 28 lines). Hunk #8 succeeded at 10769 (offset 59 lines). (cd /home/autobuild/autobuild/instance-9/output-1/build/libcoap-4.3.0/ && rm -rf config.cache && PATH="/home/autobuild/autobuild/instance-9/output-1/host/bin:/home/autobuild/autobuild/instance-9/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" AR="/home/autobuild/autobuild/instance-9/output-1/host/bin/i686-buildroot-linux-musl-gcc-ar" AS="/home/autobuild/autobuild/instance-9/output-1/host/bin/i686-buildroot-linux-musl-as" LD="/home/autobuild/autobuild/instance-9/output-1/host/bin/i686-buildroot-linux-musl-ld" NM="/home/autobuild/autobuild/instance-9/output-1/host/bin/i686-buildroot-linux-musl-gcc-nm" CC="/home/autobuild/autobuild/instance-9/output-1/host/bin/i686-buildroot-linux-musl-gcc" GCC="/home/autobuild/autobuild/instance-9/output-1/host/bin/i686-buildroot-linux-musl-gcc" CPP="/home/autobuild/autobuild/instance-9/output-1/host/bin/i686-buildroot-linux-musl-cpp" CXX="/home/autobuild/autobuild/instance-9/output-1/host/bin/i686-buildroot-linux-musl-g++" FC="/home/autobuild/autobuild/instance-9/output-1/host/bin/i686-buildroot-linux-musl-gfortran" F77="/home/autobuild/autobuild/instance-9/output-1/host/bin/i686-buildroot-linux-musl-gfortran" RANLIB="/home/autobuild/autobuild/instance-9/output-1/host/bin/i686-buildroot-linux-musl-gcc-ranlib" READELF="/home/autobuild/autobuild/instance-9/output-1/host/bin/i686-buildroot-linux-musl-readelf" STRIP="/bin/true" OBJCOPY="/home/autobuild/autobuild/instance-9/output-1/host/bin/i686-buildroot-linux-musl-objcopy" OBJDUMP="/home/autobuild/autobuild/instance-9/output-1/host/bin/i686-buildroot-linux-musl-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/home/autobuild/autobuild/instance-9/output-1/host/bin/ccache /usr/bin/gcc" GCC_FOR_BUILD="/home/autobuild/autobuild/instance-9/output-1/host/bin/ccache /usr/bin/gcc" CXX_FOR_BUILD="/home/autobuild/autobuild/instance-9/output-1/host/bin/ccache /usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/autobuild/autobuild/instance-9/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/autobuild/autobuild/instance-9/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/autobuild/autobuild/instance-9/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/autobuild/autobuild/instance-9/output-1/host/lib -Wl,-rpath,/home/autobuild/autobuild/instance-9/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/autobuild/autobuild/instance-9/output-1/host/bin/i686-buildroot-linux-musl-as" DEFAULT_LINKER="/home/autobuild/autobuild/instance-9/output-1/host/bin/i686-buildroot-linux-musl-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 " LDFLAGS="" FCFLAGS=" -O3 -g0" FFLAGS=" -O3 -g0" PKG_CONFIG="/home/autobuild/autobuild/instance-9/output-1/host/bin/pkg-config" STAGING_DIR="/home/autobuild/autobuild/instance-9/output-1/host/i686-buildroot-linux-musl/sysroot" INTLTOOL_PERL=/usr/bin/perl CXX=no ac_cv_lbl_unaligned_fail=no ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=no gt_cv_func_gnugettext1_libc=yes gt_cv_func_gnugettext2_libc=yes CONFIG_SITE=/dev/null ./configure --target=i686-buildroot-linux-musl --host=i686-buildroot-linux-musl --build=aarch64-unknown-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix="" --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --disable-static --enable-shared --disable-examples --disable-examples-source --without-tinydtls --enable-dtls --without-gnutls --without-mbedtls --with-openssl ) checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for i686-buildroot-linux-musl-strip... /bin/true checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking pkg-config is at least version 0.20... yes checking whether make supports nested variables... (cached) yes checking whether to enable assertions... yes checking for i686-buildroot-linux-musl-gcc... /home/autobuild/autobuild/instance-9/output-1/host/bin/i686-buildroot-linux-musl-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... yes checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether /home/autobuild/autobuild/instance-9/output-1/host/bin/i686-buildroot-linux-musl-gcc accepts -g... yes checking for /home/autobuild/autobuild/instance-9/output-1/host/bin/i686-buildroot-linux-musl-gcc option to enable C11 features... none needed checking whether /home/autobuild/autobuild/instance-9/output-1/host/bin/i686-buildroot-linux-musl-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of /home/autobuild/autobuild/instance-9/output-1/host/bin/i686-buildroot-linux-musl-gcc... none checking for a sed that does not truncate output... /usr/bin/sed checking for i686-buildroot-linux-musl-ar... /home/autobuild/autobuild/instance-9/output-1/host/bin/i686-buildroot-linux-musl-gcc-ar checking the archiver (/home/autobuild/autobuild/instance-9/output-1/host/bin/i686-buildroot-linux-musl-gcc-ar) interface... ar checking whether ln -s works... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... (cached) no checking build system type... aarch64-unknown-linux-gnu checking host system type... i686-buildroot-linux-musl checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by /home/autobuild/autobuild/instance-9/output-1/host/bin/i686-buildroot-linux-musl-gcc... /home/autobuild/autobuild/instance-9/output-1/host/bin/i686-buildroot-linux-musl-ld checking if the linker (/home/autobuild/autobuild/instance-9/output-1/host/bin/i686-buildroot-linux-musl-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /home/autobuild/autobuild/instance-9/output-1/host/bin/i686-buildroot-linux-musl-gcc-nm checking the name lister (/home/autobuild/autobuild/instance-9/output-1/host/bin/i686-buildroot-linux-musl-gcc-nm) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert aarch64-unknown-linux-gnu file names to i686-buildroot-linux-musl format... func_convert_file_noop checking how to convert aarch64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /home/autobuild/autobuild/instance-9/output-1/host/bin/i686-buildroot-linux-musl-ld option to reload object files... -r checking for i686-buildroot-linux-musl-objdump... /home/autobuild/autobuild/instance-9/output-1/host/bin/i686-buildroot-linux-musl-objdump checking how to recognize dependent libraries... pass_all checking for i686-buildroot-linux-musl-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i686-buildroot-linux-musl-ar... (cached) /home/autobuild/autobuild/instance-9/output-1/host/bin/i686-buildroot-linux-musl-gcc-ar checking for archiver @FILE support... @ checking for i686-buildroot-linux-musl-strip... (cached) /bin/true checking for i686-buildroot-linux-musl-ranlib... /home/autobuild/autobuild/instance-9/output-1/host/bin/i686-buildroot-linux-musl-gcc-ranlib checking command to parse /home/autobuild/autobuild/instance-9/output-1/host/bin/i686-buildroot-linux-musl-gcc-nm output from /home/autobuild/autobuild/instance-9/output-1/host/bin/i686-buildroot-linux-musl-gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for i686-buildroot-linux-musl-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if /home/autobuild/autobuild/instance-9/output-1/host/bin/i686-buildroot-linux-musl-gcc supports -fno-rtti -fno-exceptions... no checking for /home/autobuild/autobuild/instance-9/output-1/host/bin/i686-buildroot-linux-musl-gcc option to produce PIC... -fPIC -DPIC checking if /home/autobuild/autobuild/instance-9/output-1/host/bin/i686-buildroot-linux-musl-gcc PIC flag -fPIC -DPIC works... yes checking if /home/autobuild/autobuild/instance-9/output-1/host/bin/i686-buildroot-linux-musl-gcc static flag -static works... yes checking if /home/autobuild/autobuild/instance-9/output-1/host/bin/i686-buildroot-linux-musl-gcc supports -c -o file.o... yes checking if /home/autobuild/autobuild/instance-9/output-1/host/bin/i686-buildroot-linux-musl-gcc supports -c -o file.o... (cached) yes checking whether the /home/autobuild/autobuild/instance-9/output-1/host/bin/i686-buildroot-linux-musl-gcc linker (/home/autobuild/autobuild/instance-9/output-1/host/bin/i686-buildroot-linux-musl-ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking whether C compiler accepts -Wlogical-op... yes checking whether C compiler accepts -fdiagnostics-color... yes checking whether C compiler accepts -Wunused-result... yes checking whether the linker accepts -Wl,--version-script=./libcoap-3.map... yes checking for GnuTLS... no checking for OpenSSL... yes checking for mbedtls_version_get_string in -lmbedtls... no configure: The use of OpenSSL was explicitly requested with configure option '--with-openssl'! checking for compatible OpenSSL version (>= 1.1.0)... yes 3.4.3 configure: WARNING: gcov is disabled checking for ctags... no configure: ==> Note: '(ex)ctags' command not found! configure: WARNING: ==> Without ctags you will be unable to run the target 'update-map-file'! configure: WARNING: ==> This is no problem if you just want to build the library libcoap. checking for assert.h... yes checking for arpa/inet.h... yes checking for limits.h... yes checking for netdb.h... yes checking for netinet/in.h... yes checking for pthread.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for sys/socket.h... yes checking for sys/time.h... yes checking for time.h... yes checking for unistd.h... (cached) yes checking for sys/unistd.h... no checking for syslog.h... yes checking for sys/ioctl.h... yes checking for net/if.h... yes checking for sys/epoll.h... yes checking for sys/timerfd.h... yes checking for size_t... yes checking for ssize_t... yes checking for memset... yes checking for select... yes checking for socket... yes checking for strcasecmp... yes checking for strrchr... yes checking for getaddrinfo... yes checking for strnlen... yes checking for malloc... yes checking for pthread_mutex_lock... yes checking for getrandom... yes checking for if_nametoindex... yes checking for library containing socket... none required checking for library containing inet_ntop... none required checking for library containing clock_gettime... none required checking for struct cmsghdr... yes checking operating system... Linux checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating coap_config.h.lwip config.status: creating coap_config.h.riot config.status: creating coap_config.h.windows config.status: creating doc/Makefile config.status: creating examples/Makefile config.status: creating include/coap3/coap.h config.status: creating include/coap3/coap.h.windows config.status: creating man/coap.txt config.status: creating man/coap_async.txt config.status: creating man/coap_attribute.txt config.status: creating man/coap_block.txt config.status: creating man/coap_cache.txt config.status: creating man/coap_context.txt config.status: creating man/coap_encryption.txt config.status: creating man/coap_endpoint_client.txt config.status: creating man/coap_endpoint_server.txt config.status: creating man/coap_handler.txt config.status: creating man/coap_io.txt config.status: creating man/coap_keepalive.txt config.status: creating man/coap_logging.txt config.status: creating man/coap_observe.txt config.status: creating man/coap_pdu_access.txt config.status: creating man/coap_pdu_setup.txt config.status: creating man/coap_recovery.txt config.status: creating man/coap_resource.txt config.status: creating man/coap_session.txt config.status: creating man/coap_string.txt config.status: creating man/coap_tls_library.txt config.status: creating man/coap-client.txt config.status: creating man/coap-server.txt config.status: creating man/coap-rd.txt config.status: creating man/Makefile config.status: creating tests/test_common.h config.status: creating tests/Makefile config.status: creating tests/oss-fuzz/Makefile.ci config.status: creating libcoap-3-openssl.pc config.status: creating coap_config.h config.status: executing depfiles commands config.status: executing libtool commands libcoap configuration summary: libcoap package version : "4.3.0" libcoap library version : "3.0.0" libcoap API version : "3" libcoap DTLS lib extn : "-openssl" host system : "i686-buildroot-linux-musl" build with TCP support : "yes" build DTLS support : "yes" --> OpenSSL around : "yes" (found OpenSSL 3.4.3) OPENSSL_CFLAGS : "" OPENSSL_LIBS : "-L/home/autobuild/autobuild/instance-9/output-1/host/bin/../i686-buildroot-linux-musl/sysroot/usr/lib -lssl -lcrypto " add default names : "yes" build using epoll : "yes" enable small stack size : "no" enable separate responses: "yes" build doxygen pages : "no" build man pages : "no" build unit test binary : "no" build examples : "no" install examples source : "no" build with gcov support : "no" build shared library : "yes" build static library : "no" >>> libcoap 4.3.0 Building PATH="/home/autobuild/autobuild/instance-9/output-1/host/bin:/home/autobuild/autobuild/instance-9/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" /usr/bin/make -j1 -C /home/autobuild/autobuild/instance-9/output-1/build/libcoap-4.3.0/ make[1]: Entering directory '/home/autobuild/autobuild/instance-9/output-1/build/libcoap-4.3.0' /usr/bin/make all-recursive make[2]: Entering directory '/home/autobuild/autobuild/instance-9/output-1/build/libcoap-4.3.0' Making all in . make[3]: Entering directory '/home/autobuild/autobuild/instance-9/output-1/build/libcoap-4.3.0' CC src/libcoap_3-openssl_la-address.lo CC src/libcoap_3-openssl_la-async.lo CC src/libcoap_3-openssl_la-block.lo CC src/libcoap_3-openssl_la-coap_asn1.lo CC src/libcoap_3-openssl_la-coap_cache.lo CC src/libcoap_3-openssl_la-coap_debug.lo CC src/libcoap_3-openssl_la-coap_event.lo CC src/libcoap_3-openssl_la-coap_hashkey.lo CC src/libcoap_3-openssl_la-coap_gnutls.lo CC src/libcoap_3-openssl_la-coap_io.lo CC src/libcoap_3-openssl_la-coap_mbedtls.lo CC src/libcoap_3-openssl_la-coap_notls.lo CC src/libcoap_3-openssl_la-coap_openssl.lo src/coap_openssl.c:107:3: error: unknown type name 'BIO_ADDR' 107 | BIO_ADDR *bio_addr; | ^~~~~~~~ src/coap_openssl.c: In function 'coap_dgram_ctrl': src/coap_openssl.c:336:8: error: 'BIO_CTRL_DGRAM_SET_PEEK_MODE' undeclared (first use in this function); did you mean 'BIO_CTRL_DGRAM_SET_PEER'? 336 | case BIO_CTRL_DGRAM_SET_PEEK_MODE: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | BIO_CTRL_DGRAM_SET_PEER src/coap_openssl.c:336:8: note: each undeclared identifier is reported only once for each function it appears in src/coap_openssl.c:342:8: error: 'BIO_CTRL_DGRAM_SET_DONT_FRAG' undeclared (first use in this function); did you mean 'BIO_CTRL_DGRAM_SET_CONNECTED'? 342 | case BIO_CTRL_DGRAM_SET_DONT_FRAG: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | BIO_CTRL_DGRAM_SET_CONNECTED src/coap_openssl.c:374:8: error: 'BIO_CTRL_DGRAM_GET_MTU_OVERHEAD' undeclared (first use in this function); did you mean 'BIO_CTRL_DGRAM_GET_MTU'? 374 | case BIO_CTRL_DGRAM_GET_MTU_OVERHEAD: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | BIO_CTRL_DGRAM_GET_MTU src/coap_openssl.c: In function 'coap_dtls_info_callback': src/coap_openssl.c:608:64: error: 'TLS_ST_OK' undeclared (first use in this function); did you mean 'SSL_ST_OK'? 608 | if (where == SSL_CB_HANDSHAKE_START && SSL_get_state(ssl) == TLS_ST_OK) | ^~~~~~~~~ | SSL_ST_OK src/coap_openssl.c: In function 'coap_dtls_new_context': src/coap_openssl.c:754:30: warning: implicit declaration of function 'BIO_ADDR_new'; did you mean 'BIO_meth_new'? [-Wimplicit-function-declaration] 754 | context->dtls.bio_addr = BIO_ADDR_new(); | ^~~~~~~~~~~~ | BIO_meth_new src/coap_openssl.c:754:30: warning: nested extern declaration of 'BIO_ADDR_new' [-Wnested-externs] src/coap_openssl.c:754:28: warning: assignment to 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 754 | context->dtls.bio_addr = BIO_ADDR_new(); | ^ src/coap_openssl.c: In function 'coap_dtls_context_set_spsk': src/coap_openssl.c:803:3: warning: implicit declaration of function 'SSL_CTX_set_psk_server_callback'; did you mean 'SSL_CTX_set_tmp_ecdh_callback'? [-Wimplicit-function-declaration] 803 | SSL_CTX_set_psk_server_callback(o_context->dtls.ctx, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | SSL_CTX_set_tmp_ecdh_callback src/coap_openssl.c:803:3: warning: nested extern declaration of 'SSL_CTX_set_psk_server_callback' [-Wnested-externs] src/coap_openssl.c:813:5: warning: implicit declaration of function 'SSL_CTX_use_psk_identity_hint' [-Wimplicit-function-declaration] 813 | SSL_CTX_use_psk_identity_hint(o_context->dtls.ctx, hint); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/coap_openssl.c:813:5: warning: nested extern declaration of 'SSL_CTX_use_psk_identity_hint' [-Wnested-externs] src/coap_openssl.c:831:5: warning: implicit declaration of function 'SSL_CTX_set_client_hello_cb'; did you mean 'SSL_CTX_set_client_cert_cb'? [-Wimplicit-function-declaration] 831 | SSL_CTX_set_client_hello_cb(o_context->dtls.ctx, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | SSL_CTX_set_client_cert_cb src/coap_openssl.c:831:5: warning: nested extern declaration of 'SSL_CTX_set_client_hello_cb' [-Wnested-externs] src/coap_openssl.c: In function 'map_key_type': src/coap_openssl.c:906:35: error: 'EVP_PKEY_DHX' undeclared (first use in this function); did you mean 'EVP_PKEY_DH'? 906 | case COAP_ASN1_PKEY_DHX: return EVP_PKEY_DHX; | ^~~~~~~~~~~~ | EVP_PKEY_DH src/coap_openssl.c:910:40: error: 'EVP_PKEY_TLS1_PRF' undeclared (first use in this function); did you mean 'EVP_PBE_TYPE_PRF'? 910 | case COAP_ASN1_PKEY_TLS1_PRF: return EVP_PKEY_TLS1_PRF; | ^~~~~~~~~~~~~~~~~ | EVP_PBE_TYPE_PRF src/coap_openssl.c:911:36: error: 'EVP_PKEY_HKDF' undeclared (first use in this function); did you mean 'EVP_PKEY_HMAC'? 911 | case COAP_ASN1_PKEY_HKDF: return EVP_PKEY_HKDF; | ^~~~~~~~~~~~~ | EVP_PKEY_HMAC src/coap_openssl.c: In function 'get_san_or_cn_from_cert': src/coap_openssl.c:1831:16: warning: implicit declaration of function 'OPENSSL_strndup'; did you mean 'OPENSSL_strdup'? [-Wimplicit-function-declaration] 1831 | return OPENSSL_strndup(cn, ecn-cn); | ^~~~~~~~~~~~~~~ | OPENSSL_strdup src/coap_openssl.c:1831:16: warning: nested extern declaration of 'OPENSSL_strndup' [-Wnested-externs] src/coap_openssl.c:1831:16: warning: returning 'int' from a function with return type 'char *' makes pointer from integer without a cast [-Wint-conversion] 1831 | return OPENSSL_strndup(cn, ecn-cn); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/coap_openssl.c: In function 'tls_client_hello_call_back': src/coap_openssl.c:2264:12: error: 'SSL_CLIENT_HELLO_ERROR' undeclared (first use in this function); did you mean 'SSL_F_CLIENT_HELLO'? 2264 | return SSL_CLIENT_HELLO_ERROR; | ^~~~~~~~~~~~~~~~~~~~~~ | SSL_F_CLIENT_HELLO src/coap_openssl.c:2285:18: warning: implicit declaration of function 'SSL_client_hello_get0_ciphers' [-Wimplicit-function-declaration] 2285 | size_t len = SSL_client_hello_get0_ciphers(ssl, &out); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/coap_openssl.c:2285:18: warning: nested extern declaration of 'SSL_client_hello_get0_ciphers' [-Wnested-externs] src/coap_openssl.c:2289:16: warning: implicit declaration of function 'SSL_bytes_to_cipher_list'; did you mean 'SSL_set_cipher_list'? [-Wimplicit-function-declaration] 2289 | if (len && SSL_bytes_to_cipher_list(ssl, out, len, | ^~~~~~~~~~~~~~~~~~~~~~~~ | SSL_set_cipher_list src/coap_openssl.c:2289:16: warning: nested extern declaration of 'SSL_bytes_to_cipher_list' [-Wnested-externs] src/coap_openssl.c:2290:41: warning: implicit declaration of function 'SSL_client_hello_isv2' [-Wimplicit-function-declaration] 2290 | SSL_client_hello_isv2(ssl), | ^~~~~~~~~~~~~~~~~~~~~ src/coap_openssl.c:2290:41: warning: nested extern declaration of 'SSL_client_hello_isv2' [-Wnested-externs] In file included from ./include/coap3/coap.h:45, from ./include/coap3/coap_internal.h:38, from src/coap_openssl.c:13: src/coap_openssl.c:2298:32: warning: implicit declaration of function 'SSL_CIPHER_get_protocol_id'; did you mean 'SSL_CIPHER_get_auth_nid'? [-Wimplicit-function-declaration] 2298 | SSL_CIPHER_get_protocol_id(peer_cipher)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/coap3/coap_debug.h:154:29: note: in definition of macro 'coap_log' 154 | coap_log_impl((level), __VA_ARGS__); \ | ^~~~~~~~~~~ src/coap_openssl.c:2298:32: warning: nested extern declaration of 'SSL_CIPHER_get_protocol_id' [-Wnested-externs] 2298 | SSL_CIPHER_get_protocol_id(peer_cipher)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./include/coap3/coap_debug.h:154:29: note: in definition of macro 'coap_log' 154 | coap_log_impl((level), __VA_ARGS__); \ | ^~~~~~~~~~~ src/coap_openssl.c:2315:5: warning: implicit declaration of function 'SSL_set_psk_server_callback'; did you mean 'coap_dtls_psk_server_callback'? [-Wimplicit-function-declaration] 2315 | SSL_set_psk_server_callback(ssl, coap_dtls_psk_server_callback); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | coap_dtls_psk_server_callback src/coap_openssl.c:2315:5: warning: nested extern declaration of 'SSL_set_psk_server_callback' [-Wnested-externs] src/coap_openssl.c:2321:12: error: 'SSL_CLIENT_HELLO_SUCCESS' undeclared (first use in this function) 2321 | return SSL_CLIENT_HELLO_SUCCESS; | ^~~~~~~~~~~~~~~~~~~~~~~~ src/coap_openssl.c:2331:7: warning: implicit declaration of function 'SSL_client_hello_get0_ext' [-Wimplicit-function-declaration] 2331 | if (SSL_client_hello_get0_ext(ssl, TLSEXT_TYPE_client_certificate_type, | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/coap_openssl.c:2331:7: warning: nested extern declaration of 'SSL_client_hello_get0_ext' [-Wnested-externs] src/coap_openssl.c: In function 'psk_tls_client_hello_call_back': src/coap_openssl.c:2521:16: error: 'SSL_CLIENT_HELLO_ERROR' undeclared (first use in this function); did you mean 'SSL_F_CLIENT_HELLO'? 2521 | return SSL_CLIENT_HELLO_ERROR; | ^~~~~~~~~~~~~~~~~~~~~~ | SSL_F_CLIENT_HELLO src/coap_openssl.c:2555:7: warning: implicit declaration of function 'SSL_use_psk_identity_hint' [-Wimplicit-function-declaration] 2555 | SSL_use_psk_identity_hint(ssl, lhint); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/coap_openssl.c:2555:7: warning: nested extern declaration of 'SSL_use_psk_identity_hint' [-Wnested-externs] src/coap_openssl.c:2558:10: error: 'SSL_CLIENT_HELLO_SUCCESS' undeclared (first use in this function) 2558 | return SSL_CLIENT_HELLO_SUCCESS; | ^~~~~~~~~~~~~~~~~~~~~~~~ src/coap_openssl.c: In function 'coap_dtls_free_context': src/coap_openssl.c:2722:5: warning: implicit declaration of function 'BIO_ADDR_free'; did you mean 'BIO_meth_free'? [-Wimplicit-function-declaration] 2722 | BIO_ADDR_free(context->dtls.bio_addr); | ^~~~~~~~~~~~~ | BIO_meth_free src/coap_openssl.c:2722:5: warning: nested extern declaration of 'BIO_ADDR_free' [-Wnested-externs] src/coap_openssl.c: In function 'setup_client_ssl_session': src/coap_openssl.c:2819:5: warning: implicit declaration of function 'SSL_set_psk_client_callback'; did you mean 'coap_dtls_psk_client_callback'? [-Wimplicit-function-declaration] 2819 | SSL_set_psk_client_callback(ssl, coap_dtls_psk_client_callback); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | coap_dtls_psk_client_callback src/coap_openssl.c:2819:5: warning: nested extern declaration of 'SSL_set_psk_client_callback' [-Wnested-externs] src/coap_openssl.c: In function 'coap_dtls_get_overhead': src/coap_openssl.c:3132:15: error: 'EVP_CCM_TLS_EXPLICIT_IV_LEN' undeclared (first use in this function); did you mean 'EVP_GCM_TLS_EXPLICIT_IV_LEN'? 3132 | ivlen = EVP_CCM_TLS_EXPLICIT_IV_LEN; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | EVP_GCM_TLS_EXPLICIT_IV_LEN src/coap_openssl.c: In function 'psk_tls_client_hello_call_back': src/coap_openssl.c:2563:1: warning: control reaches end of non-void function [-Wreturn-type] 2563 | } | ^ src/coap_openssl.c: In function 'tls_client_hello_call_back': src/coap_openssl.c:2447:1: warning: control reaches end of non-void function [-Wreturn-type] 2447 | } | ^ make[3]: *** [Makefile:965: src/libcoap_3-openssl_la-coap_openssl.lo] Error 1 make[3]: Leaving directory '/home/autobuild/autobuild/instance-9/output-1/build/libcoap-4.3.0' make[2]: *** [Makefile:1124: all-recursive] Error 1 make[2]: Leaving directory '/home/autobuild/autobuild/instance-9/output-1/build/libcoap-4.3.0' make[1]: *** [Makefile:651: all] Error 2 make[1]: Leaving directory '/home/autobuild/autobuild/instance-9/output-1/build/libcoap-4.3.0' make: *** [package/pkg-generic.mk:292: /home/autobuild/autobuild/instance-9/output-1/build/libcoap-4.3.0/.stamp_built] Error 2 make: Leaving directory '/home/autobuild/autobuild/instance-9/buildroot'