[asterisk-bugs] [JIRA] (ASTERISK-29914) 16.24.0, 18.10.0 failed to compile
Joshua C. Colp (JIRA)
noreply at issues.asterisk.org
Sat Feb 12 09:47:07 CST 2022
[ https://issues.asterisk.org/jira/browse/ASTERISK-29914?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joshua C. Colp updated ASTERISK-29914:
--------------------------------------
Assignee: tootai
Status: Waiting for Feedback (was: Triage)
If you use the full 16.24.0 tarball does it work? Are you using bundled PJSIP? Is there a reason you use the patch file (we are considering getting rid of them).
> 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:
> 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
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list