NetXMS Support Forum

Russian Support => Общие вопросы => Topic started by: Harun on July 04, 2017, 12:14:55 PM

Title: Помогите собрать из исходников
Post by: Harun on July 04, 2017, 12:14:55 PM
Нужно собрать сервер под Debian GNU/Linux 9, бинарных пакетов нет, из исходников не собирается из-за новой версии libssl, получаю ошибку:

  CXX      libnetxms_la-array.lo
In file included from libnetxms.h:29:0,
                 from array.cpp:24:
../../include/nxcpapi.h:254:19: error: field 'm_encryptor' has incomplete type 'EVP_CIPHER_CTX {aka evp_cipher_ctx_st}'
    EVP_CIPHER_CTX m_encryptor;
                   ^~~~~~~~~~~
In file included from /usr/include/openssl/crypto.h:31:0,
                 from ../../include/nms_common.h:772,
                 from libnetxms.h:27,
                 from array.cpp:24:
/usr/include/openssl/ossl_typ.h:90:16: note: forward declaration of 'EVP_CIPHER_CTX {aka struct evp_cipher_ctx_st}'
typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX;
                ^~~~~~~~~~~~~~~~~
In file included from libnetxms.h:29:0,
                 from array.cpp:24:
../../include/nxcpapi.h:255:19: error: field 'm_decryptor' has incomplete type 'EVP_CIPHER_CTX {aka evp_cipher_ctx_st}'
    EVP_CIPHER_CTX m_decryptor;
                   ^~~~~~~~~~~
In file included from /usr/include/openssl/crypto.h:31:0,
                 from ../../include/nms_common.h:772,
                 from libnetxms.h:27,
                 from array.cpp:24:
/usr/include/openssl/ossl_typ.h:90:16: note: forward declaration of 'EVP_CIPHER_CTX {aka struct evp_cipher_ctx_st}'
typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX;
                ^~~~~~~~~~~~~~~~~
Makefile:757: recipe for target 'libnetxms_la-array.lo' failed


Что можно поправить в исходниках? 
Title: Re: Помогите собрать из исходников
Post by: Harun on July 11, 2017, 06:30:49 PM
2.1 собирается нормально