Closed brahmanggi closed 6 years ago
Itu galat dari luarocks, mungkin dari luasec
.
BTW, telegram-cli
, upstream dari tdcliBot
ini sudah lama unmaintained. Jadi tdcliBot
ini kemungkinan besar juga tidak akan bekerja dengan baik untuk Telegram terkini.
baik kang,
ada kemungkinan upgrade kang dalam waktu dekat?
punten kang,
dapat error ini pas waktu instalasi ./tdclibot install kira2 kenapa yah?
src/lcrypto.c: In function ‘pkey_to_pem’: src/lcrypto.c:1164:27: error: dereferencing pointer to incomplete type ‘struct evp_pkey_st’ if (private && pkey_st->type == EVP_PKEY_DSA) ^~ src/lcrypto.c: In function ‘pkey_tostring’: src/lcrypto.c:1277:60: error: dereferencing pointer to incomplete type ‘EVP_PKEY {aka struct evp_pkey_st}’ sprintf(buf, "%s %s %d %p", LUACRYPTO_PKEYNAME, (pkey)->type == EVP_PKEY_DSA ? "DSA" : "RSA", EVP_PKEY_bits(pkey), pkey); ^~ src/lcrypto.c: In function ‘seal_pnew’: src/lcrypto.c:1299:46: error: invalid application of ‘sizeof’ to incomplete type ‘EVP_CIPHER_CTX {aka struct evp_cipher_ctx_st}’ c->ctx = (EVP_CIPHER_CTX )malloc(sizeof(EVP_CIPHER_CTX)); ^
~~~~~ In file included from src/lcrypto.c:8:0: src/lcrypto.c: In function ‘seal_tostring’: src/lcrypto.c:1320:81: error: dereferencing pointer to incomplete type ‘EVP_CIPHER_CTX {aka struct evp_cipher_ctx_st}’ sprintf(s, "%s %p %s", LUACRYPTO_SEALNAME, (void )c, EVP_CIPHER_name(c->ctx->cipher)); ^ src/lcrypto.c: In function ‘seal_fseal’: src/lcrypto.c:1400:20: error: storage size of ‘ctx’ isn’t known EVP_CIPHER_CTX ctx; ^~~ src/lcrypto.c: In function ‘open_pnew’: src/lcrypto.c:1483:46: error: invalid application of ‘sizeof’ to incomplete type ‘EVP_CIPHER_CTX {aka struct evp_cipher_ctx_st}’ c->ctx = (EVP_CIPHER_CTX *)malloc(sizeof(EVP_CIPHER_CTX)); ^~~~~~ src/lcrypto.c: In function ‘open_fopen’: src/lcrypto.c:1602:20: error: storage size of ‘ctx’ isn’t known EVP_CIPHER_CTX ctx; ^~~Error: Failed installing dependency: https://luarocks.org/luacrypto-0.3.2-2.src.rock - Build error: Failed compiling object src/lcrypto.o Error. Exiting.`