Opened 13 years ago

Closed 13 years ago

#24 closed defect (fixed)

nginx 1.0.7 can't be compiled with mp4_module

Reported by: icanhasserver.myopenid.com Owned by: somebody
Priority: major Milestone:
Component: nginx-core Version: 1.0.x
Keywords: Cc:
uname -a:
nginx -V:

Description

When running configure:

./configure --with-http_mp4_module
make

The build process aborts with the following erros:

src/http/modules/ngx_http_mp4_module.c:746:51: error: macro "ngx_log_debug0" passed 5 arguments, but takes just 4
src/http/modules/ngx_http_mp4_module.c: In function ‘ngx_http_mp4_process’:
src/http/modules/ngx_http_mp4_module.c:745: error: ‘ngx_log_debug0’ undeclared (first use in this function)
src/http/modules/ngx_http_mp4_module.c:745: error: (Each undeclared identifier is reported only once
src/http/modules/ngx_http_mp4_module.c:745: error: for each function it appears in.)
src/http/modules/ngx_http_mp4_module.c:841:60: error: macro "ngx_log_debug2" passed 8 arguments, but takes just 6
src/http/modules/ngx_http_mp4_module.c: In function ‘ngx_http_mp4_read_atom’:
src/http/modules/ngx_http_mp4_module.c:839: error: ‘ngx_log_debug2’ undeclared (first use in this function)
src/http/modules/ngx_http_mp4_module.c:1072:74: error: macro "ngx_log_debug1" passed 6 arguments, but takes just 5
src/http/modules/ngx_http_mp4_module.c: In function ‘ngx_http_mp4_update_mdat_atom’:
src/http/modules/ngx_http_mp4_module.c:1071: error: ‘ngx_log_debug1’ undeclared (first use in this function)
src/http/modules/ngx_http_mp4_module.c:2184:79: error: macro "ngx_log_debug2" passed 7 arguments, but takes just 6
src/http/modules/ngx_http_mp4_module.c: In function ‘ngx_http_mp4_update_ctts_atom’:
src/http/modules/ngx_http_mp4_module.c:2182: error: ‘ngx_log_debug2’ undeclared (first use in this function)
make[1]: *** [objs/src/http/modules/ngx_http_mp4_module.o] Error 1

Tweaking the various debugX macros to debugX+1 compiles cleanly.

Change History (2)

comment:1 by is, 13 years ago

Status: newaccepted

comment:2 by is, 13 years ago

Resolution: fixed
Status: acceptedclosed

Fixed in r4174 and nginx-1.0.8.

Note: See TracTickets for help on using tickets.