error: too many arguments to function 'ngx_time_update' #7

Closed
mrfelton opened this Issue Jan 6, 2012 · 5 comments

Projects

None yet

2 participants

@mrfelton

I'm not able to compile this into NginX 1.0.11:

/var/opt/agentzh-echo-nginx-module-03a2fd2//src/ngx_http_echo_timer.c: In function 'ngx_http_echo_timer_elapsed_variable':
/var/opt/agentzh-echo-nginx-module-03a2fd2//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
/var/opt/agentzh-echo-nginx-module-03a2fd2//src/ngx_http_echo_timer.c: In function 'ngx_http_echo_exec_echo_reset_timer':
/var/opt/agentzh-echo-nginx-module-03a2fd2//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
make[1]: *** [objs/addon/src/ngx_http_echo_timer.o] Error 1
make[1]: Leaving directory `/var/opt/nginx-1.0.11'

@agentzh
OpenResty member

It seems that you're using an old version of ngx_echo. Which version of ngx_echo are you using? Could you please try the latest version, v0.37rc7, here?

https://github.com/agentzh/echo-nginx-module/tags

Thanks!
-agentzh

@mrfelton

Hi,
This error was with the latest version. I've read the bug reports of people having this issue with older versions, and the fact that this was fixed in ngx_echo v0.33+. Thats why I posted this report - since the problem was with the most recent version of ngx_echo and NginX 1.0.11:

@agentzh
OpenResty member
@agentzh agentzh added a commit that referenced this issue Jan 8, 2012
@agentzh agentzh some users report that ngx_echo cannot be compiled with nginx 1.0.x o…
…n their systems (as in github issue #7). this is a blind attemp to fix it because i could not reproduce it on my side.
30073a7
@agentzh
OpenResty member
@agentzh
OpenResty member

Any updates on this issue on your side?

@agentzh agentzh closed this Oct 12, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment