error: too many arguments to function 'ngx_time_update'
agentzh
agentzh at gmail.com
Tue Nov 8 08:33:51 UTC 2011
On Tue, Nov 8, 2011 at 4:53 AM, Mark Alan <varia at e-healthexpert.org> wrote:
> /tmp/buildd/nginx-1.1.7/debian/modules/nginx-echo/src/ngx_http_echo_timer.c:
> In function
> 'ngx_http_echo_timer_elapsed_variable':
>
> /tmp/buildd/nginx-1.1.7/debian/modules/nginx-echo/src/ngx_http_echo_timer.c:32:5: error: too many arguments to function 'ngx_time_update'
> src/core/ngx_times.h:23:6: note: declared here
>
> /tmp/buildd/nginx-1.1.7/debian/modules/nginx-echo/src/ngx_http_echo_timer.c:
> In function
> 'ngx_http_echo_exec_echo_reset_timer':
>
> /tmp/buildd/nginx-1.1.7/debian/modules/nginx-echo/src/ngx_http_echo_timer.c:70:5: error: too many arguments to function 'ngx_time_update'
> src/core/ngx_times.h:23:6: note: declared here
>
There was an incompatible API change in 0.7.66 that the
ngx_time_update macro then takes a different number of arguments. This
issue was already fixed in ngx_echo v0.33+, see
http://wiki.nginx.org/HttpEchoModule#v0.33
I suggest you upgrade your ngx_echo module to the latest v0.37rc7
release, which can be downloaded here:
https://github.com/agentzh/echo-nginx-module/tags
Regards,
-agentzh
More information about the nginx
mailing list