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

Ubuntu build failed #100

Closed
chetandhembre opened this issue Mar 8, 2018 · 2 comments
Closed

Ubuntu build failed #100

chetandhembre opened this issue Mar 8, 2018 · 2 comments

Comments

@chetandhembre
Copy link

I am using Ubuntu 14.04 while building nginx source using BLSS module I am getting following error

../BLSS/ngx_rtmp.c: In function ‘ngx_rtmp_add_listen’:
../BLSS/ngx_rtmp.c:629:25: error: ‘ssl’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
         addr[i].opt.ssl = ssl;
                         ^
../BLSS/ngx_rtmp.c:545:28: note: ‘ssl’ was declared here
     ngx_uint_t             ssl;
                            ^
cc1: all warnings being treated as errors
make[1]: *** [objs/addon/BLSS/ngx_rtmp.o] Error 1
make[1]: Leaving directory `/root/nginx/nginx-1.12.0'
make: *** [build] Error 2

what I am doing wrong here?

@gnolizuh
Copy link
Owner

gnolizuh commented Mar 8, 2018

It's a semantic error, ssl is uninitialize when NGX_HTTP_SSL macro be defined.

I have fixed this problem, pls update code and try it again. thanks.

@chetandhembre
Copy link
Author

thanks

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

2 participants