cd nginx-1.15.2
./configure --with-http_ssl_module --add-module=../nginx-rtmp-module
make
But when I do the make it gives me this error:
../nginx-rtmp-module/ngx_rtmp_eval.c: In function ‘ngx_rtmp_eval’:
../nginx-rtmp-module/ngx_rtmp_eval.c:160:17: error: this statement may fall through [-Werror=implicit-fallthrough=]
160 | switch (c) {
| ^~
../nginx-rtmp-module/ngx_rtmp_eval.c:170:13: note: here
170 | case ESCAPE:
| ^~~~
cc1: all warnings being treated as errors
make[1]: [objs/Makefile:1349: objs/addon/nginx-rtmp-module/ngx_rtmp_eval.o] Error 1
make[1]: se sale del directorio '/home/adminvitoria/nginx-1.15.2'
make: [Makefile:8: build] Error 2
hello my name is carlos, I am trying to install the nginx-rtmp-module
Install required packages
sudo apt-get install build-essential libpcre3-dev libssl-dev zlib1g-dev
Download NGINX source http://nginx.org/download/
wget http://nginx.org/download/nginx-1.15.2.tar.gz tar -zxvf nginx-1.15.2.tar.gz
Download NGINX RTMP module source https://github.com/arut/nginx-rtmp-module
git clone https://github.com/arut/nginx-rtmp-module.git Compile NGINX with the RTMP module
cd nginx-1.15.2 ./configure --with-http_ssl_module --add-module=../nginx-rtmp-module make
But when I do the make it gives me this error:
../nginx-rtmp-module/ngx_rtmp_eval.c: In function ‘ngx_rtmp_eval’: ../nginx-rtmp-module/ngx_rtmp_eval.c:160:17: error: this statement may fall through [-Werror=implicit-fallthrough=] 160 | switch (c) { | ^
~../nginx-rtmp-module/ngx_rtmp_eval.c:170:13: note: here 170 | case ESCAPE: | ^~~~ cc1: all warnings being treated as errors make[1]: [objs/Makefile:1349: objs/addon/nginx-rtmp-module/ngx_rtmp_eval.o] Error 1 make[1]: se sale del directorio '/home/adminvitoria/nginx-1.15.2' make: [Makefile:8: build] Error 2any can help me please!!!!!!