Environment
MacOS Catalina 10.15.7
Problem/Question
I can’t finish the installation by following the recommended procedure using automatic kickstart. It ends with multiple errors.
Below I report the final stage of the installation:
CC database/sqlite/sqlite_functions.o
CC database/sqlite/sqlite_aclk.o
CC database/sqlite/sqlite_health.o
database/sqlite/sqlite_functions.c:1651:5: error: use of undeclared identifier 'EVP_MD_CTX'
EVP_MD_CTX *evpctx;
^
database/sqlite/sqlite_functions.c:1651:17: error: use of undeclared identifier 'evpctx'
EVP_MD_CTX *evpctx;
^
database/sqlite/sqlite_functions.c:1652:30: error: use of undeclared identifier 'EVP_MAX_MD_SIZE'
unsigned char hash_value[EVP_MAX_MD_SIZE];
^
database/sqlite/sqlite_functions.c:1658:5: error: use of undeclared identifier 'evpctx'
evpctx = EVP_MD_CTX_create();
^
database/sqlite/sqlite_functions.c:1658:14: error: implicit declaration of function 'EVP_MD_CTX_create' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
evpctx = EVP_MD_CTX_create();
^
database/sqlite/sqlite_functions.c:1659:5: error: implicit declaration of function 'EVP_DigestInit_ex' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
EVP_DigestInit_ex(evpctx, EVP_sha256(), NULL);
^
database/sqlite/sqlite_functions.c:1659:31: error: implicit declaration of function 'EVP_sha256' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
EVP_DigestInit_ex(evpctx, EVP_sha256(), NULL);
^
database/sqlite/sqlite_functions.c:1659:23: error: use of undeclared identifier 'evpctx'
EVP_DigestInit_ex(evpctx, EVP_sha256(), NULL);
^
database/sqlite/sqlite_functions.c:1661:5: error: implicit declaration of function 'EVP_DigestUpdate' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
EVP_DigestUpdate(evpctx, st->id, strlen(st->id));
^
database/sqlite/sqlite_functions.c:1661:22: error: use of undeclared identifier 'evpctx'
EVP_DigestUpdate(evpctx, st->id, strlen(st->id));
^
database/sqlite/sqlite_functions.c:1662:22: error: use of undeclared identifier 'evpctx'
EVP_DigestUpdate(evpctx, st->name, strlen(st->name));
^
database/sqlite/sqlite_functions.c:1663:22: error: use of undeclared identifier 'evpctx'
EVP_DigestUpdate(evpctx, st->family, strlen(st->family));
^
database/sqlite/sqlite_functions.c:1664:22: error: use of undeclared identifier 'evpctx'
EVP_DigestUpdate(evpctx, st->context, strlen(st->context));
^
database/sqlite/sqlite_functions.c:1665:22: error: use of undeclared identifier 'evpctx'
EVP_DigestUpdate(evpctx, st->title, strlen(st->title));
^
database/sqlite/sqlite_functions.c:1666:22: error: use of undeclared identifier 'evpctx'
EVP_DigestUpdate(evpctx, st->units, strlen(st->units));
^
database/sqlite/sqlite_functions.c:1667:22: error: use of undeclared identifier 'evpctx'
EVP_DigestUpdate(evpctx, st->plugin_name, strlen(st->plugin_name));
^
database/sqlite/sqlite_functions.c:1669:26: error: use of undeclared identifier 'evpctx'
EVP_DigestUpdate(evpctx, st->module_name, strlen(st->module_name));
^
database/sqlite/sqlite_functions.c:1671:22: error: use of undeclared identifier 'evpctx'
EVP_DigestUpdate(evpctx, &st->priority, sizeof(st->priority));
^
database/sqlite/sqlite_functions.c:1672:22: error: use of undeclared identifier 'evpctx'
EVP_DigestUpdate(evpctx, &st->chart_type, sizeof(st->chart_type));
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [database/sqlite/sqlite_functions.o] Error 1
make[2]: *** Waiting for unfinished jobs....
database/sqlite/sqlite_health.c:898:5: error: use of undeclared identifier 'EVP_MD_CTX'
EVP_MD_CTX *evpctx;
^
database/sqlite/sqlite_health.c:898:17: error: use of undeclared identifier 'evpctx'
EVP_MD_CTX *evpctx;
^
database/sqlite/sqlite_health.c:899:30: error: use of undeclared identifier 'EVP_MAX_MD_SIZE'
unsigned char hash_value[EVP_MAX_MD_SIZE];
^
database/sqlite/sqlite_health.c:901:5: error: use of undeclared identifier 'evpctx'
evpctx = EVP_MD_CTX_create();
^
database/sqlite/sqlite_health.c:901:14: error: implicit declaration of function 'EVP_MD_CTX_create' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
evpctx = EVP_MD_CTX_create();
^
database/sqlite/sqlite_health.c:902:5: error: implicit declaration of function 'EVP_DigestInit_ex' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
EVP_DigestInit_ex(evpctx, EVP_sha256(), NULL);
^
database/sqlite/sqlite_health.c:902:31: error: implicit declaration of function 'EVP_sha256' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
EVP_DigestInit_ex(evpctx, EVP_sha256(), NULL);
^
database/sqlite/sqlite_health.c:902:23: error: use of undeclared identifier 'evpctx'
EVP_DigestInit_ex(evpctx, EVP_sha256(), NULL);
^
database/sqlite/sqlite_health.c:904:5: error: implicit declaration of function 'EVP_DigestUpdate' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
DIGEST_ALERT_CONFIG_VAL(cfg->alarm);
^
database/sqlite/sqlite_health.c:893:43: note: expanded from macro 'DIGEST_ALERT_CONFIG_VAL'
#define DIGEST_ALERT_CONFIG_VAL(v) ((v) ? EVP_DigestUpdate(evpctx, (v), strlen((v))) : EVP_DigestUpdate(evpctx, "", 1))
^
database/sqlite/sqlite_health.c:904:5: error: use of undeclared identifier 'evpctx'
database/sqlite/sqlite_health.c:893:60: note: expanded from macro 'DIGEST_ALERT_CONFIG_VAL'
#define DIGEST_ALERT_CONFIG_VAL(v) ((v) ? EVP_DigestUpdate(evpctx, (v), strlen((v))) : EVP_DigestUpdate(evpctx, "", 1))
^
database/sqlite/sqlite_health.c:904:5: error: use of undeclared identifier 'evpctx'
database/sqlite/sqlite_health.c:893:105: note: expanded from macro 'DIGEST_ALERT_CONFIG_VAL'
#define DIGEST_ALERT_CONFIG_VAL(v) ((v) ? EVP_DigestUpdate(evpctx, (v), strlen((v))) : EVP_DigestUpdate(evpctx, "", 1))
^
database/sqlite/sqlite_health.c:905:5: error: use of undeclared identifier 'evpctx'
DIGEST_ALERT_CONFIG_VAL(cfg->template_key);
^
database/sqlite/sqlite_health.c:893:60: note: expanded from macro 'DIGEST_ALERT_CONFIG_VAL'
#define DIGEST_ALERT_CONFIG_VAL(v) ((v) ? EVP_DigestUpdate(evpctx, (v), strlen((v))) : EVP_DigestUpdate(evpctx, "", 1))
^
database/sqlite/sqlite_health.c:905:5: error: use of undeclared identifier 'evpctx'
database/sqlite/sqlite_health.c:893:105: note: expanded from macro 'DIGEST_ALERT_CONFIG_VAL'
#define DIGEST_ALERT_CONFIG_VAL(v) ((v) ? EVP_DigestUpdate(evpctx, (v), strlen((v))) : EVP_DigestUpdate(evpctx, "", 1))
^
database/sqlite/sqlite_health.c:906:5: error: use of undeclared identifier 'evpctx'
DIGEST_ALERT_CONFIG_VAL(cfg->os);
^
database/sqlite/sqlite_health.c:893:60: note: expanded from macro 'DIGEST_ALERT_CONFIG_VAL'
#define DIGEST_ALERT_CONFIG_VAL(v) ((v) ? EVP_DigestUpdate(evpctx, (v), strlen((v))) : EVP_DigestUpdate(evpctx, "", 1))
^
database/sqlite/sqlite_health.c:906:5: error: use of undeclared identifier 'evpctx'
database/sqlite/sqlite_health.c:893:105: note: expanded from macro 'DIGEST_ALERT_CONFIG_VAL'
#define DIGEST_ALERT_CONFIG_VAL(v) ((v) ? EVP_DigestUpdate(evpctx, (v), strlen((v))) : EVP_DigestUpdate(evpctx, "", 1))
^
database/sqlite/sqlite_health.c:907:5: error: use of undeclared identifier 'evpctx'
DIGEST_ALERT_CONFIG_VAL(cfg->host);
^
database/sqlite/sqlite_health.c:893:60: note: expanded from macro 'DIGEST_ALERT_CONFIG_VAL'
#define DIGEST_ALERT_CONFIG_VAL(v) ((v) ? EVP_DigestUpdate(evpctx, (v), strlen((v))) : EVP_DigestUpdate(evpctx, "", 1))
^
database/sqlite/sqlite_health.c:907:5: error: use of undeclared identifier 'evpctx'
database/sqlite/sqlite_health.c:893:105: note: expanded from macro 'DIGEST_ALERT_CONFIG_VAL'
#define DIGEST_ALERT_CONFIG_VAL(v) ((v) ? EVP_DigestUpdate(evpctx, (v), strlen((v))) : EVP_DigestUpdate(evpctx, "", 1))
^
database/sqlite/sqlite_health.c:908:5: error: use of undeclared identifier 'evpctx'
DIGEST_ALERT_CONFIG_VAL(cfg->on);
^
database/sqlite/sqlite_health.c:893:60: note: expanded from macro 'DIGEST_ALERT_CONFIG_VAL'
#define DIGEST_ALERT_CONFIG_VAL(v) ((v) ? EVP_DigestUpdate(evpctx, (v), strlen((v))) : EVP_DigestUpdate(evpctx, "", 1))
^
database/sqlite/sqlite_health.c:908:5: error: use of undeclared identifier 'evpctx'
database/sqlite/sqlite_health.c:893:105: note: expanded from macro 'DIGEST_ALERT_CONFIG_VAL'
#define DIGEST_ALERT_CONFIG_VAL(v) ((v) ? EVP_DigestUpdate(evpctx, (v), strlen((v))) : EVP_DigestUpdate(evpctx, "", 1))
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [database/sqlite/sqlite_health.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
FAILED
FAILED
ABORTED netdata-installer.sh exited with error
What I expected to happen
Finish the Netdata installation