/workdir/instance-0/output-1/host/include/openssl/x509.h:639:27: note: declared here 639 | OSSL_DEPRECATEDIN_3_0 int i2d_RSA_PUBKEY_bio(BIO *bp, const RSA *rsa); | ^~~~~~~~~~~~~~~~~~ Encrypt.c:2744:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2744 | RSA_free(rsa); | ^~~~~~~~ /workdir/instance-0/output-1/host/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ Encrypt.c: In function 'RsaGen': Encrypt.c:2783:17: warning: 'RSA_generate_key' is deprecated: Since OpenSSL 0.9.8 [-Wdeprecated-declarations] 2783 | rsa = RSA_generate_key(bit, RSA_F4, NULL, NULL); | ^~~ /workdir/instance-0/output-1/host/include/openssl/rsa.h:264:30: note: declared here 264 | OSSL_DEPRECATEDIN_0_9_8 RSA *RSA_generate_key(int bits, unsigned long e, void | ^~~~~~~~~~~~~~~~ Encrypt.c:2796:17: warning: 'i2d_RSAPrivateKey_bio' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2796 | i2d_RSAPrivateKey_bio(bio, rsa); | ^~~~~~~~~~~~~~~~~~~~~ /workdir/instance-0/output-1/host/include/openssl/x509.h:635:27: note: declared here 635 | OSSL_DEPRECATEDIN_3_0 int i2d_RSAPrivateKey_bio(BIO *bp, const RSA *rsa); | ^~~~~~~~~~~~~~~~~~~~~ Encrypt.c:2807:17: warning: 'i2d_RSA_PUBKEY_bio' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2807 | i2d_RSA_PUBKEY_bio(bio, rsa); | ^~~~~~~~~~~~~~~~~~ /workdir/instance-0/output-1/host/include/openssl/x509.h:639:27: note: declared here 639 | OSSL_DEPRECATEDIN_3_0 int i2d_RSA_PUBKEY_bio(BIO *bp, const RSA *rsa); | ^~~~~~~~~~~~~~~~~~ Encrypt.c:2817:9: warning: 'RSA_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 2817 | RSA_free(rsa); | ^~~~~~~~ /workdir/instance-0/output-1/host/include/openssl/rsa.h:304:28: note: declared here 304 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ Encrypt.c: In function 'X509ToX': Encrypt.c:3898:49: warning: 'ASN1_STRING_data' is deprecated: Since OpenSSL 1.1.0 [-Wdeprecated-declarations] 3898 | char *uri = (char *)ASN1_STRING_data(ad->location->d.uniformResourceIdentifier); | ^~~~ In file included from /workdir/instance-0/output-1/host/include/openssl/objects.h:21, from /workdir/instance-0/output-1/host/include/openssl/evp.h:44: /workdir/instance-0/output-1/host/include/openssl/asn1.h:683:40: note: declared here 683 | OSSL_DEPRECATEDIN_1_1_0 unsigned char *ASN1_STRING_data(ASN1_STRING *x); | ^~~~~~~~~~~~~~~~ Encrypt.c: In function 'FreeOpenSSLThreadState': Encrypt.c:4111:9: warning: 'ERR_remove_state' is deprecated: Since OpenSSL 1.0.0 [-Wdeprecated-declarations] 4111 | ERR_remove_state(0); | ^~~~~~~~~~~~~~~~ In file included from Encrypt.c:119: /workdir/instance-0/output-1/host/include/openssl/err.h:488:30: note: declared here 488 | OSSL_DEPRECATEDIN_1_0_0 void ERR_remove_state(unsigned long pid); | ^~~~~~~~~~~~~~~~ Encrypt.c: In function 'Hash': Encrypt.c:4201:17: warning: 'MD5' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4201 | MD5(src, size, dst); | ^~~ /workdir/instance-0/output-1/host/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ Encrypt.c: In function 'HashMd4': Encrypt.c:4218:9: warning: 'MD4' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4218 | MD4(src, size, dst); | ^~~ In file included from Encrypt.c:128: /workdir/instance-0/output-1/host/include/openssl/md4.h:53:38: note: declared here 53 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD4(const unsigned char *d, size_t n, | ^~~ Encrypt.c: In function 'NewCrypt': Encrypt.c:4270:9: warning: 'RC4_set_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4270 | RC4_set_key(c->Rc4Key, size, (UCHAR *)key); | ^~~~~~~~~~~ In file included from Encrypt.c:126: /workdir/instance-0/output-1/host/include/openssl/rc4.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void RC4_set_key(RC4_KEY *key, int len, | ^~~~~~~~~~~ Encrypt.c: In function 'Encrypt': Encrypt.c:4292:9: warning: 'RC4' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4292 | RC4(c->Rc4Key, size, src, dst); | ^~~ /workdir/instance-0/output-1/host/include/openssl/rc4.h:37:28: note: declared here 37 | OSSL_DEPRECATEDIN_3_0 void RC4(RC4_KEY *key, size_t len, | ^~~ Encrypt.c: In function 'Md5': Encrypt.c:4357:9: warning: 'MD5' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4357 | MD5(src, size, dst); | ^~~ /workdir/instance-0/output-1/host/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ Encrypt.c: In function 'Des3Encrypt': Encrypt.c:4372:9: warning: 'DES_ede3_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4372 | DES_ede3_cbc_encrypt(src, dest, size, | ^~~~~~~~~~~~~~~~~~~~ In file included from Encrypt.c:131: /workdir/instance-0/output-1/host/include/openssl/des.h:142:6: note: declared here 142 | void DES_ede3_cbc_encrypt(const unsigned char *input, unsigned char *output, | ^~~~~~~~~~~~~~~~~~~~ Encrypt.c: In function 'Des3Encrypt2': Encrypt.c:4390:9: warning: 'DES_ede3_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4390 | DES_ede3_cbc_encrypt(src, dest, size, | ^~~~~~~~~~~~~~~~~~~~ /workdir/instance-0/output-1/host/include/openssl/des.h:142:6: note: declared here 142 | void DES_ede3_cbc_encrypt(const unsigned char *input, unsigned char *output, | ^~~~~~~~~~~~~~~~~~~~ Encrypt.c: In function 'DesEncrypt': Encrypt.c:4410:9: warning: 'DES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4410 | DES_cbc_encrypt(src, dest, size, | ^~~~~~~~~~~~~~~ /workdir/instance-0/output-1/host/include/openssl/des.h:89:6: note: declared here 89 | void DES_cbc_encrypt(const unsigned char *input, unsigned char *output, | ^~~~~~~~~~~~~~~ Encrypt.c: In function 'Des3Decrypt': Encrypt.c:4428:9: warning: 'DES_ede3_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4428 | DES_ede3_cbc_encrypt(src, dest, size, | ^~~~~~~~~~~~~~~~~~~~ /workdir/instance-0/output-1/host/include/openssl/des.h:142:6: note: declared here 142 | void DES_ede3_cbc_encrypt(const unsigned char *input, unsigned char *output, | ^~~~~~~~~~~~~~~~~~~~ Encrypt.c: In function 'Des3Decrypt2': Encrypt.c:4446:9: warning: 'DES_ede3_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4446 | DES_ede3_cbc_encrypt(src, dest, size, | ^~~~~~~~~~~~~~~~~~~~ /workdir/instance-0/output-1/host/include/openssl/des.h:142:6: note: declared here 142 | void DES_ede3_cbc_encrypt(const unsigned char *input, unsigned char *output, | ^~~~~~~~~~~~~~~~~~~~ Encrypt.c: In function 'DesEcbEncrypt': Encrypt.c:4480:9: warning: 'DES_set_odd_parity' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4480 | DES_set_odd_parity(&key); | ^~~~~~~~~~~~~~~~~~ /workdir/instance-0/output-1/host/include/openssl/des.h:176:28: note: declared here 176 | OSSL_DEPRECATEDIN_3_0 void DES_set_odd_parity(DES_cblock *key); | ^~~~~~~~~~~~~~~~~~ Encrypt.c:4481:9: warning: 'DES_set_key_unchecked' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4481 | DES_set_key_unchecked(&key, &ks); | ^~~~~~~~~~~~~~~~~~~~~ /workdir/instance-0/output-1/host/include/openssl/des.h:192:6: note: declared here 192 | void DES_set_key_unchecked(const_DES_cblock *key, DES_key_schedule *schedule); | ^~~~~~~~~~~~~~~~~~~~~ Encrypt.c:4483:9: warning: 'DES_ecb_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4483 | DES_ecb_encrypt(src, dst, &ks, 1); | ^~~~~~~~~~~~~~~ /workdir/instance-0/output-1/host/include/openssl/des.h:105:6: note: declared here 105 | void DES_ecb_encrypt(const_DES_cblock *input, DES_cblock *output, | ^~~~~~~~~~~~~~~ Encrypt.c: In function 'DesDecrypt': Encrypt.c:4498:9: warning: 'DES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4498 | DES_cbc_encrypt(src, dest, size, | ^~~~~~~~~~~~~~~ /workdir/instance-0/output-1/host/include/openssl/des.h:89:6: note: declared here 89 | void DES_cbc_encrypt(const unsigned char *input, unsigned char *output, | ^~~~~~~~~~~~~~~ Encrypt.c: In function 'DesNewKeyValue': Encrypt.c:4591:9: warning: 'DES_set_key_unchecked' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4591 | DES_set_key_unchecked(value, v->KeySchedule); | ^~~~~~~~~~~~~~~~~~~~~ /workdir/instance-0/output-1/host/include/openssl/des.h:192:6: note: declared here 192 | void DES_set_key_unchecked(const_DES_cblock *key, DES_key_schedule *schedule); | ^~~~~~~~~~~~~~~~~~~~~ Encrypt.c: In function 'DesRandKeyValue': Encrypt.c:4601:9: warning: 'DES_random_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4601 | DES_random_key((DES_cblock *)key_value); | ^~~~~~~~~~~~~~ /workdir/instance-0/output-1/host/include/openssl/des.h:175:27: note: declared here 175 | OSSL_DEPRECATEDIN_3_0 int DES_random_key(DES_cblock *ret); | ^~~~~~~~~~~~~~ Encrypt.c: In function 'AesNewKey': Encrypt.c:4637:9: warning: 'AES_set_encrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4637 | AES_set_encrypt_key(data, size * 8, k->EncryptKey); | ^~~~~~~~~~~~~~~~~~~ In file included from Encrypt.c:132: /workdir/instance-0/output-1/host/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ Encrypt.c:4638:9: warning: 'AES_set_decrypt_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4638 | AES_set_decrypt_key(data, size * 8, k->DecryptKey); | ^~~~~~~~~~~~~~~~~~~ /workdir/instance-0/output-1/host/include/openssl/aes.h:54:5: note: declared here 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ Encrypt.c: In function 'AesEncrypt': Encrypt.c:4678:9: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4678 | AES_cbc_encrypt(src, dest, size, k->EncryptKey, ivec, 1); | ^~~~~~~~~~~~~~~ /workdir/instance-0/output-1/host/include/openssl/aes.h:66:6: note: declared here 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ Encrypt.c: In function 'AesDecrypt': Encrypt.c:4701:9: warning: 'AES_cbc_encrypt' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4701 | AES_cbc_encrypt(src, dest, size, k->DecryptKey, ivec, 0); | ^~~~~~~~~~~~~~~ /workdir/instance-0/output-1/host/include/openssl/aes.h:66:6: note: declared here 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ Encrypt.c: In function 'DhCompute': Encrypt.c:4876:9: warning: 'DH_compute_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4876 | i = DH_compute_key(dst_priv_key, bn, dh->dh); | ^ In file included from /workdir/instance-0/output-1/host/include/openssl/dsa.h:31, from /workdir/instance-0/output-1/host/include/openssl/x509.h:37: /workdir/instance-0/output-1/host/include/openssl/dh.h:235:27: note: declared here 235 | OSSL_DEPRECATEDIN_3_0 int DH_compute_key(unsigned char *key, | ^~~~~~~~~~~~~~ Encrypt.c: In function 'DhToBuf': Encrypt.c:4952:9: warning: 'i2d_DHparams' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4952 | r = i2d_DHparams_bio(bio, dh->dh); | ^ /workdir/instance-0/output-1/host/include/openssl/asn1.h:318:14: note: declared here 318 | attr int i2d_##name(const type *a, unsigned char **out); | ^~~~ /workdir/instance-0/output-1/host/include/openssl/dh.h:240:1: note: in expansion of macro 'DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr' 240 | DECLARE_ASN1_ENCODE_FUNCTIONS_only_attr(OSSL_DEPRECATEDIN_3_0, DH, DHparams) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Encrypt.c: In function 'DhNew': Encrypt.c:4982:9: warning: 'DH_new' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4982 | dh->dh = DH_new(); | ^~ /workdir/instance-0/output-1/host/include/openssl/dh.h:210:27: note: declared here 210 | OSSL_DEPRECATEDIN_3_0 DH *DH_new(void); | ^~~~~~ Encrypt.c:4987:9: warning: 'DH_set0_pqg' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4987 | DH_set0_pqg(dh->dh, dhp, NULL, dhg); | ^~~~~~~~~~~ /workdir/instance-0/output-1/host/include/openssl/dh.h:266:27: note: declared here 266 | OSSL_DEPRECATEDIN_3_0 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ^~~~~~~~~~~ Encrypt.c:4994:9: warning: 'DH_generate_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4994 | DH_generate_key(dh->dh); | ^~~~~~~~~~~~~~~ /workdir/instance-0/output-1/host/include/openssl/dh.h:234:27: note: declared here 234 | OSSL_DEPRECATEDIN_3_0 int DH_generate_key(DH *dh); | ^~~~~~~~~~~~~~~ Encrypt.c:4997:9: warning: 'DH_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 4997 | DH_get0_key(dh->dh, &pub, &priv); | ^~~~~~~~~~~ /workdir/instance-0/output-1/host/include/openssl/dh.h:267:28: note: declared here 267 | OSSL_DEPRECATEDIN_3_0 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, | ^~~~~~~~~~~ Encrypt.c: In function 'DhFree': Encrypt.c:5021:9: warning: 'DH_free' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 5021 | DH_free(dh->dh); | ^~~~~~~ /workdir/instance-0/output-1/host/include/openssl/dh.h:211:28: note: declared here 211 | OSSL_DEPRECATEDIN_3_0 void DH_free(DH *dh); | ^~~~~~~ /bin/sh ../../libtool --tag=CC --mode=compile /workdir/instance-0/output-1/host/bin/ccache /usr/bin/gcc -DHAVE_CONFIG_H -I. -I../.. -I/workdir/instance-0/output-1/host/include -I/include -g -D_DEBUG -DDEBUG -I../../src -I../../src/Mayaqua -I../../src/Cedar -DSTATE_DIR='"/workdir/instance-0/output-1/host/var/lib/softether"' -DUNIX -DUNIX_LINUX -D_REENTRANT -DREENTRANT -D_THREAD_SAFE -D_THREADSAFE -DTHREAD_SAFE -DTHREADSAFE -D_FILE_OFFSET_BITS=64 -fsigned-char -O2 -I/workdir/instance-0/output-1/host/include -c -o FileIO.lo FileIO.c libtool: compile: /workdir/instance-0/output-1/host/bin/ccache /usr/bin/gcc -DHAVE_CONFIG_H -I. -I../.. -I/workdir/instance-0/output-1/host/include -I/include -g -D_DEBUG -DDEBUG -I../../src -I../../src/Mayaqua -I../../src/Cedar -DSTATE_DIR=\"/workdir/instance-0/output-1/host/var/lib/softether\" -DUNIX -DUNIX_LINUX -D_REENTRANT -DREENTRANT -D_THREAD_SAFE -D_THREADSAFE -DTHREAD_SAFE -DTHREADSAFE -D_FILE_OFFSET_BITS=64 -fsigned-char -O2 -I/workdir/instance-0/output-1/host/include -c FileIO.c -fPIC -DPIC -o .libs/FileIO.o /bin/sh ../../libtool --tag=CC --mode=compile /workdir/instance-0/output-1/host/bin/ccache /usr/bin/gcc -DHAVE_CONFIG_H -I. -I../.. -I/workdir/instance-0/output-1/host/include -I/include -g -D_DEBUG -DDEBUG -I../../src -I../../src/Mayaqua -I../../src/Cedar -DSTATE_DIR='"/workdir/instance-0/output-1/host/var/lib/softether"' -DUNIX -DUNIX_LINUX -D_REENTRANT -DREENTRANT -D_THREAD_SAFE -D_THREADSAFE -DTHREAD_SAFE -DTHREADSAFE -D_FILE_OFFSET_BITS=64 -fsigned-char -O2 -I/workdir/instance-0/output-1/host/include -c -o Internat.lo Internat.c libtool: compile: /workdir/instance-0/output-1/host/bin/ccache /usr/bin/gcc -DHAVE_CONFIG_H -I. -I../.. -I/workdir/instance-0/output-1/host/include -I/include -g -D_DEBUG -DDEBUG -I../../src -I../../src/Mayaqua -I../../src/Cedar -DSTATE_DIR=\"/workdir/instance-0/output-1/host/var/lib/softether\" -DUNIX -DUNIX_LINUX -D_REENTRANT -DREENTRANT -D_THREAD_SAFE -D_THREADSAFE -DTHREAD_SAFE -DTHREADSAFE -D_FILE_OFFSET_BITS=64 -fsigned-char -O2 -I/workdir/instance-0/output-1/host/include -c Internat.c -fPIC -DPIC -o .libs/Internat.o /bin/sh ../../libtool --tag=CC --mode=compile /workdir/instance-0/output-1/host/bin/ccache /usr/bin/gcc -DHAVE_CONFIG_H -I. -I../.. -I/workdir/instance-0/output-1/host/include -I/include -g -D_DEBUG -DDEBUG -I../../src -I../../src/Mayaqua -I../../src/Cedar -DSTATE_DIR='"/workdir/instance-0/output-1/host/var/lib/softether"' -DUNIX -DUNIX_LINUX -D_REENTRANT -DREENTRANT -D_THREAD_SAFE -D_THREADSAFE -DTHREAD_SAFE -DTHREADSAFE -D_FILE_OFFSET_BITS=64 -fsigned-char -O2 -I/workdir/instance-0/output-1/host/include -c -o Kernel.lo Kernel.c libtool: compile: /workdir/instance-0/output-1/host/bin/ccache /usr/bin/gcc -DHAVE_CONFIG_H -I. -I../.. -I/workdir/instance-0/output-1/host/include -I/include -g -D_DEBUG -DDEBUG -I../../src -I../../src/Mayaqua -I../../src/Cedar -DSTATE_DIR=\"/workdir/instance-0/output-1/host/var/lib/softether\" -DUNIX -DUNIX_LINUX -D_REENTRANT -DREENTRANT -D_THREAD_SAFE -D_THREADSAFE -DTHREAD_SAFE -DTHREADSAFE -D_FILE_OFFSET_BITS=64 -fsigned-char -O2 -I/workdir/instance-0/output-1/host/include -c Kernel.c -fPIC -DPIC -o .libs/Kernel.o /bin/sh ../../libtool --tag=CC --mode=compile /workdir/instance-0/output-1/host/bin/ccache /usr/bin/gcc -DHAVE_CONFIG_H -I. -I../.. -I/workdir/instance-0/output-1/host/include -I/include -g -D_DEBUG -DDEBUG -I../../src -I../../src/Mayaqua -I../../src/Cedar -DSTATE_DIR='"/workdir/instance-0/output-1/host/var/lib/softether"' -DUNIX -DUNIX_LINUX -D_REENTRANT -DREENTRANT -D_THREAD_SAFE -D_THREADSAFE -DTHREAD_SAFE -DTHREADSAFE -D_FILE_OFFSET_BITS=64 -fsigned-char -O2 -I/workdir/instance-0/output-1/host/include -c -o Mayaqua.lo Mayaqua.c libtool: compile: /workdir/instance-0/output-1/host/bin/ccache /usr/bin/gcc -DHAVE_CONFIG_H -I. -I../.. -I/workdir/instance-0/output-1/host/include -I/include -g -D_DEBUG -DDEBUG -I../../src -I../../src/Mayaqua -I../../src/Cedar -DSTATE_DIR=\"/workdir/instance-0/output-1/host/var/lib/softether\" -DUNIX -DUNIX_LINUX -D_REENTRANT -DREENTRANT -D_THREAD_SAFE -D_THREADSAFE -DTHREAD_SAFE -DTHREADSAFE -D_FILE_OFFSET_BITS=64 -fsigned-char -O2 -I/workdir/instance-0/output-1/host/include -c Mayaqua.c -fPIC -DPIC -o .libs/Mayaqua.o /bin/sh ../../libtool --tag=CC --mode=compile /workdir/instance-0/output-1/host/bin/ccache /usr/bin/gcc -DHAVE_CONFIG_H -I. -I../.. -I/workdir/instance-0/output-1/host/include -I/include -g -D_DEBUG -DDEBUG -I../../src -I../../src/Mayaqua -I../../src/Cedar -DSTATE_DIR='"/workdir/instance-0/output-1/host/var/lib/softether"' -DUNIX -DUNIX_LINUX -D_REENTRANT -DREENTRANT -D_THREAD_SAFE -D_THREADSAFE -DTHREAD_SAFE -DTHREADSAFE -D_FILE_OFFSET_BITS=64 -fsigned-char -O2 -I/workdir/instance-0/output-1/host/include -c -o Memory.lo Memory.c libtool: compile: /workdir/instance-0/output-1/host/bin/ccache /usr/bin/gcc -DHAVE_CONFIG_H -I. -I../.. -I/workdir/instance-0/output-1/host/include -I/include -g -D_DEBUG -DDEBUG -I../../src -I../../src/Mayaqua -I../../src/Cedar -DSTATE_DIR=\"/workdir/instance-0/output-1/host/var/lib/softether\" -DUNIX -DUNIX_LINUX -D_REENTRANT -DREENTRANT -D_THREAD_SAFE -D_THREADSAFE -DTHREAD_SAFE -DTHREADSAFE -D_FILE_OFFSET_BITS=64 -fsigned-char -O2 -I/workdir/instance-0/output-1/host/include -c Memory.c -fPIC -DPIC -o .libs/Memory.o In file included from ../../src/Mayaqua/Mayaqua.h:326, from Memory.c:115: Memory.c: In function 'HashListKeyToPointer': ../../src/Mayaqua/MayaType.h:221:77: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 221 | #define POINTER_TO_KEY(p) ((sizeof(void *) == sizeof(UINT)) ? (UINT)(p) : HashPtrToUINT(p)) | ^ Memory.c:231:21: note: in expansion of macro 'POINTER_TO_KEY' 231 | if (POINTER_TO_KEY(p) == key) | ^~~~~~~~~~~~~~ Memory.c: In function 'CrashNow': Memory.c:633:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 633 | UCHAR *c = (UCHAR *)r; | ^ Memory.c: In function 'ListKeyToPointer': ../../src/Mayaqua/MayaType.h:221:77: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 221 | #define POINTER_TO_KEY(p) ((sizeof(void *) == sizeof(UINT)) ? (UINT)(p) : HashPtrToUINT(p)) | ^ Memory.c:1728:21: note: in expansion of macro 'POINTER_TO_KEY' 1728 | if (POINTER_TO_KEY(p) == key) | ^~~~~~~~~~~~~~ Memory.c: In function 'GetMemSize': ../../src/Mayaqua/MayaType.h:225:95: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 225 | #define POINTER_TO_UINT64(p) (((sizeof(void *) == sizeof(UINT64)) ? (UINT64)(p) : (UINT64)((UINT)(p)))) | ^ ../../src/Mayaqua/Memory.h:121:85: note: in expansion of macro 'POINTER_TO_UINT64' 121 | #define IS_NULL_POINTER(p) (((p) == NULL) || ((POINTER_TO_UINT64(p) == (UINT64)sizeof(MEMTAG)))) | ^~~~~~~~~~~~~~~~~ Memory.c:4099:13: note: in expansion of macro 'IS_NULL_POINTER' 4099 | if (IS_NULL_POINTER(addr)) | ^~~~~~~~~~~~~~~ Memory.c: In function 'ReAlloc': ../../src/Mayaqua/MayaType.h:225:95: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 225 | #define POINTER_TO_UINT64(p) (((sizeof(void *) == sizeof(UINT64)) ? (UINT64)(p) : (UINT64)((UINT)(p)))) | ^ ../../src/Mayaqua/Memory.h:121:85: note: in expansion of macro 'POINTER_TO_UINT64' 121 | #define IS_NULL_POINTER(p) (((p) == NULL) || ((POINTER_TO_UINT64(p) == (UINT64)sizeof(MEMTAG)))) | ^~~~~~~~~~~~~~~~~ Memory.c:4116:13: note: in expansion of macro 'IS_NULL_POINTER' 4116 | if (IS_NULL_POINTER(addr)) | ^~~~~~~~~~~~~~~ Memory.c: In function 'Free': ../../src/Mayaqua/MayaType.h:225:95: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 225 | #define POINTER_TO_UINT64(p) (((sizeof(void *) == sizeof(UINT64)) ? (UINT64)(p) : (UINT64)((UINT)(p)))) | ^ ../../src/Mayaqua/Memory.h:121:85: note: in expansion of macro 'POINTER_TO_UINT64' 121 | #define IS_NULL_POINTER(p) (((p) == NULL) || ((POINTER_TO_UINT64(p) == (UINT64)sizeof(MEMTAG)))) | ^~~~~~~~~~~~~~~~~ Memory.c:4173:13: note: in expansion of macro 'IS_NULL_POINTER' 4173 | if (IS_NULL_POINTER(addr)) | ^~~~~~~~~~~~~~~ Memory.c: In function 'InternalMalloc': ../../src/Mayaqua/MayaType.h:225:95: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 225 | #define POINTER_TO_UINT64(p) (((sizeof(void *) == sizeof(UINT64)) ? (UINT64)(p) : (UINT64)((UINT)(p)))) | ^ Memory.c:4253:21: note: in expansion of macro 'POINTER_TO_UINT64' 4253 | TrackNewObj(POINTER_TO_UINT64(addr), "MEM", size); | ^~~~~~~~~~~~~~~~~ Memory.c: In function 'InternalFree': ../../src/Mayaqua/MayaType.h:225:95: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 225 | #define POINTER_TO_UINT64(p) (((sizeof(void *) == sizeof(UINT64)) ? (UINT64)(p) : (UINT64)((UINT)(p)))) | ^ Memory.c:4273:24: note: in expansion of macro 'POINTER_TO_UINT64' 4273 | TrackDeleteObj(POINTER_TO_UINT64(addr)); | ^~~~~~~~~~~~~~~~~ Memory.c: In function 'InternalReAlloc': ../../src/Mayaqua/MayaType.h:225:95: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 225 | #define POINTER_TO_UINT64(p) (((sizeof(void *) == sizeof(UINT64)) ? (UINT64)(p) : (UINT64)((UINT)(p)))) | ^ Memory.c:4308:28: note: in expansion of macro 'POINTER_TO_UINT64' 4308 | TrackChangeObjSize(POINTER_TO_UINT64(addr), size, POINTER_TO_UINT64(new_addr)); | ^~~~~~~~~~~~~~~~~ ../../src/Mayaqua/MayaType.h:225:95: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 225 | #define POINTER_TO_UINT64(p) (((sizeof(void *) == sizeof(UINT64)) ? (UINT64)(p) : (UINT64)((UINT)(p)))) | ^ Memory.c:4308:59: note: in expansion of macro 'POINTER_TO_UINT64' 4308 | TrackChangeObjSize(POINTER_TO_UINT64(addr), size, POINTER_TO_UINT64(new_addr)); | ^~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=compile /workdir/instance-0/output-1/host/bin/ccache /usr/bin/gcc -DHAVE_CONFIG_H -I. -I../.. -I/workdir/instance-0/output-1/host/include -I/include -g -D_DEBUG -DDEBUG -I../../src -I../../src/Mayaqua -I../../src/Cedar -DSTATE_DIR='"/workdir/instance-0/output-1/host/var/lib/softether"' -DUNIX -DUNIX_LINUX -D_REENTRANT -DREENTRANT -D_THREAD_SAFE -D_THREADSAFE -DTHREAD_SAFE -DTHREADSAFE -D_FILE_OFFSET_BITS=64 -fsigned-char -O2 -I/workdir/instance-0/output-1/host/include -c -o Microsoft.lo Microsoft.c libtool: compile: /workdir/instance-0/output-1/host/bin/ccache /usr/bin/gcc -DHAVE_CONFIG_H -I. -I../.. -I/workdir/instance-0/output-1/host/include -I/include -g -D_DEBUG -DDEBUG -I../../src -I../../src/Mayaqua -I../../src/Cedar -DSTATE_DIR=\"/workdir/instance-0/output-1/host/var/lib/softether\" -DUNIX -DUNIX_LINUX -D_REENTRANT -DREENTRANT -D_THREAD_SAFE -D_THREADSAFE -DTHREAD_SAFE -DTHREADSAFE -D_FILE_OFFSET_BITS=64 -fsigned-char -O2 -I/workdir/instance-0/output-1/host/include -c Microsoft.c -fPIC -DPIC -o .libs/Microsoft.o /bin/sh ../../libtool --tag=CC --mode=compile /workdir/instance-0/output-1/host/bin/ccache /usr/bin/gcc -DHAVE_CONFIG_H -I. -I../.. -I/workdir/instance-0/output-1/host/include -I/include -g -D_DEBUG -DDEBUG -I../../src -I../../src/Mayaqua -I../../src/Cedar -DSTATE_DIR='"/workdir/instance-0/output-1/host/var/lib/softether"' -DUNIX -DUNIX_LINUX -D_REENTRANT -DREENTRANT -D_THREAD_SAFE -D_THREADSAFE -DTHREAD_SAFE -DTHREADSAFE -D_FILE_OFFSET_BITS=64 -fsigned-char -O2 -I/workdir/instance-0/output-1/host/include -c -o Network.lo Network.c libtool: compile: /workdir/instance-0/output-1/host/bin/ccache /usr/bin/gcc -DHAVE_CONFIG_H -I. -I../.. -I/workdir/instance-0/output-1/host/include -I/include -g -D_DEBUG -DDEBUG -I../../src -I../../src/Mayaqua -I../../src/Cedar -DSTATE_DIR=\"/workdir/instance-0/output-1/host/var/lib/softether\" -DUNIX -DUNIX_LINUX -D_REENTRANT -DREENTRANT -D_THREAD_SAFE -D_THREADSAFE -DTHREAD_SAFE -DTHREADSAFE -D_FILE_OFFSET_BITS=64 -fsigned-char -O2 -I/workdir/instance-0/output-1/host/include -c Network.c -fPIC -DPIC -o .libs/Network.o Network.c: In function 'NewSslPipeEx': Network.c:6009:25: warning: 'SSL_CTX_set_ssl_version' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 6009 | SSL_CTX_set_ssl_version(ssl_ctx, SSLv23_method()); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from Network.c:134: /workdir/instance-0/output-1/host/include/openssl/ssl.h:2022:12: note: declared here 2022 | __owur int SSL_CTX_set_ssl_version(SSL_CTX *ctx, const SSL_METHOD *meth); | ^~~~~~~~~~~~~~~~~~~~~~~ Network.c:6021:25: warning: 'SSL_CTX_set_ssl_version' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 6021 | SSL_CTX_set_ssl_version(ssl_ctx, SSLv23_client_method()); | ^~~~~~~~~~~~~~~~~~~~~~~ /workdir/instance-0/output-1/host/include/openssl/ssl.h:2022:12: note: declared here 2022 | __owur int SSL_CTX_set_ssl_version(SSL_CTX *ctx, const SSL_METHOD *meth); | ^~~~~~~~~~~~~~~~~~~~~~~ Network.c: In function 'NewCancelSpecial': Network.c:11549:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 11549 | c->pipe_read = (int)hEvent; | ^ Network.c: In function 'StartSSLEx': Network.c:13215:25: warning: 'SSL_CTX_set_ssl_version' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 13215 | SSL_CTX_set_ssl_version(ssl_ctx, SSLv23_method()); | ^~~~~~~~~~~~~~~~~~~~~~~ /workdir/instance-0/output-1/host/include/openssl/ssl.h:2022:12: note: declared here 2022 | __owur int SSL_CTX_set_ssl_version(SSL_CTX *ctx, const SSL_METHOD *meth); | ^~~~~~~~~~~~~~~~~~~~~~~ Network.c:13260:33: warning: 'SSL_CTX_set_ssl_version' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 13260 | SSL_CTX_set_ssl_version(ssl_ctx, SSLv23_method()); | ^~~~~~~~~~~~~~~~~~~~~~~ /workdir/instance-0/output-1/host/include/openssl/ssl.h:2022:12: note: declared here 2022 | __owur int SSL_CTX_set_ssl_version(SSL_CTX *ctx, const SSL_METHOD *meth); | ^~~~~~~~~~~~~~~~~~~~~~~ Network.c:13265:33: warning: 'SSL_CTX_set_ssl_version' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 13265 | SSL_CTX_set_ssl_version(ssl_ctx, SSLv23_client_method()); | ^~~~~~~~~~~~~~~~~~~~~~~ /workdir/instance-0/output-1/host/include/openssl/ssl.h:2022:12: note: declared here 2022 | __owur int SSL_CTX_set_ssl_version(SSL_CTX *ctx, const SSL_METHOD *meth); | ^~~~~~~~~~~~~~~~~~~~~~~ Network.c: In function 'NewSSLCtx': Network.c:18144:9: warning: 'SSL_CTX_set_tmp_dh_callback' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 18144 | SSL_CTX_set_tmp_dh_callback(ctx, TmpDhCallback); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /workdir/instance-0/output-1/host/include/openssl/ssl.h:2256:6: note: declared here 2256 | void SSL_CTX_set_tmp_dh_callback(SSL_CTX *ctx, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CC --mode=compile /workdir/instance-0/output-1/host/bin/ccache /usr/bin/gcc -DHAVE_CONFIG_H -I. -I../.. -I/workdir/instance-0/output-1/host/include -I/include -g -D_DEBUG -DDEBUG -I../../src -I../../src/Mayaqua -I../../src/Cedar -DSTATE_DIR='"/workdir/instance-0/output-1/host/var/lib/softether"' -DUNIX -DUNIX_LINUX -D_REENTRANT -DREENTRANT -D_THREAD_SAFE -D_THREADSAFE -DTHREAD_SAFE -DTHREADSAFE -D_FILE_OFFSET_BITS=64 -fsigned-char -O2 -I/workdir/instance-0/output-1/host/include -c -o Object.lo Object.c libtool: compile: /workdir/instance-0/output-1/host/bin/ccache /usr/bin/gcc -DHAVE_CONFIG_H -I. -I../.. -I/workdir/instance-0/output-1/host/include -I/include -g -D_DEBUG -DDEBUG -I../../src -I../../src/Mayaqua -I../../src/Cedar -DSTATE_DIR=\"/workdir/instance-0/output-1/host/var/lib/softether\" -DUNIX -DUNIX_LINUX -D_REENTRANT -DREENTRANT -D_THREAD_SAFE -D_THREADSAFE -DTHREAD_SAFE -DTHREADSAFE -D_FILE_OFFSET_BITS=64 -fsigned-char -O2 -I/workdir/instance-0/output-1/host/include -c Object.c -fPIC -DPIC -o .libs/Object.o /bin/sh ../../libtool --tag=CC --mode=compile /workdir/instance-0/output-1/host/bin/ccache /usr/bin/gcc -DHAVE_CONFIG_H -I. -I../.. -I/workdir/instance-0/output-1/host/include -I/include -g -D_DEBUG -DDEBUG -I../../src -I../../src/Mayaqua -I../../src/Cedar -DSTATE_DIR='"/workdir/instance-0/output-1/host/var/lib/softether"' -DUNIX -DUNIX_LINUX -D_REENTRANT -DREENTRANT -D_THREAD_SAFE -D_THREADSAFE -DTHREAD_SAFE -DTHREADSAFE -D_FILE_OFFSET_BITS=64 -fsigned-char -O2 -I/workdir/instance-0/output-1/host/include -c -o OS.lo OS.c libtool: compile: /workdir/instance-0/output-1/host/bin/ccache /usr/bin/gcc -DHAVE_CONFIG_H -I. -I../.. -I/workdir/instance-0/output-1/host/include -I/include -g -D_DEBUG -DDEBUG -I../../src -I../../src/Mayaqua -I../../src/Cedar -DSTATE_DIR=\"/workdir/instance-0/output-1/host/var/lib/softether\" -DUNIX -DUNIX_LINUX -D_REENTRANT -DREENTRANT -D_THREAD_SAFE -D_THREADSAFE -DTHREAD_SAFE -DTHREADSAFE -D_FILE_OFFSET_BITS=64 -fsigned-char -O2 -I/workdir/instance-0/output-1/host/include -c OS.c -fPIC -DPIC -o .libs/OS.o /bin/sh ../../libtool --tag=CC --mode=compile /workdir/instance-0/output-1/host/bin/ccache /usr/bin/gcc -DHAVE_CONFIG_H -I. -I../.. -I/workdir/instance-0/output-1/host/include -I/include -g -D_DEBUG -DDEBUG -I../../src -I../../src/Mayaqua -I../../src/Cedar -DSTATE_DIR='"/workdir/instance-0/output-1/host/var/lib/softether"' -DUNIX -DUNIX_LINUX -D_REENTRANT -DREENTRANT -D_THREAD_SAFE -D_THREADSAFE -DTHREAD_SAFE -DTHREADSAFE -D_FILE_OFFSET_BITS=64 -fsigned-char -O2 -I/workdir/instance-0/output-1/host/include -c -o Pack.lo Pack.c libtool: compile: /workdir/instance-0/output-1/host/bin/ccache /usr/bin/gcc -DHAVE_CONFIG_H -I. -I../.. -I/workdir/instance-0/output-1/host/include -I/include -g -D_DEBUG -DDEBUG -I../../src -I../../src/Mayaqua -I../../src/Cedar -DSTATE_DIR=\"/workdir/instance-0/output-1/host/var/lib/softether\" -DUNIX -DUNIX_LINUX -D_REENTRANT -DREENTRANT -D_THREAD_SAFE -D_THREADSAFE -DTHREAD_SAFE -DTHREADSAFE -D_FILE_OFFSET_BITS=64 -fsigned-char -O2 -I/workdir/instance-0/output-1/host/include -c Pack.c -fPIC -DPIC -o .libs/Pack.o /bin/sh ../../libtool --tag=CC --mode=compile /workdir/instance-0/output-1/host/bin/ccache /usr/bin/gcc -DHAVE_CONFIG_H -I. -I../.. -I/workdir/instance-0/output-1/host/include -I/include -g -D_DEBUG -DDEBUG -I../../src -I../../src/Mayaqua -I../../src/Cedar -DSTATE_DIR='"/workdir/instance-0/output-1/host/var/lib/softether"' -DUNIX -DUNIX_LINUX -D_REENTRANT -DREENTRANT -D_THREAD_SAFE -D_THREADSAFE -DTHREAD_SAFE -DTHREADSAFE -D_FILE_OFFSET_BITS=64 -fsigned-char -O2 -I/workdir/instance-0/output-1/host/include -c -o Secure.lo Secure.c libtool: compile: /workdir/instance-0/output-1/host/bin/ccache /usr/bin/gcc -DHAVE_CONFIG_H -I. -I../.. -I/workdir/instance-0/output-1/host/include -I/include -g -D_DEBUG -DDEBUG -I../../src -I../../src/Mayaqua -I../../src/Cedar -DSTATE_DIR=\"/workdir/instance-0/output-1/host/var/lib/softether\" -DUNIX -DUNIX_LINUX -D_REENTRANT -DREENTRANT -D_THREAD_SAFE -D_THREADSAFE -DTHREAD_SAFE -DTHREADSAFE -D_FILE_OFFSET_BITS=64 -fsigned-char -O2 -I/workdir/instance-0/output-1/host/include -c Secure.c -fPIC -DPIC -o .libs/Secure.o Secure.c: In function 'SignSecByObject': Secure.c:419:73: error: passing argument 5 of 'sec->Api->C_Sign' from incompatible pointer type [-Wincompatible-pointer-types] 419 | ret = sec->Api->C_Sign(sec->SessionId, hash, sizeof(hash), dst, &size); | ^~~~~ | | | UINT * {aka unsigned int *} Secure.c:419:73: note: expected 'CK_ULONG_PTR' {aka 'long unsigned int *'} but argument is of type 'UINT *' {aka 'unsigned int *'} Secure.c:423:81: error: passing argument 5 of 'sec->Api->C_Sign' from incompatible pointer type [-Wincompatible-pointer-types] 423 | ret = sec->Api->C_Sign(sec->SessionId, hash, sizeof(hash), dst, &size); | ^~~~~ | | | UINT * {aka unsigned int *} Secure.c:423:81: note: expected 'CK_ULONG_PTR' {aka 'long unsigned int *'} but argument is of type 'UINT *' {aka 'unsigned int *'} Secure.c: In function 'WriteSecKey': Secure.c:531:9: warning: 'EVP_PKEY_get0_RSA' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 531 | rsa = EVP_PKEY_get0_RSA(k->pkey); | ^~~ In file included from /workdir/instance-0/output-1/host/include/openssl/x509.h:29, from /workdir/instance-0/output-1/host/include/openssl/ssl.h:32, from Secure.c:121: /workdir/instance-0/output-1/host/include/openssl/evp.h:1363:22: note: declared here 1363 | const struct rsa_st *EVP_PKEY_get0_RSA(const EVP_PKEY *pkey); | ^~~~~~~~~~~~~~~~~ Secure.c:531:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 531 | rsa = EVP_PKEY_get0_RSA(k->pkey); | ^ Secure.c:539:9: warning: 'RSA_get0_key' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 539 | RSA_get0_key(rsa, &n, &e, &d); | ^~~~~~~~~~~~ In file included from /workdir/instance-0/output-1/host/include/openssl/x509.h:36: /workdir/instance-0/output-1/host/include/openssl/rsa.h:228:28: note: declared here 228 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_key(const RSA *r, | ^~~~~~~~~~~~ Secure.c:540:9: warning: 'RSA_get0_factors' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 540 | RSA_get0_factors(rsa, &p, &q); | ^~~~~~~~~~~~~~~~ /workdir/instance-0/output-1/host/include/openssl/rsa.h:231:28: note: declared here 231 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_factors(const RSA *r, | ^~~~~~~~~~~~~~~~ Secure.c:541:9: warning: 'RSA_get0_crt_params' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 541 | RSA_get0_crt_params(rsa, &dmp1, &dmq1, &iqmp); | ^~~~~~~~~~~~~~~~~~~ /workdir/instance-0/output-1/host/include/openssl/rsa.h:236:28: note: declared here 236 | OSSL_DEPRECATEDIN_3_0 void RSA_get0_crt_params(const RSA *r, | ^~~~~~~~~~~~~~~~~~~ Secure.c:600:90: error: passing argument 4 of 'sec->Api->C_CreateObject' from incompatible pointer type [-Wincompatible-pointer-types] 600 | if ((ret = sec->Api->C_CreateObject(sec->SessionId, a, sizeof(a) / sizeof(a[0]), &object)) != CKR_OK) | ^~~~~~~ | | | UINT * {aka unsigned int *} Secure.c:600:90: note: expected 'CK_OBJECT_HANDLE_PTR' {aka 'long unsigned int *'} but argument is of type 'UINT *' {aka 'unsigned int *'} Secure.c: In function 'WriteSecCert': Secure.c:806:90: error: passing argument 4 of 'sec->Api->C_CreateObject' from incompatible pointer type [-Wincompatible-pointer-types] 806 | if ((ret = sec->Api->C_CreateObject(sec->SessionId, a, sizeof(a) / sizeof(a[0]), &object)) != CKR_OK) | ^~~~~~~ | | | UINT * {aka unsigned int *} Secure.c:806:90: note: expected 'CK_OBJECT_HANDLE_PTR' {aka 'long unsigned int *'} but argument is of type 'UINT *' {aka 'unsigned int *'} Secure.c: In function 'EnumSecObject': Secure.c:1312:53: error: passing argument 2 of 'sec->Api->C_FindObjects' from incompatible pointer type [-Wincompatible-pointer-types] 1312 | if (sec->Api->C_FindObjects(sec->SessionId, objects, sizeof(objects) / sizeof(objects[0]), &num_objects) != CKR_OK) | ^~~~~~~ | | | UINT * {aka unsigned int *} Secure.c:1312:53: note: expected 'CK_OBJECT_HANDLE_PTR' {aka 'long unsigned int *'} but argument is of type 'UINT *' {aka 'unsigned int *'} Secure.c:1312:100: error: passing argument 4 of 'sec->Api->C_FindObjects' from incompatible pointer type [-Wincompatible-pointer-types] 1312 | if (sec->Api->C_FindObjects(sec->SessionId, objects, sizeof(objects) / sizeof(objects[0]), &num_objects) != CKR_OK) | ^~~~~~~~~~~~ | | | UINT * {aka unsigned int *} Secure.c:1312:100: note: expected 'CK_ULONG_PTR' {aka 'long unsigned int *'} but argument is of type 'UINT *' {aka 'unsigned int *'} Secure.c: In function 'WriteSecData': Secure.c:1433:83: error: passing argument 4 of 'sec->Api->C_CreateObject' from incompatible pointer type [-Wincompatible-pointer-types] 1433 | if (sec->Api->C_CreateObject(sec->SessionId, a, sizeof(a) / sizeof(a[0]), &object) != CKR_OK) | ^~~~~~~ | | | UINT * {aka unsigned int *} Secure.c:1433:83: note: expected 'CK_OBJECT_HANDLE_PTR' {aka 'long unsigned int *'} but argument is of type 'UINT *' {aka 'unsigned int *'} Secure.c: In function 'OpenSecSession': Secure.c:1736:66: error: passing argument 5 of 'sec->Api->C_OpenSession' from incompatible pointer type [-Wincompatible-pointer-types] 1736 | CKF_RW_SESSION | CKF_SERIAL_SESSION, NULL, NULL, &session)) != CKR_OK) | ^~~~~~~~ | | | UINT * {aka unsigned int *} Secure.c:1736:66: note: expected 'CK_SESSION_HANDLE_PTR' {aka 'long unsigned int *'} but argument is of type 'UINT *' {aka 'unsigned int *'} Secure.c:1741:57: error: passing argument 5 of 'sec->Api->C_OpenSession' from incompatible pointer type [-Wincompatible-pointer-types] 1741 | CKF_SERIAL_SESSION, NULL, NULL, &session)) != CKR_OK) | ^~~~~~~~ | | | UINT * {aka unsigned int *} Secure.c:1741:57: note: expected 'CK_SESSION_HANDLE_PTR' {aka 'long unsigned int *'} but argument is of type 'UINT *' {aka 'unsigned int *'} Secure.c: In function 'OpenSec': Secure.c:1829:56: error: passing argument 3 of 'sec->Api->C_GetSlotList' from incompatible pointer type [-Wincompatible-pointer-types] 1829 | if ((err = sec->Api->C_GetSlotList(true, NULL, &sec->NumSlot)) != CKR_OK || sec->NumSlot == 0) | ^~~~~~~~~~~~~ | | | UINT * {aka unsigned int *} Secure.c:1829:56: note: expected 'CK_ULONG_PTR' {aka 'long unsigned int *'} but argument is of type 'UINT *' {aka 'unsigned int *'} Secure.c:1839:46: error: passing argument 2 of 'sec->Api->C_GetSlotList' from incompatible pointer type [-Wincompatible-pointer-types] 1839 | if (sec->Api->C_GetSlotList(TRUE, sec->SlotIdList, &sec->NumSlot) != CKR_OK) | ~~~^~~~~~~~~~~~ | | | UINT * {aka unsigned int *} Secure.c:1839:46: note: expected 'CK_SLOT_ID_PTR' {aka 'long unsigned int *'} but argument is of type 'UINT *' {aka 'unsigned int *'} Secure.c:1839:60: error: passing argument 3 of 'sec->Api->C_GetSlotList' from incompatible pointer type [-Wincompatible-pointer-types] 1839 | if (sec->Api->C_GetSlotList(TRUE, sec->SlotIdList, &sec->NumSlot) != CKR_OK) | ^~~~~~~~~~~~~ | | | UINT * {aka unsigned int *} Secure.c:1839:60: note: expected 'CK_ULONG_PTR' {aka 'long unsigned int *'} but argument is of type 'UINT *' {aka 'unsigned int *'} make[1]: *** [Makefile:498: Secure.lo] Error 1 make[1]: Leaving directory '/workdir/instance-0/output-1/build/host-softether-4.30-9700-beta/src/Mayaqua' make: *** [package/pkg-generic.mk:289: /workdir/instance-0/output-1/build/host-softether-4.30-9700-beta/.stamp_built] Error 2 make: Leaving directory '/workdir/instance-0/buildroot'