gnolizuh / BLSS

NGINX-based Live Media Streaming Server
Other
196 stars 73 forks source link

compile failed #102

Closed wony-zheng closed 6 years ago

wony-zheng commented 6 years ago
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g   -I src/core -I src/event -I src/event/modules -I src/os/unix -I /usr/src/BLSS -I /usr/include/libxml2 -I objs -I src/http -I src/http/modules -I src/http/v2 -I src/mail -I src/stream \
        -o objs/addon/BLSS/ngx_rtmp_variables.o \
        /usr/src/BLSS/ngx_rtmp_variables.c
/usr/src/BLSS/ngx_rtmp.c: In function 'ngx_rtmp_add_listen':
/usr/src/BLSS/ngx_rtmp.c:636:27: error: 'http2' may be used uninitialized in this function [-Werror=maybe-uninitialized]
         addr[i].opt.http2 = http2;
         ~~~~~~~~~~~~~~~~~~^~~~~~~
/usr/src/BLSS/ngx_rtmp.c:548:28: note: 'http2' was declared here
     ngx_uint_t             http2;
                            ^~~~~
cc1: all warnings being treated as errors
make[1]: *** [objs/Makefile:1849: objs/addon/BLSS/ngx_rtmp.o] Error 1
make[1]: *** Waiting for unfinished jobs....
gnolizuh commented 6 years ago

I see, thank you for your report.

gnolizuh commented 6 years ago

你的OS是什么?

gnolizuh commented 6 years ago

请再pull最新的代码

wony-zheng commented 6 years ago

apline, 现在编译过了