make[1]: *** [objs/Makefile:445: objs/src/core/ngx_murmurhash.o] Error

created at 09-02-2021 views: 3

error descritpion

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

solution

Find the corresponding Makefile file (mine is in /nginx/objs/Makefile), remove -Werror in the gcc parameter and re-make

find Makefile

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.

Please log in to leave a comment.