Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module compile fails under Nginx-1.3.9 #6

Closed
jweisner opened this issue Dec 18, 2012 · 2 comments
Closed

Module compile fails under Nginx-1.3.9 #6

jweisner opened this issue Dec 18, 2012 · 2 comments

Comments

@jweisner
Copy link

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
Copy link
Owner

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
#6.

Thanks
-YWB

@jweisner
Copy link
Author

Doh! That's embarrassing. Sorry about that!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants