Error Compiling Current Git
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?
—
3 thoughts on - Error Compiling Current Git
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
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 🙂
—