Hi, compiling the current git version on Centos 7 gives me: [CC] res_statsd.c -> res_statsd.o res_rtp_asterisk.c:2669:2: error: unknown field ‘on_valid_pair’ specified in initializer .on_valid_pair = ast_rtp_on_valid_pair, ^ res_rtp_asterisk.c:2669:2: warning: initialization from incompatible pointer type [enabled by default] res_rtp_asterisk.c:2669:2: warning: (near initialization for ‘ast_rtp_ice_sess_cb.on_ice_complete’) [enabled by default] [CC] res_format_attr_g729.c -> res_format_attr_g729.o Is this to be expected or should I make a bug report?
On Thu, Feb 27, 2020 at 10:51 AM hw <hw at gc-24.de> wrote:> Hi, > > compiling the current git version on Centos 7 gives me: > > > [CC] res_statsd.c -> res_statsd.o > res_rtp_asterisk.c:2669:2: error: unknown field ‘on_valid_pair’ specified > in initializer > .on_valid_pair = ast_rtp_on_valid_pair, > ^ > res_rtp_asterisk.c:2669:2: warning: initialization from incompatible > pointer type [enabled by default] > res_rtp_asterisk.c:2669:2: warning: (near initialization for > ‘ast_rtp_ice_sess_cb.on_ice_complete’) [enabled by default] > [CC] res_format_attr_g729.c -> res_format_attr_g729.o > > > Is this to be expected or should I make a bug report? >You should make a bug report[1], including which version of Asterisk (every version is in git) and whether you are used bundled or unbundled PJSIP. [1] https://issues.asterisk.org/jira -- Joshua C. Colp Asterisk Technical Lead Sangoma Technologies Check us out at www.sangoma.com and www.asterisk.org -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20200227/efbb96d9/attachment.html>
On Thu, Feb 27, 2020 at 8:51 AM hw <hw at gc-24.de> wrote:> Hi, > > compiling the current git version on Centos 7 gives me: > > > [CC] res_statsd.c -> res_statsd.o > res_rtp_asterisk.c:2669:2: error: unknown field ‘on_valid_pair’ specified > in initializer > .on_valid_pair = ast_rtp_on_valid_pair, > ^ > res_rtp_asterisk.c:2669:2: warning: initialization from incompatible > pointer type [enabled by default] > res_rtp_asterisk.c:2669:2: warning: (near initialization for > ‘ast_rtp_ice_sess_cb.on_ice_complete’) [enabled by default] > [CC] res_format_attr_g729.c -> res_format_attr_g729.o > > > Is this to be expected or should I make a bug report? > >When you pulled the lasted code this change would have forced a re-configure. If you haven't already try doing a full clean and rebuild, and see if you still have the error: $ make distclean $ ./configure [your options] $ make -- Kevin Harwell Software Developer Sangoma Technologies Check us out at: https://sangoma.com & https://asterisk.org -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20200227/9c37883b/attachment.html>
On Thursday, February 27, 2020 4:29:01 PM CET Kevin Harwell wrote:> On Thu, Feb 27, 2020 at 8:51 AM hw <hw at gc-24.de> wrote: > > Hi, > > > > compiling the current git version on Centos 7 gives me: > > [CC] res_statsd.c -> res_statsd.o > > > > res_rtp_asterisk.c:2669:2: error: unknown field ‘on_valid_pair’ specified > > in initializer > > > > .on_valid_pair = ast_rtp_on_valid_pair, > > ^ > > > > res_rtp_asterisk.c:2669:2: warning: initialization from incompatible > > pointer type [enabled by default] > > res_rtp_asterisk.c:2669:2: warning: (near initialization for > > ‘ast_rtp_ice_sess_cb.on_ice_complete’) [enabled by default] > > > > [CC] res_format_attr_g729.c -> res_format_attr_g729.o > > > > Is this to be expected or should I make a bug report? > > When you pulled the lasted code this change would have forced a > re-configure. If you haven't already try doing a full clean and rebuild, > and see if you still have the error: > > $ make distclean > $ ./configure [your options] > $ makeThanks, that worked :)