[asterisk-bugs] [JIRA] (ASTERISK-29914) 16.24.0, 18.10.0 failed to compile

tootai (JIRA) noreply at issues.asterisk.org
Sat Feb 12 10:35:06 CST 2022


    [ https://issues.asterisk.org/jira/browse/ASTERISK-29914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=258077#comment-258077 ] 

tootai commented on ASTERISK-29914:
-----------------------------------

I installed both versions from tarball and it's OK, Asterisk compiled and running. FYI Asterisk 18 was also updated with patch since version 18.4

> 16.24.0, 18.10.0 failed to compile
> ----------------------------------
>
>                 Key: ASTERISK-29914
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29914
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: pjproject/pjsip
>    Affects Versions: 16.23.0
>         Environment: Debian11 64bits, all previous 16.x versions compiling without problem
>            Reporter: tootai
>            Assignee: Unassigned
>
> Copy asterisk-16.23.0 directory sources in asterisk-16.24.0 directory and apply 16.24.0-patch
> When compiling after make clean && configure && make menuselect I do make and get:
> {noformat}
> res_pjsip/pjsip_message_filter.c: In function ‘filter_on_tx_message’:
> res_pjsip/pjsip_message_filter.c:233:2: error: unknown type name ‘pjsip_sdp_info’; did you mean ‘pjsip_regc_info’?
>   233 |  pjsip_sdp_info *sdp_info;
>       |  ^~~~~~~~~~~~~~
>       |  pjsip_regc_info
> res_pjsip/pjsip_message_filter.c:339:13: warning: implicit declaration of function ‘pjsip_get_sdp_info’; did you mean ‘pjsip_get_dest_info’? [-Wimplicit-function-declaration]
>   339 |  sdp_info = pjsip_get_sdp_info(tdata->pool, tdata->msg->body, NULL, &pjsip_media_type_application_sdp);
>       |             ^~~~~~~~~~~~~~~~~~
>       |             pjsip_get_dest_info
> res_pjsip/pjsip_message_filter.c:339:11: warning: assignment to ‘int *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
>   339 |  sdp_info = pjsip_get_sdp_info(tdata->pool, tdata->msg->body, NULL, &pjsip_media_type_application_sdp);
>       |           ^
> res_pjsip/pjsip_message_filter.c:340:14: error: request for member ‘sdp_err’ in something not a structure or union
>   340 |  if (sdp_info->sdp_err != PJ_SUCCESS || !sdp_info->sdp) {
>       |              ^~
> res_pjsip/pjsip_message_filter.c:340:50: error: request for member ‘sdp’ in something not a structure or union
>   340 |  if (sdp_info->sdp_err != PJ_SUCCESS || !sdp_info->sdp) {
>       |                                                  ^~
> res_pjsip/pjsip_message_filter.c:344:16: error: request for member ‘sdp’ in something not a structure or union
>   344 |  sdp = sdp_info->sdp;
>       |                ^~
> make[1]: *** [/usr/src/asterisk-16.24.0/Makefile.rules:165 : res_pjsip/pjsip_message_filter.o] Erreur 1
> make: *** [Makefile:388 : res] Erreur 2
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list