Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

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

Closed
mrfelton opened this Issue · 5 comments

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
Owner

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
Owner
@agentzh agentzh referenced this issue from a commit
@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
Owner
@agentzh
Owner

Any updates on this issue on your side?

@agentzh agentzh closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.