Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Not compilable with nginx 1.7.11 #4

Open
bitchecker opened this issue Mar 30, 2015 · 1 comment
Open

Not compilable with nginx 1.7.11 #4

bitchecker opened this issue Mar 30, 2015 · 1 comment

Comments

@bitchecker
Copy link

../anddos/anddos/ngx_http_anddos_module.c: In function 'ngx_http_anddos_request_handler':
../anddos/anddos/ngx_http_anddos_module.c:189:17: error: variable 'out' set but not used [-Werror = unused-but-set-variable]
      ngx_chain_t out;
                  ^
cc -c -O -pipe -Wall -W -Wpointer-arith -Wno-unused-parameter -Werror -g -I src / core -I src / event -I src / event / modules -I src / os / unix - The objs
         -o objs / ngx_modules.o
         objs / ngx_modules.c
cc1: all warnings being treated as errors
objs / Makefile: 1094: instruction set for the "objs / addon / anddos / ngx_http_anddos_module.o" failed
make [1]: *** [objs / addon / anddos / ngx_http_anddos_module.o] Error 1
make [1]: the output directory "/usr/src/nginx-1.7.11"
Makefile: 8: instruction set for the "build" failed
make: *** [build] Error 2

@ioactiverir
Copy link

lookup and disable CFLAGS where CFLAGS="$CFLAGS -Werror"

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

No branches or pull requests

2 participants