Hello, On 7 February 2017 at 10:14, Maxim Uvarov <maxim.uva...@linaro.org> wrote: > What is function is not used error? Is it gcc or #error in includes?
First error: In file included from ./include/odp_packet_internal.h:28:0, from odp_classification.c:13: ./include/odp_crypto_internal.h:55:5: error: unknown type name ‘EVP_CIPHER_CTX’ EVP_CIPHER_CTX *ctx; ^~~~~~~~~~~~~~ This is fixed by including <openssl/evp.h> Second error: odp_crypto.c:957:13: error: ‘openssl_lock’ defined but not used [-Werror=unused-function] static void openssl_lock(int mode, int n, ^~~~~~~~~~~~ odp_crypto.c:952:22: error: ‘openssl_thread_id’ defined but not used [-Werror=unused-function] static unsigned long openssl_thread_id(void) ^~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors -- With best wishes Dmitry