Upload Module compile error with 0.7.44


#1

Hi

Since Nginx new version 0.7.44 , I get errors compiling the Upload
Module(v2.0.8).

mod/upload/ngx_http_upload_module.c:1151: error:
e$B!Fe(Bngx_garbage_collector_temp_handlere$B!Ge(B undeclared (first use
in this function)
mod/upload/ngx_http_upload_module.c:1151: error: (Each undeclared
identifier is reported only once
mod/upload/ngx_http_upload_module.c:1151: error: for each function it
appears in.)

After briefly check of the source, looks like the changes between 0.7.43
and 0.7.44 are huge (caching?).

Chau,
Tuqui


#2

Attached patch should help. For nginx 0.7.44 build process should look
like:

$ CFLAGS="-Dnginx_version=0007044" ./configure --add-module=
$ make

Hopefully after 0.7.44 Igor S. will integrate nginx_version macro
into nginx sources.