Nginx-rtmp-module: install problem

Created on 17 Mar 2020  Â·  1Comment  Â·  Source: arut/nginx-rtmp-module

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 2

any can help me please!!!!!!

Most helpful comment

You can probably fix it by doing what is mentioned here: https://github.com/arut/nginx-rtmp-module/issues/1283#issuecomment-439217412

>All comments

You can probably fix it by doing what is mentioned here: https://github.com/arut/nginx-rtmp-module/issues/1283#issuecomment-439217412

Was this page helpful?
0 / 5 - 0 ratings

Related issues

SmokE-PGF picture SmokE-PGF  Â·  6Comments

Tinywan picture Tinywan  Â·  3Comments

WayneShao picture WayneShao  Â·  3Comments

evgenibers picture evgenibers  Â·  4Comments

mikechen1199 picture mikechen1199  Â·  6Comments