zhangjingli35 / nginx-upstream-jvm-route

Automatically exported from code.google.com/p/nginx-upstream-jvm-route
0 stars 0 forks source link

error: ângx_http_upstream_server_tâ has no member named âsrun_idâ #12

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
/opt/nginx-1.2.2/nginx_upstream_jvm_route/ngx_http_upstream_jvm_route_module.c: 
In function ângx_http_upstream_init_jvm_route_rrâ:
/opt/nginx-1.2.2/nginx_upstream_jvm_route/ngx_http_upstream_jvm_route_module.c:3
64: error: ângx_http_upstream_server_tâ has no member named âsrun_idâ
/opt/nginx-1.2.2/nginx_upstream_jvm_route/ngx_http_upstream_jvm_route_module.c:3
66: error: ângx_http_upstream_server_tâ has no member named âmax_busyâ
/opt/nginx-1.2.2/nginx_upstream_jvm_route/ngx_http_upstream_jvm_route_module.c:4
18: error: ângx_http_upstream_server_tâ has no member named âsrun_idâ
/opt/nginx-1.2.2/nginx_upstream_jvm_route/ngx_http_upstream_jvm_route_module.c:4
20: error: ângx_http_upstream_server_tâ has no member named âmax_busyâ
/opt/nginx-1.2.2/nginx_upstream_jvm_route/ngx_http_upstream_jvm_route_module.c: 
In function ângx_http_upstream_jvm_routeâ:
/opt/nginx-1.2.2/nginx_upstream_jvm_route/ngx_http_upstream_jvm_route_module.c:1
207: error: âNGX_HTTP_UPSTREAM_SRUN_IDâ undeclared (first use in this 
function)
/opt/nginx-1.2.2/nginx_upstream_jvm_route/ngx_http_upstream_jvm_route_module.c:1
207: error: (Each undeclared identifier is reported only once
/opt/nginx-1.2.2/nginx_upstream_jvm_route/ngx_http_upstream_jvm_route_module.c:1
207: error: for each function it appears in.)
make[1]: *** 
[objs/addon/nginx_upstream_jvm_route/ngx_http_upstream_jvm_route_module.o] 
Error 1
make[1]: Leaving directory `/opt/nginx-1.2.2'
make: *** [build] Error 2

--

What should be done in this case ? Switch to the older Nginx ?

Original issue reported on code.google.com by outkas...@gmail.com on 6 Aug 2012 at 11:40

GoogleCodeExporter commented 8 years ago
Hi, have you added the patch for this module? See the README:

cd nginx-1.2.2 # or whatever
patch -p0 < /path/to/this/directory/jvm_route.patch

Original comment by yaoweibin@gmail.com on 6 Aug 2012 at 2:23