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

Build error nginx 1.15.6, Debian 9, GCC 6.3 #116

Open
ragnos opened this issue Nov 13, 2018 · 1 comment
Open

Build error nginx 1.15.6, Debian 9, GCC 6.3 #116

ragnos opened this issue Nov 13, 2018 · 1 comment

Comments

@ragnos
Copy link

ragnos commented Nov 13, 2018

Build fails hard during make.

Debian 9.6
gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)
nginx 1.15.6
Latest module version from git

$ make
make -f objs/Makefile
make[1]: Verzeichnis „/home/stream/blss/build/nginx-1.15.6“ wird betreten
*truncated*
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 ../BLSS -I objs -I src/http -I src/http/modules \
        -o objs/addon/BLSS/ngx_rtmp.o \
        ../BLSS/ngx_rtmp.c
../BLSS/ngx_rtmp.c: In function ‘ngx_rtmp_init_listening’:
../BLSS/ngx_rtmp.c:1251:33: error: passing argument 1 of ‘ngx_clone_listening’ from incompatible pointer type [-Werror=incompatible-pointer-types]
         if (ngx_clone_listening(cf, ls) != NGX_OK) {
                                 ^~
In file included from src/core/ngx_core.h:90:0,
                 from ../BLSS/ngx_rtmp.c:9:
src/core/ngx_connection.h:213:11: note: expected ‘ngx_cycle_t * {aka struct ngx_cycle_s *}’ but argument is of type ‘ngx_conf_t * {aka struct ngx_conf_s *}’
 ngx_int_t ngx_clone_listening(ngx_cycle_t *cycle, ngx_listening_t *ls);
           ^~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
objs/Makefile:1296: die Regel für Ziel „objs/addon/BLSS/ngx_rtmp.o“ scheiterte
make[1]: *** [objs/addon/BLSS/ngx_rtmp.o] Fehler 1
make[1]: Verzeichnis „/home/stream/blss/build/nginx-1.15.6“ wird verlassen
Makefile:8: die Regel für Ziel „build“ scheiterte
make: *** [build] Fehler 2
@HeyJupiter
Copy link

I got the same error when compiled with nginx-1.15.2!

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