编译nginx1.7.5时出现报错
打算建一个nginx-rtmp服务器
各位求解答
make -f objs/Makefile
make[1]: 进入目录“/root/Rtmp/nginx-1.7.5”
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused -Werror -g -I../nginx-rtmp-module-master -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/ngx_murmurhash.o \
src/core/ngx_murmurhash.c
src/core/ngx_murmurhash.c: In function ‘ngx_murmur_hash2’:
src/core/ngx_murmurhash.c:37:11: error: this statement may fall through [-Werror=implicit-fallthrough=]
37 | h ^= data[2] << 16;
| ~~^~~~~~~~~~~~~~~~
src/core/ngx_murmurhash.c:38:5: note: here
38 | case 2:
| ^~~~
src/core/ngx_murmurhash.c:39:11: error: this statement may fall through [-Werror=implicit-fallthrough=]
39 | h ^= data[1] << 8;
| ~~^~~~~~~~~~~~~~~
src/core/ngx_murmurhash.c:40:5: note: here
40 | case 1:
| ^~~~
cc1: all warnings being treated as errors
make[1]: *** [objs/Makefile:516:objs/src/core/ngx_murmurhash.o] 错误 1
make[1]: 离开目录“/root/Rtmp/nginx-1.7.5”
make: *** [Makefile:8:build] 错误 2
我可以教你安装这个服务器