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

Compiling nginx with nginx_http_push_module #15

Closed
jnstq opened this issue Oct 25, 2009 · 2 comments
Closed

Compiling nginx with nginx_http_push_module #15

jnstq opened this issue Oct 25, 2009 · 2 comments
Labels

Comments

@jnstq
Copy link

jnstq commented Oct 25, 2009

I have tried compile nginx (all 3 versions) but I get message as follow, this is with version 0.8.20 and 0.7.20. What am I doing wrong? I'm using Ubuntu 8.04 LTS Server

cc1: warnings being treated as errors

/home/deploy/src/nginx_http_push_module/src/ngx_http_push_module.c: In function ‘ngx_http_push_respond_to_subscribers’:
/home/deploy/src/nginx_http_push_module/src/ngx_http_push_module.c:719: warning: ‘cur’ is used uninitialized in this function
make[1]: *** [objs/addon/src/ngx_http_push_module.o] Error 1
make[1]: Leaving directory `/home/deploy/src/nginx-0.8.20'
make: *** [build] Error 2

@slact
Copy link
Owner

slact commented Oct 25, 2009

You're doing nothing wrong, this is a bug. What's strange is that gcc didn't issue this warning for me.

@jnstq
Copy link
Author

jnstq commented Oct 25, 2009

Thanks to a comment on http://www.igvita.com/2009/10/21/nginx-comet-low-latency-server-push/ i removed -Werror from the nginx/objs/Makefile. I'm looking forward to test this module. I have a perfect case for it ;) How many connected clients can I have on a normal-server running nginx?

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

No branches or pull requests

2 participants