Centos 6 Compile error
David Peterson
davidp at wirelessconnections.net
Tue Mar 13 12:12:18 CET 2012
Has anyone seen this error? I am not sure what might be missing:
In file included from rlm_eap_pwd.h:37,
from rlm_eap_pwd.c:39:
eap_pwd.h:42:24: error: openssl/ec.h: No such file or directory
In file included from rlm_eap_pwd.h:37,
from rlm_eap_pwd.c:39:
eap_pwd.h:93: error: expected specifier-qualifier-list before 'EC_GROUP'
rlm_eap_pwd.c: In function 'free_session':
rlm_eap_pwd.c:143: error: 'pwd_session_t' has no member named
'private_value'
rlm_eap_pwd.c:144: error: 'pwd_session_t' has no member named 'peer_scalar'
rlm_eap_pwd.c:145: error: 'pwd_session_t' has no member named 'my_scalar'
rlm_eap_pwd.c:146: error: 'pwd_session_t' has no member named 'k'
rlm_eap_pwd.c:147: warning: implicit declaration of function 'EC_POINT_free'
rlm_eap_pwd.c:147: warning: nested extern declaration of 'EC_POINT_free'
rlm_eap_pwd.c:147: error: 'pwd_session_t' has no member named 'my_element'
rlm_eap_pwd.c:148: error: 'pwd_session_t' has no member named 'peer_element'
rlm_eap_pwd.c:149: warning: implicit declaration of function 'EC_GROUP_free'
rlm_eap_pwd.c:149: warning: nested extern declaration of 'EC_GROUP_free'
rlm_eap_pwd.c:149: error: 'pwd_session_t' has no member named 'group'
rlm_eap_pwd.c:150: error: 'pwd_session_t' has no member named 'pwe'
rlm_eap_pwd.c:151: error: 'pwd_session_t' has no member named 'order'
rlm_eap_pwd.c:152: error: 'pwd_session_t' has no member named 'prime'
rlm_eap_pwd.c: In function 'eap_pwd_initiate':
rlm_eap_pwd.c:245: error: 'pwd_session_t' has no member named
'private_value'
rlm_eap_pwd.c:246: error: 'pwd_session_t' has no member named 'peer_scalar'
rlm_eap_pwd.c:247: error: 'pwd_session_t' has no member named 'my_scalar'
rlm_eap_pwd.c:248: error: 'pwd_session_t' has no member named 'k'
rlm_eap_pwd.c:249: error: 'pwd_session_t' has no member named 'my_element'
rlm_eap_pwd.c:250: error: 'pwd_session_t' has no member named 'peer_element'
rlm_eap_pwd.c:251: error: 'pwd_session_t' has no member named 'group'
rlm_eap_pwd.c:252: error: 'pwd_session_t' has no member named 'pwe'
rlm_eap_pwd.c:253: error: 'pwd_session_t' has no member named 'order'
rlm_eap_pwd.c:254: error: 'pwd_session_t' has no member named 'prime'
rlm_eap_pwd.c:294: warning: pointer targets in passing argument 1 of
'strcpy' differ in signedness
/usr/include/string.h:128: note: expected 'char * __restrict__' but argument
is of type 'unsigned char *'
rlm_eap_pwd.c: In function 'eap_pwd_authenticate':
rlm_eap_pwd.c:436: warning: pointer targets in passing argument 2 of
'__builtin_strncpy' differ in signedness
rlm_eap_pwd.c:436: note: expected 'const char *' but argument is of type
'unsigned char *'
rlm_eap_pwd.c:525: warning: implicit declaration of function
'EC_POINT_get_affine_coordinates_GFp'
rlm_eap_pwd.c:525: warning: nested extern declaration of
'EC_POINT_get_affine_coordinates_GFp'
rlm_eap_pwd.c:525: error: 'pwd_session_t' has no member named 'group'
rlm_eap_pwd.c:526: error: 'pwd_session_t' has no member named 'my_element'
rlm_eap_pwd.c:536: error: 'pwd_session_t' has no member named 'order'
rlm_eap_pwd.c:537: error: 'pwd_session_t' has no member named 'prime'
rlm_eap_pwd.c:545: error: 'pwd_session_t' has no member named 'prime'
rlm_eap_pwd.c:548: error: 'pwd_session_t' has no member named 'prime'
rlm_eap_pwd.c:549: error: 'pwd_session_t' has no member named 'prime'
rlm_eap_pwd.c:552: error: 'pwd_session_t' has no member named 'prime'
rlm_eap_pwd.c:553: error: 'pwd_session_t' has no member named 'order'
rlm_eap_pwd.c:553: error: 'pwd_session_t' has no member named 'my_scalar'
rlm_eap_pwd.c:554: error: 'pwd_session_t' has no member named 'my_scalar'
rlm_eap_pwd.c:575: error: 'pwd_session_t' has no member named 'my_confirm'
rlm_eap_pwd.c:588: error: 'pwd_session_t' has no member named 'my_confirm'
gmake[9]: *** [rlm_eap_pwd.lo] Error 1
gmake[8]: *** [rlm_eap_pwd] Error 2
gmake[7]: *** [all] Error 2
gmake[6]: *** [types] Error 2
gmake[5]: *** [rlm_eap] Error 2
gmake[4]: *** [all] Error 2
gmake[3]: *** [modules] Error 2
gmake[2]: *** [all] Error 2
gmake[1]: *** [src] Error 2
make: *** [all] Error 2
David
More information about the Freeradius-Users
mailing list