Report an error after executing make
make[1]: *** [objs/Makefile:445: objs/src/core/ngx_murmurhash.o] Error 1
make[1]: Leaving directory '/app/nginx-1.9.9'
make: *** [Makefile:8: build] Error 2
Find the corresponding Makefile file (mine is in /nginx/objs/Makefile
), remove -Werror
in the gcc
parameter and re-make
error reason
wrong reason
After checking the meaning of -Werrori
, it turns out that it requires GCC to treat all warnings as errors, which leads to error output and cannot proceed to the next step.