Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nginx-rtmp-module//ngx_rtmp eval.c:160:17: error: #1560

Closed
Solution-TV opened this issue Sep 7, 2020 · 1 comment
Closed

nginx-rtmp-module//ngx_rtmp eval.c:160:17: error: #1560

Solution-TV opened this issue Sep 7, 2020 · 1 comment

Comments

@Solution-TV
Copy link

Hello All

im try to install nginxw with rtmp
with using this command
wget http://nginx.org/download/nginx-1.19.2.tar.gz
git clone https://github.com/arut/nginx-rtmp-module
tar zxpvf nginx-1.19.2.tar.gz
cd nginx-1.19.2.tar.gz
cd nginx-1.19.2
./configure --add-module=/root/nginx-rtmp-module/ --with-http_ssl_module --with-http_auth_request_module --with-http_secure_link_module --with-http_stub_status_module --with-http_realip_module --with-http_flv_module --with-http_sub_module --prefix=/usr/local/nginx/

make

then i get this error
/root/nginx-rtmp-module//ngx_rtmp_eval.c: In function ‘ngx_rtmp_eval’:
/root/nginx-rtmp-module//ngx_rtmp_eval.c:160:17: error: this statement may fall through [-Werror=implicit-fallthrough=]
160 | switch (c) {
| ^~~~~~
/root/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:1403: objs/addon/nginx-rtmp-module/ngx_rtmp_eval.o] Error 1
make[1]: Leaving directory '/root/nginx-1.19.2'
make: *** [Makefile:8: build] Error 2

how to solve this error im use 20.04.1 LTS (GNU/Linux 5.4.0-45-generic x86_64)

Thank you

@Solution-TV
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant