[asterisk-bugs] [JIRA] (ASTERISK-29914) 16.24.0 failed to compile
tootai (JIRA)
noreply at issues.asterisk.org
Sat Feb 12 06:44:06 CST 2022
tootai created ASTERISK-29914:
---------------------------------
Summary: 16.24.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
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