[asterisk-dev] 【res_pjsip_registrar.c: Error】
Noriyuki Hayashi
nhayashi at wats.gr.jp
Wed Dec 9 03:48:14 CST 2020
Dear Sirs,
I tried rpmbuild Asterisk-13.37.1 with CentOS7.9 x86_64 environment.
It has error as below.
res_pjsip_registrar.c: In function 'find_registrar_aor':
res_pjsip_registrar.c:1054:5: error: implicit declaration of function 'pj_strcspn2' [-Werror=implicit-function-declaration]
pj_ssize_t semi = pj_strcspn2(&username, ";");
^
cc1: some warnings being treated as errors
make[1]: *** [res_pjsip_registrar.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [res] Error 2
Let me know ,If someone knows.
Asterisk-13.21.0 is No problem.
Thank you for youe help.
Noriyuki.Hayashi
More information about the asterisk-dev
mailing list