[asterisk-dev] 【res_pjsip_registrar.c: Error】
Joshua C. Colp
jcolp at sangoma.com
Wed Dec 9 03:50:13 CST 2020
On Wed, Dec 9, 2020 at 5:48 AM Noriyuki Hayashi <nhayashi at wats.gr.jp> wrote:
> 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.
>
Are you using bundled PJSIP? If not, what version of PJSIP? As well
Asterisk 13 is no longer receiving bug fixes, so it would not be updated if
this is a bug.
--
Joshua C. Colp
Asterisk Technical Lead
Sangoma Technologies
Check us out at www.sangoma.com and www.asterisk.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20201209/d537df70/attachment.html>
More information about the asterisk-dev
mailing list