为了能快速了解并处理您的问题,请提供以下基础信息: 系统版本:CentOS 7.9.2009 x86_64 问题描述:同时编译安装nginx-rtmp-module 和 nginx-http-flv-module 失败
/www/server/nginx-http-flv-module/hls/ngx_rtmp_hls_module.c: In function ‘ngx_rtmp_hls_video’:
/www/server/nginx-http-flv-module/hls/ngx_rtmp_hls_module.c:1958:13: warning: implicit declaration of function ‘ngx_rtmp_n3_to_h4’ [-Wimplicit-function-declaration]
len = ngx_rtmp_n3_to_h4((u_char *) &rlen);
^
/www/server/nginx-http-flv-module/hls/ngx_rtmp_hls_module.c:1977:25: error: ‘NGX_RTMP_NALU_SPS’ undeclared (first use in this function)
if (nal_type >= NGX_RTMP_NALU_SPS && nal_type <= NGX_RTMP_NALU_AUD) {
^
/www/server/nginx-http-flv-module/hls/ngx_rtmp_hls_module.c:1977:25: note: each undeclared identifier is reported only once for each function it appears in
/www/server/nginx-http-flv-module/hls/ngx_rtmp_hls_module.c:1977:58: error: ‘NGX_RTMP_NALU_AUD’ undeclared (first use in this function)
if (nal_type >= NGX_RTMP_NALU_SPS && nal_type <= NGX_RTMP_NALU_AUD) {
^
/www/server/nginx-http-flv-module/hls/ngx_rtmp_hls_module.c:1986:22: error: ‘NGX_RTMP_NALU_SLICE’ undeclared (first use in this function)
case NGX_RTMP_NALU_SLICE:
^
/www/server/nginx-http-flv-module/hls/ngx_rtmp_hls_module.c:1987:22: error: ‘NGX_RTMP_NALU_IDR’ undeclared (first use in this function)
case NGX_RTMP_NALU_IDR:
^
/www/server/nginx-http-flv-module/hls/ngx_rtmp_hls_module.c:1988:22: error: ‘NGX_RTMP_NALU_SEI’ undeclared (first use in this function)
case NGX_RTMP_NALU_SEI:
^
/www/server/nginx-http-flv-module/hls/ngx_rtmp_hls_module.c:2059:27: error: ‘NGX_RTMP_FRAME_IDR’ undeclared (first use in this function)
frame.key = (ftype == NGX_RTMP_FRAME_IDR);
^
make[1]: *** [objs/addon/hls/ngx_rtmp_hls_module.o] Error 1
make[1]: Leaving directory `/www/server/nginx/src'
make: *** [install] Error 2
|
|