hi
i am trying to compile asterisk 13.22.0 from source and i got below error
[CC] res_pjsip/config_transport.c -> res_pjsip/config_transport.o
res_pjsip/config_transport.c: In function ‘cipher_name_to_id’:
res_pjsip/config_transport.c:982:24: error: ‘PJ_SSL_SOCK_MAX_CIPHERS’ undeclared (first use in this function)
pj_ssl_cipher ciphers[PJ_SSL_SOCK_MAX_CIPHERS];
^
res_pjsip/config_transport.c:982:24: note: each undeclared identifier is reported only once for each function it appears in
res_pjsip/config_transport.c:982:16: warning: unused variable ‘ciphers’ [-Wunused-variable]
pj_ssl_cipher ciphers[PJ_SSL_SOCK_MAX_CIPHERS];
^
res_pjsip/config_transport.c: In function ‘handle_pjsip_list_ciphers’:
res_pjsip/config_transport.c:1106:24: error: ‘PJ_SSL_SOCK_MAX_CIPHERS’ undeclared (first use in this function)
pj_ssl_cipher ciphers[PJ_SSL_SOCK_MAX_CIPHERS];
^
res_pjsip/config_transport.c:1106:16: warning: unused variable ‘ciphers’ [-Wunused-variable]
pj_ssl_cipher ciphers[PJ_SSL_SOCK_MAX_CIPHERS];
^
/usr/src/asterisk-13.22.0/Makefile.rules:149: recipe for target ‘res_pjsip/config_transport.o’ failed
make[1]: *** [res_pjsip/config_transport.o] Error 1
Makefile:387: recipe for target ‘res’ failed
make: *** [res] Error 2