[asterisk-bugs] [JIRA] (ASTERISK-29914) 16.24.0, 18.10.0 failed to compile
Sean Bright (JIRA)
noreply at issues.asterisk.org
Sat Feb 12 10:00:06 CST 2022
[ https://issues.asterisk.org/jira/browse/ASTERISK-29914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=258073#comment-258073 ]
Sean Bright edited comment on ASTERISK-29914 at 2/12/22 9:58 AM:
-----------------------------------------------------------------
No issue for me on Ubuntu 21.10 with the following commands:
{noformat}
$ oreleases=downloads.asterisk.org/pub/telephony/asterisk/old-releases
$ wget -O - https://${oreleases}/asterisk-16.23.0.tar.gz | tar xzf -
$ cd asterisk-16.23.0/
$ wget -O - https://${oreleases}/asterisk-16.24.0-patch.tar.gz | tar xzfO - asterisk-16.24.0-patch | patch -p1
$ ./configure && make
{noformat}
was (Author: seanbright):
No issue for me on Ubuntu 21.10 with the following commands:
{noformat}
$ oreleases=downloads.asterisk.org/pub/telephony/asterisk/old-releases
$ wget -O - https://${oreleases}/asterisk-16.23.0.tar.gz | tar xzf -
$ cd asterisk-16.23.0/
$ wget -O - https://${oreleases}/asterisk-16.24.0-patch.tar.gz | tar xzfO - | patch -p1
$ ./configure && make
{noformat}
> 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: tootai
>
> 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