[asterisk-users] error compiling current git
hw
hw at gc-24.de
Fri Feb 28 09:23:34 CST 2020
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]
> $ make
Thanks, that worked :)
More information about the asterisk-users
mailing list