Answer the question
In order to leave comments, you need to log in
Error connecting nginx-rtmp-module, how to fix?
Error while executing make command
/home/max/build/nginx-rtmp-module/ngx_rtmp_stat_module.c: In function ‘ngx_rtmp_stat_handler’:
/home/max/build/nginx-rtmp-module/ngx_rtmp_stat_module.c:771:67: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
NGX_RTMP_STAT_L("<built>" __DATE__ " " __TIME__ "</built>\r\n");
^
/home/max/build/nginx-rtmp-module/ngx_rtmp_stat_module.c:771:67: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
cc1: all warnings being treated as errors
objs/Makefile:1689: ошибка выполнения рецепта для цели «objs/addon/nginx-rtmp-module/ngx_rtmp_stat_module.o»
make[1]: *** [objs/addon/nginx-rtmp-module/ngx_rtmp_stat_module.o] Ошибка 1
make[1]: выход из каталога «/home/max/build/nginx-1.12.0»
Makefile:8: ошибка выполнения рецепта для цели «build»
make: *** [build] Ошибка 2
Answer the question
In order to leave comments, you need to log in
Need to remove -Wdate-time from the -with-cc-opt section
Answer taken from here: https://github.com/arut/nginx-rtmp-module/issues/1235
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question