Dear Joshua, Thank you for your great hint and advice.
I rebuild rpm and upgaraded as follows. pjproject-2.3-6.el7.x86_64 pjproject-devel-2.3-6.el7.x86_64 pjproject-devel-2.6.0-1.cs7.x86_64 pjproject-2.6.0-1.cs7.x86_64 libsrtp-1.4.4-11.20101004cvs.el7.x86_64.rpm libsrtp-devel-1.4.4-11.20101004cvs.el7.x86_64.rpm libsrtp-2.3.0-3.cs7.x86_64.rpm libsrtp-devel-2.3.0-3.cs7.x86_64.rpm BTW, I built rpm Asterisk-13.37.1 and asterisk-13.18.0 as forked version. But I will need to check pjproject-devel-2.6.0-1.cs7.x86_64 conflicts with file from package libresample-devel-0.1.3-33.el7.x86_64 pjproject-devel-2.6.0-1.cs7.x86_64 conflicts with file from package speex-devel-1.2-0.19.rc1.el7.x86_64 on next. I am appriciated very much for your advice. Kind regards, Noriyuki.Hayashi On Wed, 9 Dec 2020 05:50:13 -0400 "Joshua C. Colp" <jc...@sangoma.com> wrote: > On Wed, Dec 9, 2020 at 5:48 AM Noriyuki Hayashi <nhaya...@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 /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ Telecommunications Association License No. A-18-9191 Government Resell License No. 301039703002 WATS CO.,LTD. Kawana Bldg, 5F Kamata Ota-ku Tokyo, 144-0052 JAPAN Phone 81-50-5830-5940 Ext&Mobile:201 VoiceMailDirect:201*1 FAX 81-50-5830-5941 http://wats.gr.jp Mail: wats @ wats.gr.jp Please remove the space between @ as double side Key fingerprint = B53D FF2F BFEA FDA8 1439 38AA 8281 9A3E C9B6 2FC9 /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-dev mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev