Upload Module compile error with 0.7.44

Valery Kholodkov valery+nginxen at grid.net.ru
Fri Mar 27 12:57:48 MSK 2009


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

$ CFLAGS="-Dnginx_version=0007044" ./configure --add-module=<path to upload module>
$ make

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

----- "daniel" <daniel at telesat.co.jp> wrote:

> 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:
> ‘ngx_garbage_collector_temp_handler’ 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?).

-- 
Regards,
Valery Kholodkov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nginx_0_7_44.patch
Type: text/x-patch
Size: 1307 bytes
Desc: not available
URL: <http://nginx.org/pipermail/nginx/attachments/20090327/4b5effcd/attachment.bin>


More information about the nginx mailing list