[CC] res_rtp_multicast.c -> res_rtp_multicast.o
[LD] res_rtp_multicast.o -> res_rtp_multicast.so
[CC] res_pjsip_authenticator_digest.c -> res_pjsip_authenticator_digest.o
In file included from /usr/src/asterisk/include/asterisk/lock.h:63:0,
from /usr/src/asterisk/include/asterisk/vector.h:22,
from /usr/src/asterisk/include/asterisk/stringfields.h:178,
from /usr/src/asterisk/include/asterisk/res_pjsip.h:30,
from res_pjsip_authenticator_digest.c:23:
res_pjsip_authenticator_digest.c: In function ‘verify’:
res_pjsip_authenticator_digest.c:471:38: error: expected expression before ‘pj_status_t’
authed = SCOPE_CALL_WITH_RESULT(-1, pj_status_t, pjsip_auth_srv_verify, &auth_server, rdata, &response_code);
^
/usr/src/asterisk/include/asterisk/logger.h:1018:2: note: in definition of macro ‘SCOPE_CALL_WITH_RESULT’
__var = __funcname(__VA_ARGS__)
^~~~~
res_pjsip_authenticator_digest.c:442:6: warning: unused variable ‘response_code’ [-Wunused-variable]
int response_code;
^~~~~~~~~~~~~
res_pjsip_authenticator_digest.c: In function ‘digest_check_auth’:
res_pjsip_authenticator_digest.c:636:4: error: expected ‘;’ before ‘verify_res’
verify_res[idx] = AUTH_NOAUTH;
^~~~~~~~~~
In file included from /usr/src/asterisk/include/asterisk/lock.h:63:0,
from /usr/src/asterisk/include/asterisk/vector.h:22,
from /usr/src/asterisk/include/asterisk/stringfields.h:178,
from /usr/src/asterisk/include/asterisk/res_pjsip.h:30,
from res_pjsip_authenticator_digest.c:23:
res_pjsip_authenticator_digest.c:638:49: error: expected expression before ‘int’
verify_res[idx] = SCOPE_CALL_WITH_RESULT(-1, int, verify, endpoint_id, auth, rdata, tdata->pool);
^
/usr/src/asterisk/include/asterisk/logger.h:1018:2: note: in definition of macro ‘SCOPE_CALL_WITH_RESULT’
__var = __funcname(__VA_ARGS__)
^~~~~
At top level:
res_pjsip_authenticator_digest.c:435:12: warning: ‘verify’ defined but not used [-Wunused-function]
static int verify(const char *endpoint_id, const struct ast_sip_auth *auth,
^~~~~~
/usr/src/asterisk/Makefile.rules:164: recipe for target 'res_pjsip_authenticator_digest.o' failed
make[1]: *** [res_pjsip_authenticator_digest.o] Error 1
Makefile:396: recipe for target 'res' failed
make: *** [res] Error 2
Already an issue filed:
With a fix in progress:
Good. Thanks.