Building Freeradius 3.2.0
Bassem Mettichi
mettichi at gmail.com
Thu Apr 28 14:08:10 UTC 2022
Hello,
iam trying to build Freeradius 3.2.0 from source when i run make i get
these warnings:
CC src/modules/rlm_eap/types/rlm_eap_pwd/rlm_eap_pwd.c
src/modules/rlm_eap/types/rlm_eap_pwd/rlm_eap_pwd.c: In function
‘mod_process’:
src/modules/rlm_eap/types/rlm_eap_pwd/rlm_eap_pwd.c:832:8: warning:
implicit declaration of function ‘EC_POINT_get_affine_coordinates’; did you
mean ‘EC_POINT_get_affine_coordinates_GFp’?
[-Wimplicit-function-declaration]
832 | if (!EC_POINT_get_affine_coordinates(session->group,
session->my_element, x, y,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| EC_POINT_get_affine_coordinates_GFp
CC src/modules/rlm_eap/types/rlm_eap_pwd/eap_pwd.c
src/modules/rlm_eap/types/rlm_eap_pwd/eap_pwd.c: In function ‘do_equation’:
src/modules/rlm_eap/types/rlm_eap_pwd/eap_pwd.c:144:2: warning: implicit
declaration of function ‘EC_GROUP_get_curve’; did you mean
‘EC_GROUP_get_degree’? [-Wimplicit-function-declaration]
144 | EC_GROUP_get_curve(group, p, a, b, bnctx);
| ^~~~~~~~~~~~~~~~~~
| EC_GROUP_get_degree
In file included from src/modules/rlm_eap/eap.h:29,
from src/modules/rlm_eap/types/rlm_eap_pwd/eap_pwd.h:38,
from src/modules/rlm_eap/types/rlm_eap_pwd/eap_pwd.c:37:
src/modules/rlm_eap/types/rlm_eap_pwd/eap_pwd.c: In function
‘compute_password_element’:
src/modules/rlm_eap/types/rlm_eap_pwd/eap_pwd.c:259:17: warning: implicit
declaration of function ‘EVP_MD_CTX_new’; did you mean ‘EVP_MD_CTX_init’?
[-Wimplicit-function-declaration]
259 | MEM(hmac_ctx = EVP_MD_CTX_new());
| ^~~~~~~~~~~~~~
src/freeradius-devel/radiusd.h:396:22: note: in definition of macro ‘MEM’
396 | #define MEM(x) if (!(x)) { ERROR("%s[%u] OUT OF MEMORY", __FILE__,
__LINE__); _fr_exit_now(__FILE__, __LINE__, 1); }
| ^
src/modules/rlm_eap/types/rlm_eap_pwd/eap_pwd.c:259:15: warning: assignment
to ‘EVP_MD_CTX *’ {aka ‘struct env_md_ctx_st *’} from ‘int’ makes pointer
from integer without a cast [-Wint-conversion]
259 | MEM(hmac_ctx = EVP_MD_CTX_new());
| ^
src/freeradius-devel/radiusd.h:396:22: note: in definition of macro ‘MEM’
396 | #define MEM(x) if (!(x)) { ERROR("%s[%u] OUT OF MEMORY", __FILE__,
__LINE__); _fr_exit_now(__FILE__, __LINE__, 1); }
| ^
src/modules/rlm_eap/types/rlm_eap_pwd/eap_pwd.c:390:4: warning: implicit
declaration of function ‘EVP_MD_CTX_reset’; did you mean
‘EVP_MD_CTX_creat’? [-Wimplicit-function-declaration]
390 | EVP_MD_CTX_reset(hmac_ctx);
| ^~~~~~~~~~~~~~~~
| EVP_MD_CTX_create
src/modules/rlm_eap/types/rlm_eap_pwd/eap_pwd.c:481:4: warning: implicit
declaration of function ‘EC_POINT_set_affine_coordinates’; did you mean
‘EC_POINT_set_affine_coordinates_GFp’? [-Wimplicit-function-declaration]
481 | !EC_POINT_set_affine_coordinates(session->group, session->pwe,
x_candidate, y, session->bnctx)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| EC_POINT_set_affine_coordinates_GFp
src/modules/rlm_eap/types/rlm_eap_pwd/eap_pwd.c:510:2: warning: implicit
declaration of function ‘EVP_MD_CTX_free’; did you mean
‘EVP_MD_CTX_create’? [-Wimplicit-function-declaration]
510 | EVP_MD_CTX_free(hmac_ctx);
| ^~~~~~~~~~~~~~~
| EVP_MD_CTX_create
src/modules/rlm_eap/types/rlm_eap_pwd/eap_pwd.c: In function
‘process_peer_commit’:
src/modules/rlm_eap/types/rlm_eap_pwd/eap_pwd.c:666:7: warning: implicit
declaration of function ‘EC_POINT_get_affine_coordinates’; did you mean
‘EC_POINT_get_affine_coordinates_GFp’? [-Wimplicit-function-declaration]
666 | if (!EC_POINT_get_affine_coordinates(session->group, K,
session->k, NULL, bn_ctx)) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| EC_POINT_get_affine_coordinates_GFp
How to solve this issue ?
Thanks
Bassem
More information about the Freeradius-Users
mailing list