Source: asterisk Version: 1:16.2.1~dfsg-1 Severity: important Tags: patch
when try to build the chan_vpb module i got taht error: chan_vpb.cc:427:1: error: uninitialized const member 'ast_channel_tech::send_text_data' … quite xtrange … why? a attached patch its provided from upstream bug https://issues.asterisk.org/jira/browse/ASTERISK-28409 with solution from communitity here: https://community.asterisk.org/t/build-problems-asterisk-16/79593/2 Description: ASTERISK-28409 compiler dont like non-init vars struct Author: PICCORO Lenz McKAY <mckaygerh...@gmail.com> --- Origin: https://community.asterisk.org/t/build-problems-asterisk-16/79593/3 Bug: https://issues.asterisk.org/jira/browse/ASTERISK-28409 Bug-Debian: Forwarded: yes --- asterisk-16.2.1~dfsg.orig/channels/chan_vpb.cc +++ asterisk-16.2.1~dfsg/channels/chan_vpb.cc @@ -390,6 +390,10 @@ static struct ast_channel_tech vpb_tech .write_text = NULL, .func_channel_read = NULL, .func_channel_write = NULL, + .get_pvt_uniqueid = NULL, + .cc_callback = NULL, + .pre_call = NULL, + .send_text_data = NULL, }; static struct ast_channel_tech vpb_tech_indicate = { @@ -424,6 +428,10 @@ static struct ast_channel_tech vpb_tech_ .write_text = NULL, .func_channel_read = NULL, .func_channel_write = NULL, + .get_pvt_uniqueid = NULL, + .cc_callback = NULL, + .pre_call = NULL, + .send_text_data = NULL, }; #if defined(VPB_NATIVE_BRIDGING) Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com
Description: ASTERISK-28409 compiler dont like non-init vars struct Author: PICCORO Lenz McKAY <mckaygerh...@gmail.com> --- Origin: https://community.asterisk.org/t/build-problems-asterisk-16/79593/3 Bug: https://issues.asterisk.org/jira/browse/ASTERISK-28409 Bug-Debian: Forwarded: yes --- asterisk-16.2.1~dfsg.orig/channels/chan_vpb.cc +++ asterisk-16.2.1~dfsg/channels/chan_vpb.cc @@ -390,6 +390,10 @@ static struct ast_channel_tech vpb_tech .write_text = NULL, .func_channel_read = NULL, .func_channel_write = NULL, + .get_pvt_uniqueid = NULL, + .cc_callback = NULL, + .pre_call = NULL, + .send_text_data = NULL, }; static struct ast_channel_tech vpb_tech_indicate = { @@ -424,6 +428,10 @@ static struct ast_channel_tech vpb_tech_ .write_text = NULL, .func_channel_read = NULL, .func_channel_write = NULL, + .get_pvt_uniqueid = NULL, + .cc_callback = NULL, + .pre_call = NULL, + .send_text_data = NULL, }; #if defined(VPB_NATIVE_BRIDGING)