[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:31:06 CST 2022
[ https://issues.asterisk.org/jira/browse/ASTERISK-29914?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=258076#comment-258076 ]
Sean Bright commented on ASTERISK-29914:
----------------------------------------
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.4.0.tar.gz | tar xzf -
$ cd asterisk-16.4.0/
$ versions="\
16.4.1 \
16.5.0 16.5.1 \
16.6.0 16.6.1 16.6.2 \
16.7.0 \
16.8.0 \
16.9.0 \
16.10.0 \
16.11.0 16.11.1 \
16.12.0 \
16.13.0 \
16.14.0 16.14.1 \
16.15.0 16.15.1 \
16.16.0 16.16.1 16.16.2 \
16.17.0 \
16.18.0 \
16.19.0 16.19.1 \
16.20.0 \
16.21.0 16.21.1 \
16.22.0 \
16.23.0 \
16.24.0"
$ for ver in $versions; do wget -O - https://${oreleases}/asterisk-$ver-patch.tar.gz | tar xzfO - asterisk-$ver-patch | patch -p1; done
$ ./configure ; make -k -j 8
{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: 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