Compilation failed on version >= 0.7.38 with ngx_http_upstream_hash_module

Vincent Chavelle vincent.chavelle at gmail.com
Wed Mar 18 14:43:11 MSK 2009


Sorry for that post, I simply omit the attached patch...

Vincent Chavelle



On Wed, Mar 18, 2009 at 12:26 PM, Vincent Chavelle
<vincent.chavelle at gmail.com> wrote:
> 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
>





More information about the nginx mailing list