Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling on Fedora linux #64

Open
patch-work opened this issue Sep 4, 2023 · 0 comments
Open

Compiling on Fedora linux #64

patch-work opened this issue Sep 4, 2023 · 0 comments

Comments

@patch-work
Copy link

patch-work commented Sep 4, 2023

> cd /tmp
> tar -zxf cie-middleware-linux-1.4.3.5.tar.gz
> cd cie-middleware-linux-1.4.3.5
> cd cie_sign_sdk/
> cmake -B build                                                                        
DEPENDENCIES_DIR: /tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk
SOURCE_DIR: /tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk
INCLUDE_DIR: /tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk
-- The C compiler identification is Clang 16.0.6
-- The CXX compiler identification is Clang 16.0.6
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done (0.6s)
-- Generating done (0.0s)
-- Build files have been written to: /tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/build

> cmake --build build/       
[  0%] Building CXX object CMakeFiles/cie_sign_sdk.dir/src/Base64.cpp.o
In file included from /tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/Base64.cpp:32:
In file included from /usr/include/stdio.h:27:
In file included from /usr/include/bits/libc-header-start.h:33:
/usr/include/features.h:413:4: warning: _FORTIFY_SOURCE requires compiling with optimization (-O) [-W#warnings]
#  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
   ^
In file included from /tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/Base64.cpp:35:
In file included from /tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/include/disigonsdk.h:21:
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/include/definitions.h:17:10: fatal error: 'wintypes.h' file not found
#include <wintypes.h>
         ^~~~~~~~~~~~
1 warning and 1 error generated.
gmake[2]: *** [CMakeFiles/cie_sign_sdk.dir/build.make:76: CMakeFiles/cie_sign_sdk.dir/src/Base64.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/cie_sign_sdk.dir/all] Error 2
gmake: *** [Makefile:136: all] Error 2

Fix:

> doas dnf install pcsc-lite-devel

> doas find /usr -name wintypes.h 
/usr/include/PCSC/wintypes.h

Continue:

> cmake --build build/

[  0%] Building CXX object CMakeFiles/cie_sign_sdk.dir/src/Base64.cpp.o
In file included from /tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/Base64.cpp:32:
In file included from /usr/include/stdio.h:27:
In file included from /usr/include/bits/libc-header-start.h:33:
/usr/include/features.h:413:4: warning: _FORTIFY_SOURCE requires compiling with optimization (-O) [-W#warnings]
#  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
   ^
1 warning generated.
[  1%] Building CXX object CMakeFiles/cie_sign_sdk.dir/src/BigInteger.cpp.o
[  2%] Building CXX object CMakeFiles/cie_sign_sdk.dir/src/BigIntegerAlgorithms.cpp.o
[  3%] Building CXX object CMakeFiles/cie_sign_sdk.dir/src/BigIntegerUtils.cpp.o
In file included from /tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/BigIntegerUtils.cpp:1:
In file included from /tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/include/BigIntegerUtils.h:5:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/string:38:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/bits/requires_hosted.h:31:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/x86_64-redhat-linux/bits/c++config.h:2964:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/x86_64-redhat-linux/bits/os_defines.h:39:
/usr/include/features.h:413:4: warning: _FORTIFY_SOURCE requires compiling with optimization (-O) [-W#warnings]
#  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
   ^
1 warning generated.
[  4%] Building CXX object CMakeFiles/cie_sign_sdk.dir/src/BigUnsigned.cpp.o
[  5%] Building CXX object CMakeFiles/cie_sign_sdk.dir/src/BigUnsignedInABase.cpp.o
In file included from /tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/BigUnsignedInABase.cpp:1:
In file included from /tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/include/BigUnsignedInABase.h:6:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/string:38:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/bits/requires_hosted.h:31:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/x86_64-redhat-linux/bits/c++config.h:2964:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/13/../../../../include/c++/13/x86_64-redhat-linux/bits/os_defines.h:39:
/usr/include/features.h:413:4: warning: _FORTIFY_SOURCE requires compiling with optimization (-O) [-W#warnings]
#  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
   ^
1 warning generated.
[  6%] Building CXX object CMakeFiles/cie_sign_sdk.dir/src/CIESigner.cpp.o
In file included from /tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CIESigner.cpp:2:
In file included from /tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/include/CIESigner.h:4:
In file included from /tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/ASN1/Certificate.h:12:
In file included from /tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/ASN1/ASN1Sequence.h:5:
In file included from /tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/ASN1/ASN1GenericSequence.h:5:
In file included from /tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/ASN1/ASN1Object.h:5:
In file included from /tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/include/definitions.h:20:
In file included from /usr/include/memory.h:25:
/usr/include/features.h:413:4: warning: _FORTIFY_SOURCE requires compiling with optimization (-O) [-W#warnings]
#  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
   ^
In file included from /tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CIESigner.cpp:2:
In file included from /tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/include/CIESigner.h:7:
In file included from /tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CSP/IAS.h:2:
In file included from /tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CSP/../PCSC/Token.h:9:
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/PCSC/APDU.h:9:7: error: unknown type name 'uint8_t'
        APDU(uint8_t CLA,uint8_t INS,uint8_t P1,uint8_t P2,uint8_t LC,uint8_t *pData,uint8_t LE);
             ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/PCSC/APDU.h:9:19: error: unknown type name 'uint8_t'
        APDU(uint8_t CLA,uint8_t INS,uint8_t P1,uint8_t P2,uint8_t LC,uint8_t *pData,uint8_t LE);
                         ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/PCSC/APDU.h:9:31: error: unknown type name 'uint8_t'
        APDU(uint8_t CLA,uint8_t INS,uint8_t P1,uint8_t P2,uint8_t LC,uint8_t *pData,uint8_t LE);
                                     ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/PCSC/APDU.h:9:42: error: unknown type name 'uint8_t'
        APDU(uint8_t CLA,uint8_t INS,uint8_t P1,uint8_t P2,uint8_t LC,uint8_t *pData,uint8_t LE);
                                                ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/PCSC/APDU.h:9:53: error: unknown type name 'uint8_t'
        APDU(uint8_t CLA,uint8_t INS,uint8_t P1,uint8_t P2,uint8_t LC,uint8_t *pData,uint8_t LE);
                                                           ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/PCSC/APDU.h:9:64: error: unknown type name 'uint8_t'
        APDU(uint8_t CLA,uint8_t INS,uint8_t P1,uint8_t P2,uint8_t LC,uint8_t *pData,uint8_t LE);
                                                                      ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/PCSC/APDU.h:9:79: error: unknown type name 'uint8_t'
        APDU(uint8_t CLA,uint8_t INS,uint8_t P1,uint8_t P2,uint8_t LC,uint8_t *pData,uint8_t LE);
                                                                                     ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/PCSC/APDU.h:10:7: error: unknown type name 'uint8_t'
        APDU(uint8_t CLA,uint8_t INS,uint8_t P1,uint8_t P2,uint8_t LC,uint8_t *pData);
             ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/PCSC/APDU.h:10:19: error: unknown type name 'uint8_t'
        APDU(uint8_t CLA,uint8_t INS,uint8_t P1,uint8_t P2,uint8_t LC,uint8_t *pData);
                         ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/PCSC/APDU.h:10:31: error: unknown type name 'uint8_t'
        APDU(uint8_t CLA,uint8_t INS,uint8_t P1,uint8_t P2,uint8_t LC,uint8_t *pData);
                                     ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/PCSC/APDU.h:10:42: error: unknown type name 'uint8_t'
        APDU(uint8_t CLA,uint8_t INS,uint8_t P1,uint8_t P2,uint8_t LC,uint8_t *pData);
                                                ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/PCSC/APDU.h:10:53: error: unknown type name 'uint8_t'
        APDU(uint8_t CLA,uint8_t INS,uint8_t P1,uint8_t P2,uint8_t LC,uint8_t *pData);
                                                           ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/PCSC/APDU.h:10:64: error: unknown type name 'uint8_t'
        APDU(uint8_t CLA,uint8_t INS,uint8_t P1,uint8_t P2,uint8_t LC,uint8_t *pData);
                                                                      ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/PCSC/APDU.h:11:7: error: unknown type name 'uint8_t'
        APDU(uint8_t CLA,uint8_t INS,uint8_t P1,uint8_t P2,uint8_t LE);
             ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/PCSC/APDU.h:11:19: error: unknown type name 'uint8_t'
        APDU(uint8_t CLA,uint8_t INS,uint8_t P1,uint8_t P2,uint8_t LE);
                         ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/PCSC/APDU.h:11:31: error: unknown type name 'uint8_t'
        APDU(uint8_t CLA,uint8_t INS,uint8_t P1,uint8_t P2,uint8_t LE);
                                     ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/PCSC/APDU.h:11:42: error: unknown type name 'uint8_t'
        APDU(uint8_t CLA,uint8_t INS,uint8_t P1,uint8_t P2,uint8_t LE);
                                                ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/PCSC/APDU.h:11:53: error: unknown type name 'uint8_t'
        APDU(uint8_t CLA,uint8_t INS,uint8_t P1,uint8_t P2,uint8_t LE);
                                                           ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/PCSC/APDU.h:12:7: error: unknown type name 'uint8_t'
        APDU(uint8_t CLA,uint8_t INS,uint8_t P1,uint8_t P2);
             ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
1 warning and 20 errors generated.
gmake[2]: *** [CMakeFiles/cie_sign_sdk.dir/build.make:160: CMakeFiles/cie_sign_sdk.dir/src/CIESigner.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/cie_sign_sdk.dir/all] Error 2
gmake: *** [Makefile:136: all] Error 2

Fix:

add

#include <cstdint>

to src/PCSC/APDU.h

Continue:

> cmake --build build/
[  1%] Building CXX object CMakeFiles/cie_sign_sdk.dir/src/CIESigner.cpp.o
In file included from /tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CIESigner.cpp:2:
In file included from /tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/include/CIESigner.h:4:
In file included from /tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/ASN1/Certificate.h:12:
In file included from /tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/ASN1/ASN1Sequence.h:5:
In file included from /tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/ASN1/ASN1GenericSequence.h:5:
In file included from /tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/ASN1/ASN1Object.h:5:
In file included from /tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/include/definitions.h:20:
In file included from /usr/include/memory.h:25:
/usr/include/features.h:413:4: warning: _FORTIFY_SOURCE requires compiling with optimization (-O) [-W#warnings]
#  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
   ^
1 warning generated.
[  2%] Building C object CMakeFiles/cie_sign_sdk.dir/src/CIEEngine.c.o
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CIEEngine.c:235:11: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-declarations]
    rsa = EVP_PKEY_get0_RSA(pkey);
          ^
/usr/include/openssl/evp.h:1345:1: note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CIEEngine.c:235:9: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    rsa = EVP_PKEY_get0_RSA(pkey);
        ^ ~~~~~~~~~~~~~~~~~~~~~~~
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CIEEngine.c:280:29: warning: passing 'const unsigned char *' to parameter of type 'unsigned char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
    makeDigestInfo(md_type, tbs, tbslen, digestinfo, &digestinfolen);
                            ^~~
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CIEEngine.c:60:50: note: passing argument to parameter 'pbtDigest' here
    int makeDigestInfo(int algid, unsigned char* pbtDigest, size_t btDigestLen, unsigned char* pbtDigestInfo, size_t* pbtDigestInfoLen)
                                                 ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CIEEngine.c:346:15: warning: 'EC_KEY_METHOD_new' is deprecated [-Wdeprecated-declarations]
        ops = EC_KEY_METHOD_new((EC_KEY_METHOD *)EC_KEY_OpenSSL());
              ^
/usr/include/openssl/ec.h:1461:1: note: 'EC_KEY_METHOD_new' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 EC_KEY_METHOD *EC_KEY_METHOD_new(const EC_KEY_METHOD *meth);
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CIEEngine.c:346:50: warning: 'EC_KEY_OpenSSL' is deprecated [-Wdeprecated-declarations]
        ops = EC_KEY_METHOD_new((EC_KEY_METHOD *)EC_KEY_OpenSSL());
                                                 ^
/usr/include/openssl/ec.h:1279:1: note: 'EC_KEY_OpenSSL' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 const EC_KEY_METHOD *EC_KEY_OpenSSL(void);
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CIEEngine.c:347:9: warning: 'EC_KEY_METHOD_get_sign' is deprecated [-Wdeprecated-declarations]
        EC_KEY_METHOD_get_sign(ops, &orig_sign, NULL, NULL);
        ^
/usr/include/openssl/ec.h:1524:1: note: 'EC_KEY_METHOD_get_sign' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_get_sign
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CIEEngine.c:348:9: warning: 'EC_KEY_METHOD_set_sign' is deprecated [-Wdeprecated-declarations]
        EC_KEY_METHOD_set_sign(ops, orig_sign, NULL, &orig_sign);
        ^
/usr/include/openssl/ec.h:1480:1: note: 'EC_KEY_METHOD_set_sign' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_set_sign
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CIEEngine.c:348:54: warning: incompatible pointer types passing 'int (**)(int, const unsigned char *, int, unsigned char *, unsigned int *, const BIGNUM *, const BIGNUM *, EC_KEY *)' (aka 'int (**)(int, const unsigned char *, int, unsigned char *, unsigned int *, const struct bignum_st *, const struct bignum_st *, struct ec_key_st *)') to parameter of type 'ECDSA_SIG *(*)(const unsigned char *, int, const BIGNUM *, const BIGNUM *, EC_KEY *)' (aka 'struct ECDSA_SIG_st *(*)(const unsigned char *, int, const struct bignum_st *, const struct bignum_st *, struct ec_key_st *)') [-Wincompatible-pointer-types]
        EC_KEY_METHOD_set_sign(ops, orig_sign, NULL, &orig_sign);
                                                     ^~~~~~~~~~
/usr/include/openssl/ec.h:1489:37: note: passing argument to parameter 'sign_sig' here
                       ECDSA_SIG *(*sign_sig)(const unsigned char *dgst,
                                    ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CIEEngine.c:349:9: warning: 'EC_KEY_METHOD_get_compute_key' is deprecated [-Wdeprecated-declarations]
        EC_KEY_METHOD_get_compute_key(ops, &ossl_ecdh_compute_key);
        ^
/usr/include/openssl/ec.h:1517:1: note: 'EC_KEY_METHOD_get_compute_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_get_compute_key
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CIEEngine.c:350:9: warning: 'EC_KEY_METHOD_set_compute_key' is deprecated [-Wdeprecated-declarations]
        EC_KEY_METHOD_set_compute_key(ops, cie_ecdh_compute_key);
        ^
/usr/include/openssl/ec.h:1475:1: note: 'EC_KEY_METHOD_set_compute_key' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void EC_KEY_METHOD_set_compute_key
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CIEEngine.c:425:55: warning: passing 'unsigned char **' to parameter of type 'const unsigned char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers]
                cie_x509_certificate = d2i_X509(NULL, &cie_certificate, cie_certlen);
                                                      ^~~~~~~~~~~~~~~~
/usr/include/openssl/x509.h:746:1: note: passing argument to parameter 'in' here
DECLARE_ASN1_FUNCTIONS(X509)
^
/usr/include/openssl/asn1.h:289:5: note: expanded from macro 'DECLARE_ASN1_FUNCTIONS'
    DECLARE_ASN1_FUNCTIONS_attr(extern, type)
    ^
/usr/include/openssl/asn1.h:287:5: note: expanded from macro 'DECLARE_ASN1_FUNCTIONS_attr'
    DECLARE_ASN1_FUNCTIONS_name_attr(attr, type, type)
    ^
/usr/include/openssl/asn1.h:298:5: note: expanded from macro 'DECLARE_ASN1_FUNCTIONS_name_attr'
    DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(attr, type, name)
    ^
/usr/include/openssl/asn1.h:309:5: note: expanded from macro 'DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr'
    DECLARE_ASN1_ENCODE_FUNCTIONS_attr(attr, type, name, name)
    ^
/usr/include/openssl/asn1.h:303:5: note: expanded from macro 'DECLARE_ASN1_ENCODE_FUNCTIONS_attr'
    DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(attr, type, name)               \
    ^
/usr/include/openssl/asn1.h:314:59: note: expanded from macro 'DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr'
    attr type *d2i_##name(type **a, const unsigned char **in, long len);    \
                                                          ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CIEEngine.c:472:12: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'EVP_PKEY *' (aka 'struct evp_pkey_st *') [-Wint-conversion]
    return 1;
           ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CIEEngine.c:482:36: warning: 'EVP_PKEY_meth_find' is deprecated [-Wdeprecated-declarations]
    orig_meth = (EVP_PKEY_METHOD *)EVP_PKEY_meth_find(EVP_PKEY_RSA);
                                   ^
/usr/include/openssl/evp.h:1743:1: note: 'EVP_PKEY_meth_find' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 const EVP_PKEY_METHOD *EVP_PKEY_meth_find(int type);
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CIEEngine.c:483:5: warning: 'EVP_PKEY_meth_get_sign' is deprecated [-Wdeprecated-declarations]
    EVP_PKEY_meth_get_sign(orig_meth,
    ^
/usr/include/openssl/evp.h:2079:1: note: 'EVP_PKEY_meth_get_sign' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_get_sign
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CIEEngine.c:485:5: warning: 'EVP_PKEY_meth_get_decrypt' is deprecated [-Wdeprecated-declarations]
    EVP_PKEY_meth_get_decrypt(orig_meth,
    ^
/usr/include/openssl/evp.h:2107:1: note: 'EVP_PKEY_meth_get_decrypt' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_get_decrypt
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CIEEngine.c:489:16: warning: 'EVP_PKEY_meth_new' is deprecated [-Wdeprecated-declarations]
    new_meth = EVP_PKEY_meth_new(EVP_PKEY_RSA,
               ^
/usr/include/openssl/evp.h:1744:1: note: 'EVP_PKEY_meth_new' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 EVP_PKEY_METHOD *EVP_PKEY_meth_new(int id, int flags);
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CIEEngine.c:492:5: warning: 'EVP_PKEY_meth_copy' is deprecated [-Wdeprecated-declarations]
    EVP_PKEY_meth_copy(new_meth, orig_meth);
    ^
/usr/include/openssl/evp.h:1747:1: note: 'EVP_PKEY_meth_copy' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_copy(EVP_PKEY_METHOD *dst,
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CIEEngine.c:494:5: warning: 'EVP_PKEY_meth_set_sign' is deprecated [-Wdeprecated-declarations]
    EVP_PKEY_meth_set_sign(new_meth,
    ^
/usr/include/openssl/evp.h:2010:1: note: 'EVP_PKEY_meth_set_sign' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_set_sign
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CIEEngine.c:496:5: warning: 'EVP_PKEY_meth_set_decrypt' is deprecated [-Wdeprecated-declarations]
    EVP_PKEY_meth_set_decrypt(new_meth,
    ^
/usr/include/openssl/evp.h:2037:1: note: 'EVP_PKEY_meth_set_decrypt' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 void EVP_PKEY_meth_set_decrypt
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CIEEngine.c:546:15: warning: 'RSA_meth_dup' is deprecated [-Wdeprecated-declarations]
        ops = RSA_meth_dup(RSA_get_default_method());
              ^
/usr/include/openssl/rsa.h:480:1: note: 'RSA_meth_dup' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 RSA_METHOD *RSA_meth_dup(const RSA_METHOD *meth);
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CIEEngine.c:546:28: warning: 'RSA_get_default_method' is deprecated [-Wdeprecated-declarations]
        ops = RSA_meth_dup(RSA_get_default_method());
                           ^
/usr/include/openssl/rsa.h:304:1: note: 'RSA_get_default_method' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 const RSA_METHOD *RSA_get_default_method(void);
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CIEEngine.c:549:9: warning: 'RSA_meth_set1_name' is deprecated [-Wdeprecated-declarations]
        RSA_meth_set1_name(ops, "CIE RSA method");
        ^
/usr/include/openssl/rsa.h:482:1: note: 'RSA_meth_set1_name' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int RSA_meth_set1_name(RSA_METHOD *meth,
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CIEEngine.c:550:9: warning: 'RSA_meth_set_flags' is deprecated [-Wdeprecated-declarations]
        RSA_meth_set_flags(ops, 0);
        ^
/usr/include/openssl/rsa.h:485:1: note: 'RSA_meth_set_flags' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int RSA_meth_set_flags(RSA_METHOD *meth, int flags);
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CIEEngine.c:551:9: warning: 'RSA_meth_set_finish' is deprecated [-Wdeprecated-declarations]
        RSA_meth_set_finish(ops, cie_rsa_free);
        ^
/usr/include/openssl/rsa.h:558:1: note: 'RSA_meth_set_finish' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CIEEngine.c:573:10: warning: 'ENGINE_set_id' is deprecated [-Wdeprecated-declarations]
    if (!ENGINE_set_id(e, engine_cie_id) ||
         ^
/usr/include/openssl/engine.h:495:1: note: 'ENGINE_set_id' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int ENGINE_set_id(ENGINE *e, const char *id);
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CIEEngine.c:574:10: warning: 'ENGINE_set_name' is deprecated [-Wdeprecated-declarations]
        !ENGINE_set_name(e, engine_cie_name) ||
         ^
/usr/include/openssl/engine.h:496:1: note: 'ENGINE_set_name' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int ENGINE_set_name(ENGINE *e, const char *name);
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CIEEngine.c:575:10: warning: 'ENGINE_set_init_function' is deprecated [-Wdeprecated-declarations]
        !ENGINE_set_init_function(e,cie_init) ||
         ^
/usr/include/openssl/engine.h:504:1: note: 'ENGINE_set_init_function' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CIEEngine.c:576:10: warning: 'ENGINE_set_RSA' is deprecated [-Wdeprecated-declarations]
        !ENGINE_set_RSA(e, cie_get_rsa_method()) ||
         ^
/usr/include/openssl/engine.h:497:1: note: 'ENGINE_set_RSA' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int ENGINE_set_RSA(ENGINE *e, const RSA_METHOD *rsa_meth);
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CIEEngine.c:577:10: warning: 'ENGINE_set_destroy_function' is deprecated [-Wdeprecated-declarations]
        !ENGINE_set_destroy_function(e, cie_destroy) ||
         ^
/usr/include/openssl/engine.h:502:1: note: 'ENGINE_set_destroy_function' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CIEEngine.c:578:10: warning: 'ENGINE_set_finish_function' is deprecated [-Wdeprecated-declarations]
        !ENGINE_set_finish_function(e, cie_finish) ||
         ^
/usr/include/openssl/engine.h:506:1: note: 'ENGINE_set_finish_function' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CIEEngine.c:579:10: warning: 'ENGINE_set_pkey_meths' is deprecated [-Wdeprecated-declarations]
        !ENGINE_set_pkey_meths(e, cie_pkey_meths) ||
         ^
/usr/include/openssl/engine.h:521:1: note: 'ENGINE_set_pkey_meths' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CIEEngine.c:580:10: warning: 'ENGINE_set_cmd_defns' is deprecated [-Wdeprecated-declarations]
        !ENGINE_set_cmd_defns(e, cie_engine_cmd_defns) ||
         ^
/usr/include/openssl/engine.h:526:1: note: 'ENGINE_set_cmd_defns' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int ENGINE_set_cmd_defns(ENGINE *e,
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CIEEngine.c:581:10: warning: 'ENGINE_set_ctrl_function' is deprecated [-Wdeprecated-declarations]
        !ENGINE_set_ctrl_function(e, cie_engine_ctrl) ||
         ^
/usr/include/openssl/engine.h:508:1: note: 'ENGINE_set_ctrl_function' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CIEEngine.c:582:10: warning: 'ENGINE_set_load_privkey_function' is deprecated [-Wdeprecated-declarations]
        !ENGINE_set_load_privkey_function(e, cie_load_privkey) ||
         ^
/usr/include/openssl/engine.h:510:1: note: 'ENGINE_set_load_privkey_function' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CIEEngine.c:583:10: warning: 'ENGINE_set_load_pubkey_function' is deprecated [-Wdeprecated-declarations]
        !ENGINE_set_load_pubkey_function(e, cie_load_pubkey) //||
         ^
/usr/include/openssl/engine.h:512:1: note: 'ENGINE_set_load_pubkey_function' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CIEEngine.c:596:39: warning: extra ';' outside of a function [-Wextra-semi]
IMPLEMENT_DYNAMIC_BIND_FN(bind_helper);
                                      ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CIEEngine.c:597:29: warning: extra ';' outside of a function [-Wextra-semi]
IMPLEMENT_DYNAMIC_CHECK_FN();
                            ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CIEEngine.c:602:17: warning: 'ENGINE_new' is deprecated [-Wdeprecated-declarations]
    ENGINE *e = ENGINE_new();
                ^
/usr/include/openssl/engine.h:492:1: note: 'ENGINE_new' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_new(void);
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CIEEngine.c:606:9: warning: 'ENGINE_free' is deprecated [-Wdeprecated-declarations]
        ENGINE_free(e);
        ^
/usr/include/openssl/engine.h:493:1: note: 'ENGINE_free' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e);
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CIEEngine.c:619:5: warning: 'ENGINE_add' is deprecated [-Wdeprecated-declarations]
    ENGINE_add(toadd);
    ^
/usr/include/openssl/engine.h:328:1: note: 'ENGINE_add' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int ENGINE_add(ENGINE *e);
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
/tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CIEEngine.c:620:5: warning: 'ENGINE_free' is deprecated [-Wdeprecated-declarations]
    ENGINE_free(toadd);
    ^
/usr/include/openssl/engine.h:493:1: note: 'ENGINE_free' has been explicitly marked deprecated here
OSSL_DEPRECATEDIN_3_0 int ENGINE_free(ENGINE *e);
^
/usr/include/openssl/macros.h:182:49: note: expanded from macro 'OSSL_DEPRECATEDIN_3_0'
#   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                ^
/usr/include/openssl/macros.h:62:52: note: expanded from macro 'OSSL_DEPRECATED'
#     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                   ^
40 warnings and 1 error generated.
gmake[2]: *** [CMakeFiles/cie_sign_sdk.dir/build.make:174: CMakeFiles/cie_sign_sdk.dir/src/CIEEngine.c.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/cie_sign_sdk.dir/all] Error 2
gmake: *** [Makefile:136: all] Error 2

Fix /tmp/cie-middleware-linux-1.4.3.5/cie_sign_sdk/src/CIEEngine.c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant