i compiled today sr from master and got warning:
CC (cc) [M kex.so] core_stats.o core_stats.c: In function ‘mi_reset_and_add_stat’: core_stats.c:342: warning: implicit declaration of function ‘get_stat_val_long’
-- juha
Juha Heinanen writes:
i compiled today sr from master and got warning:
CC (cc) [M kex.so] core_stats.o core_stats.c: In function ‘mi_reset_and_add_stat’: core_stats.c:342: warning: implicit declaration of function ‘get_stat_val_long’
it was not just a compiler warning:
Not starting trunk-proxy: invalid configuration file!
0(1941) ERROR: <core> [sr_module.c:523]: ERROR: load_module: could not open module </usr/lib/trunk-proxy/modules_k/kex.so>: /usr/lib/trunk-proxy/modules_k/kex.so: undefined symbol: get_stat_val_long
-- juha
i renamed get_stat_val_long call to get_stat_val in order to get a version of sr that starts up. because of a copy/paste accident, a non-ascii char went into the commit message and i guess because of that reason, email of the commit didn't show up.
-- juha
On 4/27/11 9:22 AM, Juha Heinanen wrote:
i renamed get_stat_val_long call to get_stat_val
thanks! It is the correct fix. The issue was introduced by me in the last commit, where I forgot to rename the function in the patch applied.
Cheers, Daniel
in order to get a version of sr that starts up. because of a copy/paste accident, a non-ascii char went into the commit message and i guess because of that reason, email of the commit didn't show up.
-- juha
sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev