yaoweibin / nginx_ajp_module

support AJP protocol proxy with Nginx
http://github.com/yaoweibin/nginx_ajp_module
246 stars 60 forks source link

Module compile fails under Nginx-1.3.9 #6

Closed jweisner closed 11 years ago

jweisner commented 11 years ago
gcc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g   -I src/core -I src/event -I src/event/modules -I src/os/unix -I ./nginx_ajp_module/modules -I ./nginx_ajp_module -I objs -I src/http -I src/http/modules -I src/http/modules/perl -I src/mail \
        -o objs/addon/nginx_ajp_module/ngx_http_ajp_handler.o \
        ./nginx_ajp_module/ngx_http_ajp_handler.c
./nginx_ajp_module/ngx_http_ajp_handler.c: In function ‘ngx_http_ajp_handler’:
./nginx_ajp_module/ngx_http_ajp_handler.c:105: error: ‘ngx_event_pipe_t’ has no member named ‘keepalive’
./nginx_ajp_module/ngx_http_ajp_handler.c: In function ‘ngx_http_ajp_end_response’:
./nginx_ajp_module/ngx_http_ajp_handler.c:1024: error: ‘ngx_event_pipe_t’ has no member named ‘keepalive’
make[1]: *** [objs/addon/nginx_ajp_module/ngx_http_ajp_handler.o] Error 1
yaoweibin commented 11 years ago

Have you added the patch?

cd nginx-1.3.9 patch -p1 < /path/to/nginx_ajp_module/ajp.patch

See the README for detail.

On 2012/12/18 14:34, Jesse Weisner wrote:

gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I ./nginx_ajp_module/modules -I ./nginx_ajp_module -I objs -I src/http -I src/http/modules -I src/http/modules/perl -I src/mail \ -o objs/addon/nginx_ajp_module/ngx_http_ajp_handler.o \ ./nginx_ajp_module/ngx_http_ajp_handler.c ./nginx_ajp_module/ngx_http_ajp_handler.c: In function ‘ngx_http_ajp_handler’: ./nginx_ajp_module/ngx_http_ajp_handler.c:105: error: ‘ngx_event_pipe_t’ has no member named ‘keepalive’ ./nginx_ajp_module/ngx_http_ajp_handler.c: In function ‘ngx_http_ajp_end_response’: ./nginx_ajp_module/ngx_http_ajp_handler.c:1024: error: ‘ngx_event_pipe_t’ has no member named ‘keepalive’ make[1]: *\ [objs/addon/nginx_ajp_module/ngx_http_ajp_handler.o] Error 1

— Reply to this email directly or view it on GitHub https://github.com/yaoweibin/nginx_ajp_module/issues/6.

Thanks -YWB

jweisner commented 11 years ago

Doh! That's embarrassing. Sorry about that!