>>> libp11 0.4.12 Extracting gzip -d -c /home/buildroot/instance-0/dl/libp11/libp11-0.4.12.tar.gz | /home/buildroot/instance-0/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/instance-0/output-1/build/libp11-0.4.12 -xf - >>> libp11 0.4.12 Patching Applying 0001-src-p11_attr.c-fix-build-with-gcc-4.8.patch using patch: patching file src/p11_attr.c >>> libp11 0.4.12 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /home/buildroot/instance-0/output-1/build/libp11-0.4.12 -name $file); do cp support/gnuconfig/$file $i; done; done >>> libp11 0.4.12 Patching libtool patching file /home/buildroot/instance-0/output-1/build/libp11-0.4.12/ltmain.sh Hunk #1 succeeded at 2786 (offset 99 lines). Hunk #2 succeeded at 4376 (offset 99 lines). Hunk #3 succeeded at 6671 (offset 117 lines). Hunk #4 succeeded at 6681 (offset 117 lines). Hunk #5 succeeded at 6974 (offset 117 lines). Hunk #6 succeeded at 7266 (offset 117 lines). Hunk #7 succeeded at 8241 (offset 129 lines). Hunk #8 succeeded at 10873 (offset 163 lines). >>> libp11 0.4.12 Configuring (cd /home/buildroot/instance-0/output-1/build/libp11-0.4.12/ && rm -rf config.cache && GIT_DIR=. PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" AR="/home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-gcc-ar" AS="/home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-as" LD="/home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-ld" NM="/home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-gcc-nm" CC="/home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-gcc" GCC="/home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-gcc" CPP="/home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-cpp" CXX="/home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-g++" FC="/home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-gfortran" F77="/home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-gfortran" RANLIB="/home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-gcc-ranlib" READELF="/home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-readelf" STRIP="/home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-strip" OBJCOPY="/home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-objcopy" OBJDUMP="/home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/buildroot/instance-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/buildroot/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/buildroot/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/buildroot/instance-0/output-1/host/lib -Wl,-rpath,/home/buildroot/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-as" DEFAULT_LINKER="/home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-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 -O2 -g0 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 " LDFLAGS="" FCFLAGS=" -O2 -g0" FFLAGS=" -O2 -g0" PKG_CONFIG="/home/buildroot/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot" INTLTOOL_PERL=/usr/bin/perl CXX=no ac_cv_lbl_unaligned_fail=yes 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 CONFIG_SITE=/dev/null ./configure --target=microblazeel-buildroot-linux-gnu --host=microblazeel-buildroot-linux-gnu --build=x86_64-pc-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 --with-enginesdir=`/home/buildroot/instance-0/output-1/host/bin/pkg-config --variable enginesdir libcrypto | xargs readlink -f | sed 's%^/home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot%%'` ) configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls checking build system type... x86_64-pc-linux-gnu checking host system type... microblazeel-buildroot-linux-gnu checking target system type... microblazeel-buildroot-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for microblazeel-buildroot-linux-gnu-strip... /home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-strip checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for microblazeel-buildroot-linux-gnu-gcc... /home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-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 we are using the GNU C compiler... yes checking whether /home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-gcc accepts -g... yes checking for /home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-gcc option to accept ISO C89... none needed checking whether /home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of /home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-gcc... none checking pkg-config is at least version 0.9.0... yes checking how to run the C preprocessor... /home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-cpp checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... (cached) no checking if LD -Wl,--version-script works... yes checking how to run the C preprocessor... /home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-cpp checking whether ln -s works... yes checking for a sed that does not truncate output... /bin/sed checking whether make sets $(MAKE)... (cached) yes checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for fgrep... /bin/grep -F checking for ld used by /home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-gcc... /home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-ld checking if the linker (/home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-gcc-nm checking the name lister (/home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-gcc-nm) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to microblazeel-buildroot-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-ld option to reload object files... -r checking for microblazeel-buildroot-linux-gnu-objdump... /home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for microblazeel-buildroot-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for microblazeel-buildroot-linux-gnu-ar... /home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-gcc-ar checking for archiver @FILE support... @ checking for microblazeel-buildroot-linux-gnu-strip... (cached) /home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-strip checking for microblazeel-buildroot-linux-gnu-ranlib... /home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-gcc-ranlib checking command to parse /home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-gcc-nm output from /home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for microblazeel-buildroot-linux-gnu-mt... no checking for mt... mt configure: WARNING: using cross tools not prefixed with host triplet checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if /home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for /home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if /home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if /home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-gcc static flag -static works... yes checking if /home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-gcc supports -c -o file.o... yes checking if /home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the /home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-gcc linker (/home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-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... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for microblazeel-buildroot-linux-gnu-windres... no checking for windres... no checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for stdlib.h... (cached) yes checking for inttypes.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for dlfcn.h... (cached) yes checking utmp.h usability... yes checking utmp.h presence... yes checking for utmp.h... yes checking for doxygen... no checking for library containing dlopen... none required checking whether /home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-gcc is Clang... no checking whether pthreads work with "-pthread" and "-lpthread"... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for libcrypto >= 0.9.8... yes checking if libtool needs -no-undefined flag to build shared libraries... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/libp11.pc config.status: creating src/libp11.rc config.status: creating src/pkcs11.rc config.status: creating doc/Makefile config.status: creating doc/doxygen.conf config.status: creating examples/Makefile config.status: creating tests/Makefile config.status: creating src/config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls configure: creating src/libp11.map libp11 has been configured with the following options: Version: 0.4.12 libp11 directory: /usr/lib Engine directory: /usr/lib/engines-3 Default PKCS11 module: API doc support: no Host: microblazeel-buildroot-linux-gnu Compiler: /home/buildroot/instance-0/output-1/host/bin/microblazeel-buildroot-linux-gnu-gcc Preprocessor flags: -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 Compiler flags: -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -pthread Linker flags: Libraries: -lpthread OPENSSL_CFLAGS: OPENSSL_LIBS: -L/home/buildroot/instance-0/output-1/host/bin/../microblazeel-buildroot-linux-gnu/sysroot/usr/lib -lcrypto >>> libp11 0.4.12 Building GIT_DIR=. PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /usr/bin/make -j17 -C /home/buildroot/instance-0/output-1/build/libp11-0.4.12/ make[1]: Entering directory '/home/buildroot/instance-0/output-1/build/libp11-0.4.12' Making all in src make[2]: Entering directory '/home/buildroot/instance-0/output-1/build/libp11-0.4.12/src' /usr/bin/make all-am make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/libp11-0.4.12/src' CC pkcs11_la-eng_front.lo CC pkcs11_la-eng_back.lo CC pkcs11_la-eng_parse.lo CC pkcs11_la-eng_err.lo CC libp11_la-libpkcs11.lo CC libp11_la-p11_attr.lo CC libp11_la-p11_cert.lo CC libp11_la-p11_err.lo CC libp11_la-p11_ckr.lo CC libp11_la-p11_key.lo CC libp11_la-p11_load.lo CC libp11_la-p11_misc.lo CC libp11_la-p11_rsa.lo CC libp11_la-p11_ec.lo CC libp11_la-p11_pkey.lo CC libp11_la-p11_slot.lo CC libp11_la-p11_front.lo CC libp11_la-p11_atfork.lo p11_pkey.c: In function 'pkcs11_try_pkey_rsa_sign': p11_pkey.c:343:9: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 343 | rsa = (RSA *)EVP_PKEY_get0_RSA(pkey); | ^~~ In file included from /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/x509.h:29, from libp11.h:32, from libp11-int.h:27, from p11_pkey.c:20: /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/evp.h:1356:22: note: declared here 1356 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ p11_pkey.c: In function 'pkcs11_try_pkey_rsa_decrypt': p11_pkey.c:444:9: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 444 | rsa = (RSA *)EVP_PKEY_get0_RSA(pkey); | ^~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/evp.h:1356:22: note: declared here 1356 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ p11_pkey.c: In function 'pkcs11_pkey_method_rsa': p11_pkey.c:527:9: warning: 'EVP_PKEY_meth_find' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 527 | orig_meth = (EVP_PKEY_METHOD *)EVP_PKEY_meth_find(EVP_PKEY_RSA); | ^~~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/evp.h:1753:46: note: declared here 1753 | OSSL_DEPRECATEDIN_3_0 const EVP_PKEY_METHOD *EVP_PKEY_meth_find(int type); | ^~~~~~~~~~~~~~~~~~ p11_pkey.c:528:9: warning: 'EVP_PKEY_meth_get_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 528 | EVP_PKEY_meth_get_sign(orig_meth, | ^~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/evp.h:2092:28: note: declared here 2092 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_get_sign | ^~~~~~~~~~~~~~~~~~~~~~ p11_pkey.c:530:9: warning: 'EVP_PKEY_meth_get_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 530 | EVP_PKEY_meth_get_decrypt(orig_meth, | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/evp.h:2120:28: note: declared here 2120 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_get_decrypt | ^~~~~~~~~~~~~~~~~~~~~~~~~ p11_pkey.c:534:9: warning: 'EVP_PKEY_meth_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 534 | new_meth = EVP_PKEY_meth_new(EVP_PKEY_RSA, | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/evp.h:1754:40: note: declared here 1754 | OSSL_DEPRECATEDIN_3_0 EVP_PKEY_METHOD *EVP_PKEY_meth_new(int id, int flags); | ^~~~~~~~~~~~~~~~~ p11_pkey.c:542:9: warning: 'EVP_PKEY_meth_copy' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 542 | EVP_PKEY_meth_copy(new_meth, orig_meth); | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/evp.h:1757:28: note: declared here 1757 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_copy(EVP_PKEY_METHOD *dst, | ^~~~~~~~~~~~~~~~~~ p11_pkey.c:544:9: warning: 'EVP_PKEY_meth_set_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 544 | EVP_PKEY_meth_set_sign(new_meth, | ^~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/evp.h:2023:28: note: declared here 2023 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_set_sign | ^~~~~~~~~~~~~~~~~~~~~~ p11_pkey.c:546:9: warning: 'EVP_PKEY_meth_set_decrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 546 | EVP_PKEY_meth_set_decrypt(new_meth, | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/evp.h:2050:28: note: declared here 2050 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_set_decrypt | ^~~~~~~~~~~~~~~~~~~~~~~~~ p11_pkey.c: In function 'pkcs11_try_pkey_ec_sign': p11_pkey.c:584:9: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 584 | eckey = (EC_KEY *)EVP_PKEY_get0_EC_KEY(pkey); | ^~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/evp.h:1382:25: note: declared here 1382 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ p11_pkey.c:589:17: warning: 'ECDSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 589 | *siglen = (size_t)ECDSA_size(eckey); | ^ In file included from /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/x509.h:33: /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/ec.h:1474:27: note: declared here 1474 | OSSL_DEPRECATEDIN_3_0 int ECDSA_size(const EC_KEY *eckey); | ^~~~~~~~~~ p11_ec.c: In function 'pkcs11_get_params': p11_pkey.c:594:9: warning: 'ECDSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 594 | if (*siglen < (size_t)ECDSA_size(eckey)) | ^~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/ec.h:1474:27: note: declared here 1474 | OSSL_DEPRECATEDIN_3_0 int ECDSA_size(const EC_KEY *eckey); | ^~~~~~~~~~ p11_ec.c:203:9: warning: 'd2i_ECParameters' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 203 | rv = d2i_ECParameters(&ec, &a, (long)params_len) == NULL; | ^~ In file included from /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/x509.h:33, from libp11.h:32, from libp11-int.h:27, from p11_ec.c:27: /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/ec.h:1230:31: note: declared here 1230 | OSSL_DEPRECATEDIN_3_0 EC_KEY *d2i_ECParameters(EC_KEY **key, | ^~~~~~~~~~~~~~~~ p11_rsa.c: In function 'pkcs11_rsa': p11_rsa.c:38:9: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 38 | rsa = (RSA *)EVP_PKEY_get0_RSA(evp_key); | ^~~ p11_ec.c: In function 'pkcs11_get_point_x509': p11_pkey.c: In function 'pkcs11_pkey_method_ec': p11_ec.c:224:9: warning: 'EVP_PKEY_get0_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 224 | pubkey_ec = (EC_KEY *)EVP_PKEY_get0_EC_KEY(pubkey); | ^~~~~~~~~ p11_pkey.c:673:9: warning: 'EVP_PKEY_meth_find' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 673 | orig_meth = (EVP_PKEY_METHOD *)EVP_PKEY_meth_find(EVP_PKEY_EC); | ^~~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/evp.h:1753:46: note: declared here 1753 | OSSL_DEPRECATEDIN_3_0 const EVP_PKEY_METHOD *EVP_PKEY_meth_find(int type); | ^~~~~~~~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/x509.h:29, from libp11.h:32, from libp11-int.h:27, from p11_rsa.c:25: /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/evp.h:1356:22: note: declared here 1356 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/x509.h:29: /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/evp.h:1382:25: note: declared here 1382 | const struct ec_key_st *EVP_PKEY_get0_EC_KEY(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~~~~ p11_rsa.c: In function 'pkcs11_sign': p11_ec.c:227:9: warning: 'EC_KEY_get0_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 227 | point = EC_KEY_get0_public_key(pubkey_ec); | ^~~~~ p11_rsa.c:54:9: warning: 'RSA_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 54 | return RSA_sign(type, m, m_len, sigret, siglen, rsa); | ^~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/ec.h:1081:39: note: declared here 1081 | OSSL_DEPRECATEDIN_3_0 const EC_POINT *EC_KEY_get0_public_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~ p11_pkey.c:674:9: warning: 'EVP_PKEY_meth_get_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 674 | EVP_PKEY_meth_get_sign(orig_meth, | ^~~~~~~~~~~~~~~~~~~~~~ p11_ec.c:230:9: warning: 'EC_KEY_set_public_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 230 | if (EC_KEY_set_public_key(ec, point) == 0) | ^~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/ec.h:1089:27: note: declared here 1089 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_public_key(EC_KEY *key, const EC_POINT *pub); | ^~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/evp.h:2092:28: note: declared here 2092 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_get_sign | ^~~~~~~~~~~~~~~~~~~~~~ In file included from libp11.h:31: /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:359:27: note: declared here 359 | OSSL_DEPRECATEDIN_3_0 int RSA_sign(int type, const unsigned char *m, | ^~~~~~~~ p11_pkey.c:677:9: warning: 'EVP_PKEY_meth_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 677 | new_meth = EVP_PKEY_meth_new(EVP_PKEY_EC, 0); | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/evp.h:1754:40: note: declared here 1754 | OSSL_DEPRECATEDIN_3_0 EVP_PKEY_METHOD *EVP_PKEY_meth_new(int id, int flags); | ^~~~~~~~~~~~~~~~~ p11_ec.c: In function 'pkcs11_get_point': p11_ec.c:262:17: warning: 'o2i_ECPublicKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 262 | rv = o2i_ECPublicKey(&ec, &a, os->length) == NULL; | ^~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/ec.h:1255:31: note: declared here 1255 | OSSL_DEPRECATEDIN_3_0 EC_KEY *o2i_ECPublicKey(EC_KEY **key, | ^~~~~~~~~~~~~~~ p11_ec.c:267:17: warning: 'o2i_ECPublicKey' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 267 | rv = o2i_ECPublicKey(&ec, &a, (long)point_len) == NULL; | ^~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/ec.h:1255:31: note: declared here 1255 | OSSL_DEPRECATEDIN_3_0 EC_KEY *o2i_ECPublicKey(EC_KEY **key, | ^~~~~~~~~~~~~~~ p11_pkey.c:684:9: warning: 'EVP_PKEY_meth_copy' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 684 | EVP_PKEY_meth_copy(new_meth, orig_meth); | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/evp.h:1757:28: note: declared here 1757 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_copy(EVP_PKEY_METHOD *dst, | ^~~~~~~~~~~~~~~~~~ p11_ec.c: In function 'pkcs11_get_ec': p11_pkey.c:686:9: warning: 'EVP_PKEY_meth_set_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 686 | EVP_PKEY_meth_set_sign(new_meth, | ^~~~~~~~~~~~~~~~~~~~~~ p11_ec.c:293:9: warning: 'EC_KEY_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 293 | ec = EC_KEY_new(); | ^~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/ec.h:987:31: note: declared here 987 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new(void); | ^~~~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/evp.h:2023:28: note: declared here 2023 | OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_set_sign | ^~~~~~~~~~~~~~~~~~~~~~ p11_ec.c:303:17: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 303 | EC_KEY_free(ec); | ^~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ p11_ec.c:314:9: warning: 'EC_KEY_get0_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 314 | if (key->object_class == CKO_PRIVATE_KEY && EC_KEY_get0_private_key(ec) == NULL) { | ^~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/ec.h:1067:37: note: declared here 1067 | OSSL_DEPRECATEDIN_3_0 const BIGNUM *EC_KEY_get0_private_key(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~~~~~ p11_rsa.c: In function 'pkcs11_get_rsa': p11_ec.c:316:17: warning: 'EC_KEY_set_private_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 316 | EC_KEY_set_private_key(ec, bn); | ^~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/ec.h:1075:27: note: declared here 1075 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_private_key(EC_KEY *key, const BIGNUM *prv); | ^~~~~~~~~~~~~~~~~~~~~~ p11_rsa.c:235:9: warning: 'RSA_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 235 | rsa = RSA_new(); | ^~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:212:28: note: declared here 212 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ p11_ec.c:322:17: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 322 | EC_KEY_free(ec); | ^~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ p11_ec.c: In function 'pkcs11_get_ex_data_ec': p11_rsa.c:239:9: warning: 'RSA_set0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 239 | RSA_set0_key(rsa, rsa_n, rsa_e, NULL); | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:218:27: note: declared here 218 | OSSL_DEPRECATEDIN_3_0 int RSA_set0_key(RSA *r, BIGNUM *n, BIGNUM *e, BIGNUM *d); | ^~~~~~~~~~~~ p11_ec.c:332:9: warning: 'EC_KEY_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 332 | return EC_KEY_get_ex_data(ec, ec_ex_index); | ^~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/ec.h:1103:29: note: declared here 1103 | OSSL_DEPRECATEDIN_3_0 void *EC_KEY_get_ex_data(const EC_KEY *key, int idx); | ^~~~~~~~~~~~~~~~~~ p11_rsa.c: In function 'pkcs11_get_ex_data_rsa': p11_ec.c: In function 'pkcs11_set_ex_data_ec': p11_rsa.c:249:9: warning: 'RSA_get_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 249 | return RSA_get_ex_data(rsa, rsa_ex_index); | ^~~~~~ p11_ec.c:341:9: warning: 'EC_KEY_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 341 | EC_KEY_set_ex_data(ec, ec_ex_index, key); | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:457:29: note: declared here 457 | OSSL_DEPRECATEDIN_3_0 void *RSA_get_ex_data(const RSA *r, int idx); | ^~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/ec.h:1102:27: note: declared here 1102 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_ex_data(EC_KEY *key, int idx, void *arg); | ^~~~~~~~~~~~~~~~~~ p11_rsa.c: In function 'pkcs11_set_ex_data_rsa': p11_ec.c: In function 'pkcs11_get_evp_key_ec': p11_rsa.c:254:9: warning: 'RSA_set_ex_data' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 254 | RSA_set_ex_data(rsa, rsa_ex_index, key); | ^~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:456:27: note: declared here 456 | OSSL_DEPRECATEDIN_3_0 int RSA_set_ex_data(RSA *r, int idx, void *arg); | ^~~~~~~~~~~~~~~ p11_ec.c:366:17: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 366 | EC_KEY_free(ec); | ^~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ p11_rsa.c: In function 'pkcs11_get_evp_key_rsa': p11_rsa.c:270:17: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 270 | RSA_free(rsa); | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ p11_ec.c:372:17: warning: 'EC_KEY_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 372 | EC_KEY_set_method(ec, PKCS11_get_ec_key_method()); | ^~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/ec.h:1302:27: note: declared here 1302 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_method(EC_KEY *key, const EC_KEY_METHOD *meth); | ^~~~~~~~~~~~~~~~~ p11_rsa.c:274:17: warning: 'RSA_set_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 274 | RSA_set_method(rsa, PKCS11_get_rsa_method()); | ^~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:313:27: note: declared here 313 | OSSL_DEPRECATEDIN_3_0 int RSA_set_method(RSA *rsa, const RSA_METHOD *meth); | ^~~~~~~~~~~~~~ p11_ec.c:382:9: warning: 'EVP_PKEY_set1_EC_KEY' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 382 | EVP_PKEY_set1_EC_KEY(pk, ec); /* Also increments the ec ref count */ | ^~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/evp.h:1380:5: note: declared here 1380 | int EVP_PKEY_set1_EC_KEY(EVP_PKEY *pkey, struct ec_key_st *key); | ^~~~~~~~~~~~~~~~~~~~ p11_rsa.c:276:17: warning: 'RSA_set_flags' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 276 | RSA_set_flags(rsa, RSA_FLAG_EXT_PKEY); | ^~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:254:28: note: declared here 254 | OSSL_DEPRECATEDIN_3_0 void RSA_set_flags(RSA *r, int flags); | ^~~~~~~~~~~~~ p11_ec.c:383:9: warning: 'EC_KEY_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 383 | EC_KEY_free(ec); /* Drops our reference to it */ | ^~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/ec.h:1022:28: note: declared here 1022 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ p11_rsa.c:290:9: warning: 'EVP_PKEY_set1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 290 | EVP_PKEY_set1_RSA(pk, rsa); /* Also increments the rsa ref count */ | ^~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/evp.h:1354:5: note: declared here 1354 | int EVP_PKEY_set1_RSA(EVP_PKEY *pkey, struct rsa_st *key); | ^~~~~~~~~~~~~~~~~ p11_rsa.c:291:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 291 | RSA_free(rsa); /* Drops our reference to it */ | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ p11_rsa.c: In function 'pkcs11_get_key_modulus': p11_rsa.c:304:9: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 304 | RSA_get0_key(rsa, &rsa_n, NULL, NULL); | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:228:28: note: declared here 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ p11_ec.c: In function 'pkcs11_ecdsa_sign_sig': p11_rsa.c: In function 'pkcs11_get_key_exponent': p11_ec.c:466:17: warning: 'EC_KEY_OpenSSL' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 466 | const EC_KEY_METHOD *meth = EC_KEY_OpenSSL(); | ^~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/ec.h:1298:44: note: declared here 1298 | OSSL_DEPRECATEDIN_3_0 const EC_KEY_METHOD *EC_KEY_OpenSSL(void); | ^~~~~~~~~~~~~~ p11_rsa.c:321:9: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 321 | RSA_get0_key(rsa, NULL, &rsa_e, NULL); | ^~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:228:28: note: declared here 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ p11_rsa.c: In function 'pkcs11_get_key_size': p11_ec.c:467:17: warning: 'EC_KEY_METHOD_get_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 467 | EC_KEY_METHOD_get_sign((EC_KEY_METHOD *)meth, | ^~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/ec.h:1543:28: note: declared here 1543 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_get_sign | ^~~~~~~~~~~~~~~~~~~~~~ p11_rsa.c:335:9: warning: 'RSA_size' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 335 | return RSA_size(rsa); | ^~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:215:27: note: declared here 215 | OSSL_DEPRECATEDIN_3_0 int RSA_size(const RSA *rsa); | ^~~~~~~~ p11_rsa.c: In function 'pkcs11_rsa_priv_dec_method': p11_ec.c:479:17: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 479 | const EC_GROUP *group = EC_KEY_get0_group(ec); | ^~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ p11_rsa.c:368:17: warning: 'RSA_meth_get_priv_dec' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 368 | priv_dec = RSA_meth_get_priv_dec(RSA_get_default_method()); | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:526:7: note: declared here 526 | int (*RSA_meth_get_priv_dec(const RSA_METHOD *meth)) (int flen, | ^~~~~~~~~~~~~~~~~~~~~ p11_rsa.c:368:17: warning: 'RSA_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 368 | priv_dec = RSA_meth_get_priv_dec(RSA_get_default_method()); | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:310:41: note: declared here 310 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *RSA_get_default_method(void); | ^~~~~~~~~~~~~~~~~~~~~~ p11_rsa.c: In function 'pkcs11_rsa_priv_enc_method': p11_rsa.c:381:17: warning: 'RSA_meth_get_priv_enc' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 381 | priv_enc = RSA_meth_get_priv_enc(RSA_get_default_method()); | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:516:7: note: declared here 516 | int (*RSA_meth_get_priv_enc(const RSA_METHOD *meth)) (int flen, | ^~~~~~~~~~~~~~~~~~~~~ p11_rsa.c:381:17: warning: 'RSA_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 381 | priv_enc = RSA_meth_get_priv_enc(RSA_get_default_method()); | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:310:41: note: declared here 310 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *RSA_get_default_method(void); | ^~~~~~~~~~~~~~~~~~~~~~ p11_rsa.c: In function 'pkcs11_rsa_free_method': p11_rsa.c:395:17: warning: 'RSA_meth_get_finish' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 395 | RSA_meth_get_finish(RSA_get_default_method()); | ^~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:563:7: note: declared here 563 | int (*RSA_meth_get_finish(const RSA_METHOD *meth)) (RSA *rsa); | ^~~~~~~~~~~~~~~~~~~ p11_ec.c: In function 'pkcs11_ecdh_compute_key': p11_rsa.c:395:17: warning: 'RSA_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 395 | RSA_meth_get_finish(RSA_get_default_method()); | ^~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:310:41: note: declared here 310 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *RSA_get_default_method(void); | ^~~~~~~~~~~~~~~~~~~~~~ p11_ec.c:642:9: warning: 'EC_KEY_get0_group' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 642 | const EC_GROUP *group = EC_KEY_get0_group(ecdh); | ^~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/ec.h:1053:39: note: declared here 1053 | OSSL_DEPRECATEDIN_3_0 const EC_GROUP *EC_KEY_get0_group(const EC_KEY *key); | ^~~~~~~~~~~~~~~~~ p11_rsa.c: In function 'PKCS11_get_rsa_method': p11_ec.c: In function 'PKCS11_get_ec_key_method': p11_rsa.c:496:17: warning: 'RSA_meth_dup' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 496 | ops = RSA_meth_dup(RSA_get_default_method()); | ^~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:486:35: note: declared here 486 | OSSL_DEPRECATEDIN_3_0 RSA_METHOD *RSA_meth_dup(const RSA_METHOD *meth); | ^~~~~~~~~~~~ p11_ec.c:752:17: warning: 'EC_KEY_METHOD_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 752 | ops = EC_KEY_METHOD_new((EC_KEY_METHOD *)EC_KEY_OpenSSL()); | ^~~ p11_rsa.c:496:17: warning: 'RSA_get_default_method' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 496 | ops = RSA_meth_dup(RSA_get_default_method()); | ^~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:310:41: note: declared here 310 | OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *RSA_get_default_method(void); | ^~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/ec.h:1480:38: note: declared here 1480 | OSSL_DEPRECATEDIN_3_0 EC_KEY_METHOD *EC_KEY_METHOD_new(const EC_KEY_METHOD *meth); | ^~~~~~~~~~~~~~~~~ p11_rsa.c:499:17: warning: 'RSA_meth_set1_name' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 499 | RSA_meth_set1_name(ops, "libp11 RSA method"); | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:488:27: note: declared here 488 | OSSL_DEPRECATEDIN_3_0 int RSA_meth_set1_name(RSA_METHOD *meth, | ^~~~~~~~~~~~~~~~~~ p11_ec.c:752:17: warning: 'EC_KEY_OpenSSL' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 752 | ops = EC_KEY_METHOD_new((EC_KEY_METHOD *)EC_KEY_OpenSSL()); | ^~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/ec.h:1298:44: note: declared here 1298 | OSSL_DEPRECATEDIN_3_0 const EC_KEY_METHOD *EC_KEY_OpenSSL(void); | ^~~~~~~~~~~~~~ p11_rsa.c:500:17: warning: 'RSA_meth_set_flags' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 500 | RSA_meth_set_flags(ops, 0); | ^~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:491:27: note: declared here 491 | OSSL_DEPRECATEDIN_3_0 int RSA_meth_set_flags(RSA_METHOD *meth, int flags); | ^~~~~~~~~~~~~~~~~~ p11_ec.c:753:17: warning: 'EC_KEY_METHOD_get_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 753 | EC_KEY_METHOD_get_init(ops, &orig_init, &ossl_ec_finish, &orig_copy, | ^~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/ec.h:1524:28: note: declared here 1524 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_get_init | ^~~~~~~~~~~~~~~~~~~~~~ p11_rsa.c:501:17: warning: 'RSA_meth_set_priv_enc' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 501 | RSA_meth_set_priv_enc(ops, pkcs11_rsa_priv_enc_method); | ^~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:521:5: note: declared here 521 | int RSA_meth_set_priv_enc(RSA_METHOD *rsa, | ^~~~~~~~~~~~~~~~~~~~~ p11_ec.c:755:17: warning: 'EC_KEY_METHOD_set_init' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 755 | EC_KEY_METHOD_set_init(ops, orig_init, pkcs11_ec_finish, orig_copy, | ^~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/ec.h:1482:28: note: declared here 1482 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_set_init | ^~~~~~~~~~~~~~~~~~~~~~ p11_rsa.c:502:17: warning: 'RSA_meth_set_priv_dec' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 502 | RSA_meth_set_priv_dec(ops, pkcs11_rsa_priv_dec_method); | ^~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:531:5: note: declared here 531 | int RSA_meth_set_priv_dec(RSA_METHOD *rsa, | ^~~~~~~~~~~~~~~~~~~~~ p11_ec.c:757:17: warning: 'EC_KEY_METHOD_get_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 757 | EC_KEY_METHOD_get_sign(ops, &orig_sign, NULL, NULL); | ^~~~~~~~~~~~~~~~~~~~~~ p11_rsa.c:503:17: warning: 'RSA_meth_set_finish' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 503 | RSA_meth_set_finish(ops, pkcs11_rsa_free_method); | ^~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/ec.h:1543:28: note: declared here 1543 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_get_sign | ^~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:565:5: note: declared here 565 | int RSA_meth_set_finish(RSA_METHOD *rsa, int (*finish) (RSA *rsa)); | ^~~~~~~~~~~~~~~~~~~ p11_ec.c:758:17: warning: 'EC_KEY_METHOD_set_sign' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 758 | EC_KEY_METHOD_set_sign(ops, orig_sign, NULL, pkcs11_ecdsa_sign_sig); | ^~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/ec.h:1499:28: note: declared here 1499 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_set_sign | ^~~~~~~~~~~~~~~~~~~~~~ p11_ec.c:759:17: warning: 'EC_KEY_METHOD_get_compute_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 759 | EC_KEY_METHOD_get_compute_key(ops, &ossl_ecdh_compute_key); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/ec.h:1536:28: note: declared here 1536 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_get_compute_key | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ p11_ec.c:760:17: warning: 'EC_KEY_METHOD_set_compute_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 760 | EC_KEY_METHOD_set_compute_key(ops, pkcs11_ec_ckey); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/ec.h:1494:28: note: declared here 1494 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_set_compute_key | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eng_front.c:25:2: error: #error did not get engine.h 25 | #error did not get engine.h | ^~~~~ eng_front.c:37:14: error: unknown type name 'ENGINE_CMD_DEFN' 37 | static const ENGINE_CMD_DEFN engine_cmd_defns[] = { | ^~~~~~~~~~~~~~~ eng_front.c:38:9: warning: braces around scalar initializer 38 | {CMD_SO_PATH, | ^ eng_front.c:38:9: note: (near initialization for 'engine_cmd_defns[0]') In file included from eng_back.c:29: eng_back.c: In function 'ctx_engine_ctrl': engine.h:45:34: error: 'ENGINE_CMD_BASE' undeclared (first use in this function) 45 | #define CMD_MODULE_PATH (ENGINE_CMD_BASE+1) | ^~~~~~~~~~~~~~~ eng_back.c:989:14: note: in expansion of macro 'CMD_MODULE_PATH' 989 | case CMD_MODULE_PATH: | ^~~~~~~~~~~~~~~ engine.h:45:34: note: each undeclared identifier is reported only once for each function it appears in 45 | #define CMD_MODULE_PATH (ENGINE_CMD_BASE+1) | ^~~~~~~~~~~~~~~ eng_back.c:989:14: note: in expansion of macro 'CMD_MODULE_PATH' 989 | case CMD_MODULE_PATH: | ^~~~~~~~~~~~~~~ In file included from eng_front.c:16: engine.h:44:33: error: 'ENGINE_CMD_BASE' undeclared here (not in a function) 44 | #define CMD_SO_PATH ENGINE_CMD_BASE | ^~~~~~~~~~~~~~~ eng_front.c:38:10: note: in expansion of macro 'CMD_SO_PATH' 38 | {CMD_SO_PATH, | ^~~~~~~~~~~ eng_front.c:39:17: warning: excess elements in scalar initializer 39 | "SO_PATH", | ^~~~~~~~~ eng_front.c:39:17: note: (near initialization for 'engine_cmd_defns[0]') eng_front.c:40:17: warning: excess elements in scalar initializer 40 | "Specifies the path to the 'pkcs11' engine shared library", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eng_front.c:40:17: note: (near initialization for 'engine_cmd_defns[0]') p11_key.c: In function 'pkcs11_store_key': p11_key.c:367:17: warning: 'EVP_PKEY_get1_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 367 | RSA *rsa = EVP_PKEY_get1_RSA(pk); | ^~~ In file included from /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/x509.h:29, from libp11.h:32, from libp11-int.h:27, from p11_key.c:20: /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/evp.h:1358:16: note: declared here 1358 | struct rsa_st *EVP_PKEY_get1_RSA(EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ p11_key.c:368:17: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 368 | RSA_get0_key(rsa, &rsa_n, &rsa_e, &rsa_d); | ^~~~~~~~~~~~ In file included from libp11.h:31: /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:228:28: note: declared here 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ p11_key.c:369:17: warning: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 369 | RSA_get0_factors(rsa, &rsa_p, &rsa_q); | ^~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:231:28: note: declared here 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ p11_key.c:370:17: warning: 'RSA_get0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 370 | RSA_get0_crt_params(rsa, &rsa_dmp1, &rsa_dmq1, &rsa_iqmp); | ^~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:236:28: note: declared here 236 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, | ^~~~~~~~~~~~~~~~~~~ p11_key.c:371:17: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 371 | RSA_free(rsa); | ^~~~~~~~ /home/buildroot/instance-0/output-1/host/microblazeel-buildroot-linux-gnu/sysroot/usr/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ eng_front.c:41:17: error: 'ENGINE_CMD_FLAG_STRING' undeclared here (not in a function) 41 | ENGINE_CMD_FLAG_STRING}, | ^~~~~~~~~~~~~~~~~~~~~~ eng_front.c:41:17: warning: excess elements in scalar initializer eng_front.c:41:17: note: (near initialization for 'engine_cmd_defns[0]') eng_front.c:42:9: warning: braces around scalar initializer 42 | {CMD_MODULE_PATH, | ^ eng_front.c:42:9: note: (near initialization for 'engine_cmd_defns[1]') eng_front.c:43:17: warning: excess elements in scalar initializer 43 | "MODULE_PATH", | ^~~~~~~~~~~~~ eng_front.c:43:17: note: (near initialization for 'engine_cmd_defns[1]') eng_front.c:44:17: warning: excess elements in scalar initializer 44 | "Specifies the path to the PKCS#11 module shared library", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eng_front.c:44:17: note: (near initialization for 'engine_cmd_defns[1]') eng_front.c:45:17: warning: excess elements in scalar initializer 45 | ENGINE_CMD_FLAG_STRING}, | ^~~~~~~~~~~~~~~~~~~~~~ eng_front.c:45:17: note: (near initialization for 'engine_cmd_defns[1]') eng_front.c:46:9: warning: braces around scalar initializer 46 | {CMD_PIN, | ^ eng_front.c:46:9: note: (near initialization for 'engine_cmd_defns[2]') eng_front.c:47:17: warning: excess elements in scalar initializer 47 | "PIN", | ^~~~~ eng_front.c:47:17: note: (near initialization for 'engine_cmd_defns[2]') eng_front.c:48:17: warning: excess elements in scalar initializer 48 | "Specifies the pin code", | ^~~~~~~~~~~~~~~~~~~~~~~~ eng_front.c:48:17: note: (near initialization for 'engine_cmd_defns[2]') eng_front.c:49:17: warning: excess elements in scalar initializer 49 | ENGINE_CMD_FLAG_STRING}, | ^~~~~~~~~~~~~~~~~~~~~~ eng_front.c:49:17: note: (near initialization for 'engine_cmd_defns[2]') eng_front.c:50:9: warning: braces around scalar initializer 50 | {CMD_VERBOSE, | ^ eng_front.c:50:9: note: (near initialization for 'engine_cmd_defns[3]') eng_front.c:51:17: warning: excess elements in scalar initializer 51 | "VERBOSE", | ^~~~~~~~~ eng_front.c:51:17: note: (near initialization for 'engine_cmd_defns[3]') eng_front.c:52:17: warning: excess elements in scalar initializer 52 | "Print additional details", | ^~~~~~~~~~~~~~~~~~~~~~~~~~ eng_front.c:52:17: note: (near initialization for 'engine_cmd_defns[3]') eng_back.c:1001:14: error: 'ENGINE_CTRL_SET_USER_INTERFACE' undeclared (first use in this function); did you mean 'CMD_SET_USER_INTERFACE'? 1001 | case ENGINE_CTRL_SET_USER_INTERFACE: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | CMD_SET_USER_INTERFACE eng_front.c:53:17: error: 'ENGINE_CMD_FLAG_NO_INPUT' undeclared here (not in a function) 53 | ENGINE_CMD_FLAG_NO_INPUT}, | ^~~~~~~~~~~~~~~~~~~~~~~~ eng_front.c:53:17: warning: excess elements in scalar initializer eng_front.c:53:17: note: (near initialization for 'engine_cmd_defns[3]') eng_front.c:54:9: warning: braces around scalar initializer 54 | {CMD_QUIET, | ^ eng_front.c:54:9: note: (near initialization for 'engine_cmd_defns[4]') eng_front.c:55:17: warning: excess elements in scalar initializer 55 | "QUIET", | ^~~~~~~ eng_front.c:55:17: note: (near initialization for 'engine_cmd_defns[4]') eng_front.c:56:17: warning: excess elements in scalar initializer 56 | "Remove additional details", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ eng_front.c:56:17: note: (near initialization for 'engine_cmd_defns[4]') eng_front.c:57:17: warning: excess elements in scalar initializer 57 | ENGINE_CMD_FLAG_NO_INPUT}, | ^~~~~~~~~~~~~~~~~~~~~~~~ eng_front.c:57:17: note: (near initialization for 'engine_cmd_defns[4]') eng_front.c:58:9: warning: braces around scalar initializer 58 | {CMD_LOAD_CERT_CTRL, | ^ eng_front.c:58:9: note: (near initialization for 'engine_cmd_defns[5]') eng_front.c:59:17: warning: excess elements in scalar initializer 59 | "LOAD_CERT_CTRL", | ^~~~~~~~~~~~~~~~ eng_front.c:59:17: note: (near initialization for 'engine_cmd_defns[5]') eng_front.c:60:17: warning: excess elements in scalar initializer 60 | "Get the certificate from card", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eng_front.c:60:17: note: (near initialization for 'engine_cmd_defns[5]') eng_back.c:1004:14: error: 'ENGINE_CTRL_SET_CALLBACK_DATA' undeclared (first use in this function); did you mean 'CMD_SET_CALLBACK_DATA'? 1004 | case ENGINE_CTRL_SET_CALLBACK_DATA: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | CMD_SET_CALLBACK_DATA eng_front.c:61:17: error: 'ENGINE_CMD_FLAG_INTERNAL' undeclared here (not in a function) 61 | ENGINE_CMD_FLAG_INTERNAL}, | ^~~~~~~~~~~~~~~~~~~~~~~~ eng_front.c:61:17: warning: excess elements in scalar initializer eng_front.c:61:17: note: (near initialization for 'engine_cmd_defns[5]') eng_front.c:62:9: warning: braces around scalar initializer 62 | {CMD_INIT_ARGS, | ^ eng_front.c:62:9: note: (near initialization for 'engine_cmd_defns[6]') eng_front.c:63:17: warning: excess elements in scalar initializer 63 | "INIT_ARGS", | ^~~~~~~~~~~ eng_front.c:63:17: note: (near initialization for 'engine_cmd_defns[6]') eng_front.c:64:17: warning: excess elements in scalar initializer 64 | "Specifies additional initialization arguments to the PKCS#11 module", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eng_front.c:64:17: note: (near initialization for 'engine_cmd_defns[6]') eng_front.c:65:17: warning: excess elements in scalar initializer 65 | ENGINE_CMD_FLAG_STRING}, | ^~~~~~~~~~~~~~~~~~~~~~ eng_front.c:65:17: note: (near initialization for 'engine_cmd_defns[6]') eng_front.c:66:9: warning: braces around scalar initializer 66 | {CMD_SET_USER_INTERFACE, | ^ eng_front.c:66:9: note: (near initialization for 'engine_cmd_defns[7]') eng_front.c:67:17: warning: excess elements in scalar initializer 67 | "SET_USER_INTERFACE", | ^~~~~~~~~~~~~~~~~~~~ eng_front.c:67:17: note: (near initialization for 'engine_cmd_defns[7]') eng_front.c:68:17: warning: excess elements in scalar initializer 68 | "Set the global user interface (internal)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eng_front.c:68:17: note: (near initialization for 'engine_cmd_defns[7]') eng_front.c:69:17: warning: excess elements in scalar initializer 69 | ENGINE_CMD_FLAG_INTERNAL}, | ^~~~~~~~~~~~~~~~~~~~~~~~ eng_front.c:69:17: note: (near initialization for 'engine_cmd_defns[7]') eng_front.c:70:9: warning: braces around scalar initializer 70 | {CMD_SET_CALLBACK_DATA, | ^ eng_front.c:70:9: note: (near initialization for 'engine_cmd_defns[8]') eng_front.c:71:17: warning: excess elements in scalar initializer 71 | "SET_CALLBACK_DATA", | ^~~~~~~~~~~~~~~~~~~ eng_front.c:71:17: note: (near initialization for 'engine_cmd_defns[8]') eng_front.c:72:17: warning: excess elements in scalar initializer 72 | "Set the global user interface extra data (internal)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eng_front.c:72:17: note: (near initialization for 'engine_cmd_defns[8]') eng_front.c:73:17: warning: excess elements in scalar initializer 73 | ENGINE_CMD_FLAG_INTERNAL}, | ^~~~~~~~~~~~~~~~~~~~~~~~ eng_front.c:73:17: note: (near initialization for 'engine_cmd_defns[8]') eng_front.c:74:9: warning: braces around scalar initializer 74 | {CMD_FORCE_LOGIN, | ^ eng_front.c:74:9: note: (near initialization for 'engine_cmd_defns[9]') eng_front.c:75:17: warning: excess elements in scalar initializer 75 | "FORCE_LOGIN", | ^~~~~~~~~~~~~ eng_front.c:75:17: note: (near initialization for 'engine_cmd_defns[9]') eng_front.c:76:17: warning: excess elements in scalar initializer 76 | "Force login to the PKCS#11 module", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eng_front.c:76:17: note: (near initialization for 'engine_cmd_defns[9]') eng_front.c:77:17: warning: excess elements in scalar initializer 77 | ENGINE_CMD_FLAG_NO_INPUT}, | ^~~~~~~~~~~~~~~~~~~~~~~~ eng_front.c:77:17: note: (near initialization for 'engine_cmd_defns[9]') eng_front.c:78:9: warning: braces around scalar initializer 78 | {CMD_RE_ENUMERATE, | ^ eng_front.c:78:9: note: (near initialization for 'engine_cmd_defns[10]') eng_front.c:79:17: warning: excess elements in scalar initializer 79 | "RE_ENUMERATE", | ^~~~~~~~~~~~~~ eng_front.c:79:17: note: (near initialization for 'engine_cmd_defns[10]') eng_front.c:80:17: warning: excess elements in scalar initializer 80 | "re enumerate slots", | ^~~~~~~~~~~~~~~~~~~~ eng_front.c:80:17: note: (near initialization for 'engine_cmd_defns[10]') eng_front.c:81:17: warning: excess elements in scalar initializer 81 | ENGINE_CMD_FLAG_NO_INPUT}, | ^~~~~~~~~~~~~~~~~~~~~~~~ eng_front.c:81:17: note: (near initialization for 'engine_cmd_defns[10]') eng_front.c:82:9: warning: braces around scalar initializer 82 | {0, NULL, NULL, 0} | ^ eng_front.c:82:9: note: (near initialization for 'engine_cmd_defns[11]') eng_front.c:82:13: warning: excess elements in scalar initializer 82 | {0, NULL, NULL, 0} | ^~~~ eng_front.c:82:13: note: (near initialization for 'engine_cmd_defns[11]') eng_front.c:82:19: warning: excess elements in scalar initializer 82 | {0, NULL, NULL, 0} | ^~~~ eng_front.c:82:19: note: (near initialization for 'engine_cmd_defns[11]') eng_front.c:82:25: warning: excess elements in scalar initializer 82 | {0, NULL, NULL, 0} | ^ eng_front.c:82:25: note: (near initialization for 'engine_cmd_defns[11]') make[3]: *** [Makefile:744: pkcs11_la-eng_back.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... eng_front.c: In function 'get_ctx': eng_front.c:90:30: warning: implicit declaration of function 'ENGINE_get_ex_new_index'; did you mean 'BIO_get_ex_new_index'? [-Wimplicit-function-declaration] 90 | pkcs11_idx = ENGINE_get_ex_new_index(0, "pkcs11", NULL, NULL, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ | BIO_get_ex_new_index eng_front.c:95:23: warning: implicit declaration of function 'ENGINE_get_ex_data'; did you mean 'UI_get_ex_data'? [-Wimplicit-function-declaration] 95 | ctx = ENGINE_get_ex_data(engine, pkcs11_idx); | ^~~~~~~~~~~~~~~~~~ | UI_get_ex_data eng_front.c:95:21: warning: assignment to 'ENGINE_CTX *' {aka 'struct st_engine_ctx *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 95 | ctx = ENGINE_get_ex_data(engine, pkcs11_idx); | ^ eng_front.c:99:17: warning: implicit declaration of function 'ENGINE_set_ex_data'; did you mean 'UI_set_ex_data'? [-Wimplicit-function-declaration] 99 | ENGINE_set_ex_data(engine, pkcs11_idx, ctx); | ^~~~~~~~~~~~~~~~~~ | UI_set_ex_data eng_front.c: In function 'load_privkey': eng_front.c:193:22: warning: implicit declaration of function 'EVP_PKEY_set1_engine'; did you mean 'EC_KEY_get0_engine'? [-Wimplicit-function-declaration] 193 | if (pkey && !EVP_PKEY_set1_engine(pkey, engine)) { | ^~~~~~~~~~~~~~~~~~~~ | EC_KEY_get0_engine eng_front.c: In function 'bind_helper': eng_front.c:215:14: warning: implicit declaration of function 'ENGINE_set_id' [-Wimplicit-function-declaration] 215 | if (!ENGINE_set_id(e, PKCS11_ENGINE_ID) || | ^~~~~~~~~~~~~ eng_front.c:216:26: warning: implicit declaration of function 'ENGINE_set_destroy_function' [-Wimplicit-function-declaration] 216 | !ENGINE_set_destroy_function(e, engine_destroy) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ eng_front.c:217:26: warning: implicit declaration of function 'ENGINE_set_init_function' [-Wimplicit-function-declaration] 217 | !ENGINE_set_init_function(e, engine_init) || | ^~~~~~~~~~~~~~~~~~~~~~~~ eng_front.c:218:26: warning: implicit declaration of function 'ENGINE_set_finish_function' [-Wimplicit-function-declaration] 218 | !ENGINE_set_finish_function(e, engine_finish) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~ eng_front.c:219:26: warning: implicit declaration of function 'ENGINE_set_ctrl_function' [-Wimplicit-function-declaration] 219 | !ENGINE_set_ctrl_function(e, engine_ctrl) || | ^~~~~~~~~~~~~~~~~~~~~~~~ eng_front.c:220:26: warning: implicit declaration of function 'ENGINE_set_cmd_defns' [-Wimplicit-function-declaration] 220 | !ENGINE_set_cmd_defns(e, engine_cmd_defns) || | ^~~~~~~~~~~~~~~~~~~~ eng_front.c:221:26: warning: implicit declaration of function 'ENGINE_set_name' [-Wimplicit-function-declaration] 221 | !ENGINE_set_name(e, PKCS11_ENGINE_NAME) || | ^~~~~~~~~~~~~~~ eng_front.c:223:26: warning: implicit declaration of function 'ENGINE_set_RSA' [-Wimplicit-function-declaration] 223 | !ENGINE_set_RSA(e, PKCS11_get_rsa_method()) || | ^~~~~~~~~~~~~~ eng_front.c:228:26: warning: implicit declaration of function 'ENGINE_set_EC' [-Wimplicit-function-declaration] 228 | !ENGINE_set_EC(e, PKCS11_get_ec_key_method()) || | ^~~~~~~~~~~~~ eng_front.c:238:26: warning: implicit declaration of function 'ENGINE_set_pkey_meths' [-Wimplicit-function-declaration] 238 | !ENGINE_set_pkey_meths(e, PKCS11_pkey_meths) || | ^~~~~~~~~~~~~~~~~~~~~ eng_front.c:239:26: warning: implicit declaration of function 'ENGINE_set_load_pubkey_function' [-Wimplicit-function-declaration] 239 | !ENGINE_set_load_pubkey_function(e, load_pubkey) || | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eng_front.c:240:26: warning: implicit declaration of function 'ENGINE_set_load_privkey_function' [-Wimplicit-function-declaration] 240 | !ENGINE_set_load_privkey_function(e, load_privkey)) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eng_front.c: At top level: eng_front.c:261:1: warning: return type defaults to 'int' [-Wimplicit-int] 261 | IMPLEMENT_DYNAMIC_CHECK_FN() | ^~~~~~~~~~~~~~~~~~~~~~~~~~ eng_front.c: In function 'IMPLEMENT_DYNAMIC_CHECK_FN': eng_front.c:262:1: error: expected declaration specifiers before 'IMPLEMENT_DYNAMIC_BIND_FN' 262 | IMPLEMENT_DYNAMIC_BIND_FN(bind_fn) | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: *** [Makefile:737: pkcs11_la-eng_front.lo] Error 1 make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/libp11-0.4.12/src' make[2]: *** [Makefile:448: all] Error 2 make[2]: Leaving directory '/home/buildroot/instance-0/output-1/build/libp11-0.4.12/src' make[1]: *** [Makefile:480: all-recursive] Error 1 make[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/libp11-0.4.12' make: *** [package/pkg-generic.mk:283: /home/buildroot/instance-0/output-1/build/libp11-0.4.12/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/instance-0/buildroot'