[asterisk-users] error compiling current git

Kevin Harwell kharwell at digium.com
Thu Feb 27 09:29:01 CST 2020


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>


More information about the asterisk-users mailing list