-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Make errors nginx-1.2.1 #7
Comments
Thanks for the report. |
Unfortunately no. Now I have another error on nginx-1.2.1 gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-function -Wunused-variable -Wunused-value -Werror -g -I/root/nginx/rtmp/nginx-rtmp-module -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 And following on nginx-1.0.15: gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-function -Wunused-variable -Wunused-value -Werror -g -I/root/nginx/rtmp/nginx-rtmp-module -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 |
I cannot compile project on any nginx version. On 1.1.14 (I've found that nginx-rtmp-module is compiled successfully) I have following output:
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-function -Wunused-variable -Wunused-value -Werror -g -I/root/nginx/rtmp/nginx-rtmp-module -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-rtmp-module/ngx_rtmp_handler.o
/root/nginx/rtmp/nginx-rtmp-module/ngx_rtmp_handler.c
/root/nginx/rtmp/nginx-rtmp-module/ngx_rtmp_handler.c: In function 'ngx_rtmp_cycle':
/root/nginx/rtmp/nginx-rtmp-module/ngx_rtmp_handler.c:82:33: error: variable 'cscf' set but not used [-Werror=unused-but-set-variable]
/root/nginx/rtmp/nginx-rtmp-module/ngx_rtmp_handler.c: In function 'ngx_rtmp_receive_message':
/root/nginx/rtmp/nginx-rtmp-module/ngx_rtmp_handler.c:739:33: error: variable 'c' set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
make[1]: *** [objs/addon/nginx-rtmp-module/ngx_rtmp_handler.o] Error 1
make[1]: Leaving directory `/root/nginx/nginx-1.1.14/release-1.1.14'
make: *** [build] Error 2
On 1.2.1 (now stable) I have same output.
System: Ubuntu 12.04 amd64.
How can I solve this problem?
The text was updated successfully, but these errors were encountered: