Не собирается NGINX 1.15.8 (1.10.0) и модуль nginx-rtmp

327 views
Skip to first unread message

Kosta Kudrin

unread,
Jan 16, 2019, 12:35:23 AM1/16/19
to nginx-rtmp-ru
День добрый!

 Не собирается NGINX с  NGINX-rtmp .
 Пробовал версии 1.10.0 и последнюю 1.15.8

 ubuntu-mate 18.10
 ===
 при 1.15.8
 $ ./configure --with-http_ssl_module --add-module=../nginx-rtmp-module-master

$ make


 получаем вот такую ошибку ->


 s -I src/os/unix -I ../nginx-rtmp-module-master -I objs -I src/http -I src/http/modules \

-o objs/addon/nginx-rtmp-module-master/ngx_rtmp_eval.o \

../nginx-rtmp-module-master/ngx_rtmp_eval.c

../nginx-rtmp-module-master/ngx_rtmp_eval.c: In function ‘ngx_rtmp_eval’:

../nginx-rtmp-module-master/ngx_rtmp_eval.c:160:17: error: this statement may fall through [-Werror=implicit-fallthrough=]

                 switch (c) {

                 ^~~~~~

../nginx-rtmp-module-master/ngx_rtmp_eval.c:170:13: note: here

             case ESCAPE:

             ^~~~

cc1: all warnings being treated as errors

make[1]: *** [objs/Makefile:1349: objs/addon/nginx-rtmp-module-master/ngx_rtmp_eval.o] Ошибка 1 

 при 1.10.0

 получаем вот такую ошибку ->

 cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../nginx-rtmp-module-master -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=]

         h ^= data[2] << 16;

         ~~^~~~~~~~~~~~~~~~

src/core/ngx_murmurhash.c:38:5: note: here

     case 2:

     ^~~~

src/core/ngx_murmurhash.c:39:11: error: this statement may fall through [-Werror=implicit-fallthrough=]

         h ^= data[1] << 8;

         ~~^~~~~~~~~~~~~~~

src/core/ngx_murmurhash.c:40:5: note: here

     case 1:

     ^~~~

cc1: all warnings being treated as errors

make[1]: *** [objs/Makefile:539: objs/src/core/ngx_murmurhash.o] Ошибка 1



 Может кто сталкивался и подскажет в какую сторону копать??

Спасибо, Cola


Reply all
Reply to author
Forward
0 new messages