Makefile:222: Guessed TARGET=Linux Nonverbose build (use make V=1 to enable verbose build). TARGET=Linux TOP=/home/ichesnokov/.cpanm/work/1552934911.4061/zxid-1.42 CC=gcc CFLAGS=-g -fPIC -fno-strict-aliasing -fmessage-length=0 -Wall -Wno-parentheses -Wno-unused-label -Wno-unknown-pragmas -Wno-char-subscripts -ffunction-sections -fdata-sections CDEF=-DUSE_ZXID -DUSE_SSL -DUSE_CURL -DUSE_OPENSSL -D_REENTRANT -DDEBUG -DMUTEX_DEBUG=1 -DLINUX -DUSE_PTHREAD -pthread CINC=-I. -I/home/ichesnokov/.cpanm/work/1552934911.4061/zxid-1.42 LD=gcc LDFLAGS= LIBS=-lcurl -lssl -lcrypto -lz -lpthread -------------------------- If you get compilation errors, try: make help Now trying to compile series of test programs to check dependencies... Compiling precheck/chk-zlib.c Link exe precheck/chk-zlib Compiling precheck/chk-openssl.c Link exe precheck/chk-openssl Compiling precheck/chk-curl.c Link exe precheck/chk-curl CC=gcc which gcc /usr/bin/gcc gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.3.0-27ubuntu1~18.04' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 7.3.0 (Ubuntu 7.3.0-27ubuntu1~18.04) precheck/chk-zlib -- zlib version from header: 1.2.11 -- from zlibVersion(): 1.2.11 precheck/chk-openssl -- OpenSSL version from opensslv.h: OpenSSL 1.0.2n 7 Dec 2017, crypto.h: 100020ef -- from SSLeay_version(): OpenSSL 1.0.2n 7 Dec 2017 precheck/chk-curl -- libcurl version from curlver.h: 7.58.0 -- from curl_version(): libcurl/7.58.0 GnuTLS/3.5.18 zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3 Precheck ok. Compiling zxidhlo.c Compiling c/zx-ns.c Compiling c/zx-attrs.c c/zx-attrs.gperf:103:26: warning: ‘zx_attr_hash’ is static but used in inline function ‘zx_attr2tok’ which is not static Compiling c/zx-elems.c Compiling zxlibdec.c Compiling zxlibenc.c Compiling zxlib.c Compiling zxns.c Compiling zxpw.c In file included from zxidutil.h:123:0, from zxpw.c:42: ./zx/zxidnoswig.h:32:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * hex_trans; ^~~~~ ./zx/zxidnoswig.h:33:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * ykmodhex_trans; ^~~~~ Compiling zxutil.c zxutil.c:1302:21: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] const unsigned char const * hex_trans = (unsigned char*)"0123456789abcdef"; ^~~~~ zxutil.c:1303:21: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] const unsigned char const * ykmodhex_trans = (unsigned char*)"cbdefghijklnrtuv"; /* as of libyubikey-1.5 */ ^~~~~ Compiling zxbusprod.c In file included from zxidutil.h:123:0, from zxbusprod.c:57: ./zx/zxidnoswig.h:32:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * hex_trans; ^~~~~ ./zx/zxidnoswig.h:33:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * ykmodhex_trans; ^~~~~ Compiling zxlog.c In file included from zxidutil.h:123:0, from zxlog.c:45: ./zx/zxidnoswig.h:32:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * hex_trans; ^~~~~ ./zx/zxidnoswig.h:33:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * ykmodhex_trans; ^~~~~ Compiling zxsig.c In file included from zxidutil.h:123:0, from zxsig.c:42: ./zx/zxidnoswig.h:32:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * hex_trans; ^~~~~ ./zx/zxidnoswig.h:33:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * ykmodhex_trans; ^~~~~ zxsig.c: In function ‘zxsig_extract_hash_algo’: zxsig.c:57:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (!spec || strstr(spec, "sha1") || strstr(spec, "SHA1")) if (dsp) *dsp = DIGEST_ALGO_SHA1; return "SHA1"; ^~ zxsig.c:57:96: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ if (!spec || strstr(spec, "sha1") || strstr(spec, "SHA1")) if (dsp) *dsp = DIGEST_ALGO_SHA1; return "SHA1"; ^~~~~~ zxsig.c:58:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (strstr(spec, "sha224") || strstr(spec, "SHA224")) if (dsp) *dsp = DIGEST_ALGO_SHA224; return "SHA224"; ^~ zxsig.c:58:93: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ if (strstr(spec, "sha224") || strstr(spec, "SHA224")) if (dsp) *dsp = DIGEST_ALGO_SHA224; return "SHA224"; ^~~~~~ zxsig.c:59:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (strstr(spec, "sha256") || strstr(spec, "SHA256")) if (dsp) *dsp = DIGEST_ALGO_SHA256; return "SHA256"; ^~ zxsig.c:59:93: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ if (strstr(spec, "sha256") || strstr(spec, "SHA256")) if (dsp) *dsp = DIGEST_ALGO_SHA256; return "SHA256"; ^~~~~~ zxsig.c:60:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (strstr(spec, "sha384") || strstr(spec, "SHA384")) if (dsp) *dsp = DIGEST_ALGO_SHA384; return "SHA384"; ^~ zxsig.c:60:93: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ if (strstr(spec, "sha384") || strstr(spec, "SHA384")) if (dsp) *dsp = DIGEST_ALGO_SHA384; return "SHA384"; ^~~~~~ zxsig.c:61:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (strstr(spec, "sha512") || strstr(spec, "SHA512")) if (dsp) *dsp = DIGEST_ALGO_SHA512; return "SHA512"; ^~ zxsig.c:61:93: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ if (strstr(spec, "sha512") || strstr(spec, "SHA512")) if (dsp) *dsp = DIGEST_ALGO_SHA512; return "SHA512"; ^~~~~~ zxsig.c:62:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (strstr(spec, "sha2") || strstr(spec, "SHA2")) if (dsp) *dsp = DIGEST_ALGO_SHA256; return "SHA256"; ^~ zxsig.c:62:93: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ if (strstr(spec, "sha2") || strstr(spec, "SHA2")) if (dsp) *dsp = DIGEST_ALGO_SHA256; return "SHA256"; ^~~~~~ Compiling zxcrypto.c In file included from ./zx/zxidutil.h:123:0, from zxcrypto.c:29: ./zx/zxidnoswig.h:32:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * hex_trans; ^~~~~ ./zx/zxidnoswig.h:33:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * ykmodhex_trans; ^~~~~ Compiling akbox_fn.c Compiling match.c Compiling c/license.c Compiling c/zx-di12-dec.c Compiling c/zx-sa11-dec.c Compiling c/zx-sp11-dec.c Compiling c/zx-a-dec.c Compiling c/zx-is12-dec.c Compiling c/zx-sbf-dec.c Compiling c/zx-wsse-dec.c Compiling c/zx-ac-dec.c Compiling c/zx-lu-dec.c Compiling c/zx-ds-dec.c Compiling c/zx-wsu-dec.c Compiling c/zx-b-dec.c Compiling c/zx-m20-dec.c Compiling c/zx-e-dec.c Compiling c/zx-sec-dec.c Compiling c/zx-xenc-dec.c Compiling c/zx-b12-dec.c Compiling c/zx-md-dec.c Compiling c/zx-sec12-dec.c Compiling c/zx-dec.c Compiling c/zx-ff12-dec.c Compiling c/zx-di-dec.c Compiling c/zx-sa-dec.c Compiling c/zx-sp-dec.c Compiling c/zx-is-dec.c Compiling c/zx-ecp-dec.c Compiling c/zx-paos-dec.c Compiling c/zx-dap-dec.c Compiling c/zx-ps-dec.c Compiling c/zx-im-dec.c Compiling c/zx-as-dec.c Compiling c/zx-subs-dec.c Compiling c/zx-dst-dec.c Compiling c/zx-cb-dec.c Compiling c/zx-cdm-dec.c Compiling c/zx-gl-dec.c Compiling c/zx-mm7-dec.c Compiling c/zx-wst-dec.c Compiling c/zx-wsp-dec.c Compiling c/zx-wsc-dec.c Compiling c/zx-xa-dec.c Compiling c/zx-xac-dec.c Compiling c/zx-xasa-dec.c Compiling c/zx-xasacd1-dec.c Compiling c/zx-xasp-dec.c Compiling c/zx-xaspcd1-dec.c Compiling c/zx-dp-dec.c Compiling c/zx-pmm-dec.c Compiling c/zx-prov-dec.c Compiling c/zx-idp-dec.c Compiling c/zx-shps-dec.c Compiling c/zx-exca-dec.c Compiling c/zx-hrxml-dec.c Compiling c/zx-idhrxml-dec.c Compiling c/zx-demomed-dec.c Compiling c/zx-xsi-dec.c Compiling c/zx-xs-dec.c Compiling c/zx-xml-dec.c Compiling c/zx-tas3-dec.c Compiling c/zx-tas3sol-dec.c Compiling c/zx-shibmd-dec.c Compiling c/zx-idpdisc-dec.c Compiling zxidsimp.c In file included from zxidutil.h:123:0, from zxidsimp.c:51: ./zx/zxidnoswig.h:32:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * hex_trans; ^~~~~ ./zx/zxidnoswig.h:33:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * ykmodhex_trans; ^~~~~ Compiling zxidpool.c In file included from zxidutil.h:123:0, from zxidpool.c:26: ./zx/zxidnoswig.h:32:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * hex_trans; ^~~~~ ./zx/zxidnoswig.h:33:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * ykmodhex_trans; ^~~~~ Compiling zxidpsso.c In file included from zxidutil.h:123:0, from zxidpsso.c:26: ./zx/zxidnoswig.h:32:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * hex_trans; ^~~~~ ./zx/zxidnoswig.h:33:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * ykmodhex_trans; ^~~~~ Compiling zxidsso.c In file included from zxidutil.h:123:0, from zxidsso.c:38: ./zx/zxidnoswig.h:32:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * hex_trans; ^~~~~ ./zx/zxidnoswig.h:33:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * ykmodhex_trans; ^~~~~ Compiling zxidslo.c Compiling zxiddec.c In file included from zxidutil.h:123:0, from zxiddec.c:24: ./zx/zxidnoswig.h:32:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * hex_trans; ^~~~~ ./zx/zxidnoswig.h:33:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * ykmodhex_trans; ^~~~~ Compiling zxidspx.c In file included from zxidutil.h:123:0, from zxidspx.c:26: ./zx/zxidnoswig.h:32:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * hex_trans; ^~~~~ ./zx/zxidnoswig.h:33:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * ykmodhex_trans; ^~~~~ Compiling zxididpx.c Compiling zxidmni.c Compiling zxidpep.c zxidpep.c: In function ‘zxid_call_trustpdp’: zxidpep.c:862:38: warning: comparison of constant ‘28’ with boolean expression is always true [-Wbool-compare] if (!sc->Value || !sc->Value->g.len < sizeof(TAS3_TRUST_RANKING_CTL1)-1 ||!sc->Value->g.s ^ zxidpep.c:862:38: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] zxidpep.c:862:20: note: add parentheses around left hand side expression to silence this warning if (!sc->Value || !sc->Value->g.len < sizeof(TAS3_TRUST_RANKING_CTL1)-1 ||!sc->Value->g.s ^~~~~~~~~~~~~~~~~ ( ) Compiling zxidpdp.c Compiling zxidmk.c In file included from zxidutil.h:123:0, from zxidmk.c:20: ./zx/zxidnoswig.h:32:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * hex_trans; ^~~~~ ./zx/zxidnoswig.h:33:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * ykmodhex_trans; ^~~~~ Compiling zxida7n.c Compiling zxidses.c In file included from zxidutil.h:123:0, from zxidses.c:32: ./zx/zxidnoswig.h:32:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * hex_trans; ^~~~~ ./zx/zxidnoswig.h:33:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * ykmodhex_trans; ^~~~~ Compiling zxiduser.c In file included from zxidutil.h:123:0, from zxiduser.c:34: ./zx/zxidnoswig.h:32:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * hex_trans; ^~~~~ ./zx/zxidnoswig.h:33:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * ykmodhex_trans; ^~~~~ Compiling zxidcgi.c In file included from zxidutil.h:123:0, from zxidcgi.c:28: ./zx/zxidnoswig.h:32:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * hex_trans; ^~~~~ ./zx/zxidnoswig.h:33:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * ykmodhex_trans; ^~~~~ Compiling zxidconf.c In file included from zxidutil.h:123:0, from zxidconf.c:53: ./zx/zxidnoswig.h:32:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * hex_trans; ^~~~~ ./zx/zxidnoswig.h:33:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * ykmodhex_trans; ^~~~~ Compiling zxidecp.c Compiling zxidcdc.c In file included from zxidutil.h:123:0, from zxidcdc.c:23: ./zx/zxidnoswig.h:32:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * hex_trans; ^~~~~ ./zx/zxidnoswig.h:33:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * ykmodhex_trans; ^~~~~ Compiling zxidloc.c In file included from zxidutil.h:123:0, from zxidloc.c:21: ./zx/zxidnoswig.h:32:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * hex_trans; ^~~~~ ./zx/zxidnoswig.h:33:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * ykmodhex_trans; ^~~~~ Compiling zxidlib.c In file included from zxidutil.h:123:0, from zxidlib.c:27: ./zx/zxidnoswig.h:32:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * hex_trans; ^~~~~ ./zx/zxidnoswig.h:33:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * ykmodhex_trans; ^~~~~ Compiling zxidmeta.c In file included from zxidutil.h:123:0, from zxidmeta.c:51: ./zx/zxidnoswig.h:32:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * hex_trans; ^~~~~ ./zx/zxidnoswig.h:33:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * ykmodhex_trans; ^~~~~ Compiling zxidmda.c In file included from zxidutil.h:123:0, from zxidmda.c:25: ./zx/zxidnoswig.h:32:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * hex_trans; ^~~~~ ./zx/zxidnoswig.h:33:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * ykmodhex_trans; ^~~~~ Compiling zxidcurl.c In file included from zxidutil.h:123:0, from zxidcurl.c:42: ./zx/zxidnoswig.h:32:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * hex_trans; ^~~~~ ./zx/zxidnoswig.h:33:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * ykmodhex_trans; ^~~~~ Compiling zxidepr.c In file included from zxidutil.h:123:0, from zxidepr.c:39: ./zx/zxidnoswig.h:32:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * hex_trans; ^~~~~ ./zx/zxidnoswig.h:33:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * ykmodhex_trans; ^~~~~ Compiling ykcrc.c Compiling ykaes.c Compiling zxidmkwsf.c Compiling zxidwsf.c Compiling zxidwsc.c In file included from zxidutil.h:123:0, from zxidwsc.c:25: ./zx/zxidnoswig.h:32:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * hex_trans; ^~~~~ ./zx/zxidnoswig.h:33:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * ykmodhex_trans; ^~~~~ Compiling zxidwsp.c In file included from zxidutil.h:123:0, from zxidwsp.c:27: ./zx/zxidnoswig.h:32:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * hex_trans; ^~~~~ ./zx/zxidnoswig.h:33:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * ykmodhex_trans; ^~~~~ Compiling zxiddi.c In file included from zxidutil.h:123:0, from zxiddi.c:27: ./zx/zxidnoswig.h:32:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * hex_trans; ^~~~~ ./zx/zxidnoswig.h:33:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * ykmodhex_trans; ^~~~~ Compiling zxidim.c In file included from zxidutil.h:123:0, from zxidim.c:27: ./zx/zxidnoswig.h:32:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * hex_trans; ^~~~~ ./zx/zxidnoswig.h:33:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * ykmodhex_trans; ^~~~~ Compiling zxidps.c In file included from zxidutil.h:123:0, from zxidps.c:26: ./zx/zxidnoswig.h:32:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * hex_trans; ^~~~~ ./zx/zxidnoswig.h:33:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * ykmodhex_trans; ^~~~~ Compiling zxidoauth.c In file included from zxidutil.h:123:0, from zxidoauth.c:29: ./zx/zxidnoswig.h:32:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * hex_trans; ^~~~~ ./zx/zxidnoswig.h:33:28: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] extern const unsigned char const * ykmodhex_trans; ^~~~~ In file included from zxidoauth.c:25:0: zxidoauth.c: In function ‘zxid_mk_oauth_az_req’: errmac.h:152:38: warning: comparison of constant ‘48’ with boolean expression is always true [-Wbool-compare] #define BOOL_STR_TEST(x) ((x) && (x) != '0') ^ zxidoauth.c:311:12: note: in expansion of macro ‘BOOL_STR_TEST’ prompt = BOOL_STR_TEST(cgi->consent && cgi->consent[0]) ? (prompt?"login+consent":"consent") : prompt; ^~~~~~~~~~~~~ Compiling certauth.c Compiling keygen.c Compiling pkcs12.c Compiling smime-enc.c Compiling smime-qry.c Compiling smime-vfy.c Compiling smimemime.c Compiling smimeutil.c ar -crs libzxid.a c/zx-ns.o c/zx-attrs.o c/zx-elems.o zxlibdec.o zxlibenc.o zxlib.o zxns.o zxpw.o zxutil.o zxbusprod.o zxlog.o zxsig.o zxcrypto.o akbox_fn.o match.o c/license.o c/zx-di12-dec.o c/zx-sa11-dec.o c/zx-sp11-dec.o c/zx-a-dec.o c/zx-is12-dec.o c/zx-sbf-dec.o c/zx-wsse-dec.o c/zx-ac-dec.o c/zx-lu-dec.o c/zx-ds-dec.o c/zx-wsu-dec.o c/zx-b-dec.o c/zx-m20-dec.o c/zx-e-dec.o c/zx-sec-dec.o c/zx-xenc-dec.o c/zx-b12-dec.o c/zx-md-dec.o c/zx-sec12-dec.o c/zx-dec.o c/zx-ff12-dec.o c/zx-di-dec.o c/zx-sa-dec.o c/zx-sp-dec.o c/zx-is-dec.o c/zx-ecp-dec.o c/zx-paos-dec.o c/zx-dap-dec.o c/zx-ps-dec.o c/zx-im-dec.o c/zx-as-dec.o c/zx-subs-dec.o c/zx-dst-dec.o c/zx-cb-dec.o c/zx-cdm-dec.o c/zx-gl-dec.o c/zx-mm7-dec.o c/zx-wst-dec.o c/zx-wsp-dec.o c/zx-wsc-dec.o c/zx-xa-dec.o c/zx-xac-dec.o c/zx-xasa-dec.o c/zx-xasacd1-dec.o c/zx-xasp-dec.o c/zx-xaspcd1-dec.o c/zx-dp-dec.o c/zx-pmm-dec.o c/zx-prov-dec.o c/zx-idp-dec.o c/zx-shps-dec.o c/zx-exca-dec.o c/zx-hrxml-dec.o c/zx-idhrxml-dec.o c/zx-demomed-dec.o c/zx-xsi-dec.o c/zx-xs-dec.o c/zx-xml-dec.o c/zx-tas3-dec.o c/zx-tas3sol-dec.o c/zx-shibmd-dec.o c/zx-idpdisc-dec.o zxidsimp.o zxidpool.o zxidpsso.o zxidsso.o zxidslo.o zxiddec.o zxidspx.o zxididpx.o zxidmni.o zxidpep.o zxidpdp.o zxidmk.o zxida7n.o zxidses.o zxiduser.o zxidcgi.o zxidconf.o zxidecp.o zxidcdc.o zxidloc.o zxidlib.o zxidmeta.o zxidmda.o zxidcurl.o zxidepr.o ykcrc.o ykaes.o zxidmkwsf.o zxidwsf.o zxidwsc.o zxidwsp.o zxiddi.o zxidim.o zxidps.o zxidoauth.o certauth.o keygen.o pkcs12.o smime-enc.o smime-qry.o smime-vfy.o smimemime.o smimeutil.o Linking zxidhlo ./libzxid.a(zxlibdec.o): In function `zx_attr_lookup': /home/ichesnokov/.cpanm/work/1552934911.4061/zxid-1.42/zxlibdec.c:460: undefined reference to `zx_attr2tok' collect2: error: ld returned 1 exit status Failed command: gcc -o zxidhlo zxidhlo.o -L. -lzxid -lcurl -lssl -lcrypto -lz -lpthread Makefile:705: recipe for target 'zxidhlo' failed make: *** [zxidhlo] Error 1