﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	uname	nginx_version
24	nginx 1.0.7 can't be compiled with mp4_module	icanhasserver.myopenid.com	somebody	"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."	defect	closed	major		nginx-core	1.0.x	fixed				
