Forum: NGINX Compilation failed on version >= 0.7.38 with ngx_http_upstream_hash_module

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
B070efe6b9226cbaf5f2ec06d2d3451c?d=identicon&s=25 Chavelle Vincent (vchav)
on 2009-03-18 12:37
(Received via mailing list)
make[1]: Entering directory `/usr/local/src/nginx-0.7.42'
gcc -c -O -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter
-Wno-unused-function -Wunused-variable -Wunused-value -Werror -g   -I
src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I
src/http -I src/http/modules -I src/mail \
                -o
objs/addon/nginx_upstream_hash-0.3/ngx_http_upstream_hash_module.o \
                ../nginx_upstream_hash-0.3/ngx_http_upstream_hash_module.c
../nginx_upstream_hash-0.3/ngx_http_upstream_hash_module.c: In
function ‘ngx_http_upstream_init_hash_peer’:
../nginx_upstream_hash-0.3/ngx_http_upstream_hash_module.c:155: error:
‘ngx_http_upstream_srv_conf_t’ has no member named ‘lengths’
../nginx_upstream_hash-0.3/ngx_http_upstream_hash_module.c:155: error:
‘ngx_http_upstream_srv_conf_t’ has no member named ‘values’
../nginx_upstream_hash-0.3/ngx_http_upstream_hash_module.c:173: error:
‘ngx_http_upstream_srv_conf_t’ has no member named ‘retries’
../nginx_upstream_hash-0.3/ngx_http_upstream_hash_module.c: In
function ‘ngx_http_upstream_hash’:
../nginx_upstream_hash-0.3/ngx_http_upstream_hash_module.c:291: error:
‘ngx_http_upstream_srv_conf_t’ has no member named ‘values’
../nginx_upstream_hash-0.3/ngx_http_upstream_hash_module.c:292: error:
‘ngx_http_upstream_srv_conf_t’ has no member named ‘lengths’
../nginx_upstream_hash-0.3/ngx_http_upstream_hash_module.c: In
function ‘ngx_http_upstream_hash_again’:
../nginx_upstream_hash-0.3/ngx_http_upstream_hash_module.c:315: error:
‘ngx_http_upstream_srv_conf_t’ has no member named ‘retries’
make[1]: ***
[objs/addon/nginx_upstream_hash-0.3/ngx_http_upstream_hash_module.o]
Error 1
make[1]: Leaving directory `/usr/local/src/nginx-0.7.42'
make: *** [build] Error 2

Thanks

Vincent Chavelle
B070efe6b9226cbaf5f2ec06d2d3451c?d=identicon&s=25 Chavelle Vincent (vchav)
on 2009-03-18 12:50
(Received via mailing list)
Sorry for that post, I simply omit the attached patch...

Vincent Chavelle



On Wed, Mar 18, 2009 at 12:26 PM, Vincent Chavelle
This topic is locked and can not be replied to.