>>> libp11 0.4.12 Extracting gzip -d -c /home/buildroot/autobuild/instance-0/dl/libp11/libp11-0.4.12.tar.gz | /home/buildroot/autobuild/instance-0/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/autobuild/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/autobuild/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/autobuild/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/autobuild/instance-0/output-1/build/libp11-0.4.12/ && rm -rf config.cache && GIT_DIR=. PATH="/home/buildroot/autobuild/instance-0/output-1/host/bin:/home/buildroot/autobuild/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" AR="/home/buildroot/autobuild/instance-0/output-1/host/bin/mipsel-linux-gcc-ar" AS="/home/buildroot/autobuild/instance-0/output-1/host/bin/mipsel-linux-as" LD="/home/buildroot/autobuild/instance-0/output-1/host/bin/mipsel-linux-ld" NM="/home/buildroot/autobuild/instance-0/output-1/host/bin/mipsel-linux-gcc-nm" CC="/home/buildroot/autobuild/instance-0/output-1/host/bin/mipsel-linux-gcc" GCC="/home/buildroot/autobuild/instance-0/output-1/host/bin/mipsel-linux-gcc" CPP="/home/buildroot/autobuild/instance-0/output-1/host/bin/mipsel-linux-cpp" CXX="/home/buildroot/autobuild/instance-0/output-1/host/bin/mipsel-linux-g++" FC="/home/buildroot/autobuild/instance-0/output-1/host/bin/mipsel-linux-gfortran" F77="/home/buildroot/autobuild/instance-0/output-1/host/bin/mipsel-linux-gfortran" RANLIB="/home/buildroot/autobuild/instance-0/output-1/host/bin/mipsel-linux-gcc-ranlib" READELF="/home/buildroot/autobuild/instance-0/output-1/host/bin/mipsel-linux-readelf" STRIP="/bin/true" OBJCOPY="/home/buildroot/autobuild/instance-0/output-1/host/bin/mipsel-linux-objcopy" OBJDUMP="/home/buildroot/autobuild/instance-0/output-1/host/bin/mipsel-linux-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/autobuild/instance-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/buildroot/autobuild/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/buildroot/autobuild/instance-0/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/buildroot/autobuild/instance-0/output-1/host/bin/mipsel-linux-as" DEFAULT_LINKER="/home/buildroot/autobuild/instance-0/output-1/host/bin/mipsel-linux-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 -O0 -g0 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 " LDFLAGS="" FCFLAGS=" -O0 -g0" FFLAGS=" -O0 -g0" PKG_CONFIG="/home/buildroot/autobuild/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/home/buildroot/autobuild/instance-0/output-1/host/mipsel-buildroot-linux-gnu/sysroot" INTLTOOL_PERL=/usr/bin/perl 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=mipsel-buildroot-linux-gnu --host=mipsel-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/autobuild/instance-0/output-1/host/bin/pkg-config --variable enginesdir libcrypto | xargs readlink -f | sed 's%^/home/buildroot/autobuild/instance-0/output-1/host/mipsel-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... mipsel-buildroot-linux-gnu checking target system type... mipsel-buildroot-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for mipsel-buildroot-linux-gnu-strip... /bin/true checking for a thread-safe mkdir -p... /usr/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 mipsel-buildroot-linux-gnu-gcc... /home/buildroot/autobuild/instance-0/output-1/host/bin/mipsel-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /home/buildroot/autobuild/instance-0/output-1/host/bin/mipsel-linux-gcc accepts -g... yes checking for /home/buildroot/autobuild/instance-0/output-1/host/bin/mipsel-linux-gcc option to accept ISO C89... none needed checking whether /home/buildroot/autobuild/instance-0/output-1/host/bin/mipsel-linux-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of /home/buildroot/autobuild/instance-0/output-1/host/bin/mipsel-linux-gcc... none checking pkg-config is at least version 0.9.0... yes checking how to run the C preprocessor... /home/buildroot/autobuild/instance-0/output-1/host/bin/mipsel-linux-cpp checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/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/autobuild/instance-0/output-1/host/bin/mipsel-linux-cpp checking whether ln -s works... yes checking for a sed that does not truncate output... /usr/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) /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by /home/buildroot/autobuild/instance-0/output-1/host/bin/mipsel-linux-gcc... /home/buildroot/autobuild/instance-0/output-1/host/bin/mipsel-linux-ld checking if the linker (/home/buildroot/autobuild/instance-0/output-1/host/bin/mipsel-linux-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /home/buildroot/autobuild/instance-0/output-1/host/bin/mipsel-linux-gcc-nm checking the name lister (/home/buildroot/autobuild/instance-0/output-1/host/bin/mipsel-linux-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 mipsel-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/autobuild/instance-0/output-1/host/bin/mipsel-linux-ld option to reload object files... -r checking for mipsel-buildroot-linux-gnu-objdump... /home/buildroot/autobuild/instance-0/output-1/host/bin/mipsel-linux-objdump checking how to recognize dependent libraries... pass_all checking for mipsel-buildroot-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for mipsel-buildroot-linux-gnu-ar... /home/buildroot/autobuild/instance-0/output-1/host/bin/mipsel-linux-gcc-ar checking for archiver @FILE support... @ checking for mipsel-buildroot-linux-gnu-strip... (cached) /bin/true checking for mipsel-buildroot-linux-gnu-ranlib... /home/buildroot/autobuild/instance-0/output-1/host/bin/mipsel-linux-gcc-ranlib checking command to parse /home/buildroot/autobuild/instance-0/output-1/host/bin/mipsel-linux-gcc-nm output from /home/buildroot/autobuild/instance-0/output-1/host/bin/mipsel-linux-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 mipsel-buildroot-linux-gnu-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/buildroot/autobuild/instance-0/output-1/host/bin/mipsel-linux-gcc supports -fno-rtti -fno-exceptions... no checking for /home/buildroot/autobuild/instance-0/output-1/host/bin/mipsel-linux-gcc option to produce PIC... -fPIC -DPIC checking if /home/buildroot/autobuild/instance-0/output-1/host/bin/mipsel-linux-gcc PIC flag -fPIC -DPIC works... yes checking if /home/buildroot/autobuild/instance-0/output-1/host/bin/mipsel-linux-gcc static flag -static works... yes checking if /home/buildroot/autobuild/instance-0/output-1/host/bin/mipsel-linux-gcc supports -c -o file.o... yes checking if /home/buildroot/autobuild/instance-0/output-1/host/bin/mipsel-linux-gcc supports -c -o file.o... (cached) yes checking whether the /home/buildroot/autobuild/instance-0/output-1/host/bin/mipsel-linux-gcc linker (/home/buildroot/autobuild/instance-0/output-1/host/bin/mipsel-linux-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 for mipsel-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/autobuild/instance-0/output-1/host/bin/mipsel-linux-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: mipsel-buildroot-linux-gnu Compiler: /home/buildroot/autobuild/instance-0/output-1/host/bin/mipsel-linux-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 -O0 -g0 -pthread Linker flags: Libraries: -lpthread OPENSSL_CFLAGS: OPENSSL_LIBS: -L/home/buildroot/autobuild/instance-0/output-1/host/bin/../mipsel-buildroot-linux-gnu/sysroot/usr/lib -lcrypto >>> libp11 0.4.12 Building GIT_DIR=. PATH="/home/buildroot/autobuild/instance-0/output-1/host/bin:/home/buildroot/autobuild/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin" /usr/bin/make -j4 -C /home/buildroot/autobuild/instance-0/output-1/build/libp11-0.4.12/ make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libp11-0.4.12' Making all in src make[2]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/libp11-0.4.12/src' /usr/bin/make all-am make[3]: Entering directory '/home/buildroot/autobuild/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 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_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]') 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: | ^~~~~~~~~~~~~~~ CC libp11_la-p11_attr.lo 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]') CC libp11_la-p11_cert.lo 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 make[3]: *** [Makefile:744: pkcs11_la-eng_back.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... 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]') 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/autobuild/instance-0/output-1/build/libp11-0.4.12/src' make[2]: *** [Makefile:448: all] Error 2 make[2]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libp11-0.4.12/src' make[1]: *** [Makefile:480: all-recursive] Error 1 make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/libp11-0.4.12' make: *** [package/pkg-generic.mk:289: /home/buildroot/autobuild/instance-0/output-1/build/libp11-0.4.12/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-0/buildroot'