Upload module doesnt compile with 0.6.34


#1

Hello
I was unable to compile nginx 0.6.34 with upload module support

My test system consists of Vmware6.5 with OpenSuse11.1 64bit running

I tried both “Nginx upload module (v 2.0.7)” and “Nginx upload module (v
2.1.1)”

heres a configure and the results i got during compilation

http://pastebin.com/m58fdacdd

Hope this helps

Cheers


#2

Not sure about 2.1.1, but for 2.0.7, it is probably an unsigned
comparison
to signed warning that caused it to fail on line 981… In that case,
using
this line instead should fix the warning:

if((ssize_t)(u->output_file.offset + len) >
(ssize_t)(ulcf->max_file_size))

On Fri, Dec 19, 2008 at 4:46 PM, nginx. mailinglist <


#3

Todd F. wrote:

Hello
http://pastebin.com/m58fdacdd

Hope this helps

Cheers

Correct. Or try using version 2.0.8 which I just have released.


#4

Hello

firstly, thank you both for the help so far, appreciated

anyways I tried compiling the latest update (2.0.8) but it seems another
issue came up

see attached (last few lines) compilation

http://pastebin.com/m6d4ec39f

Cheers / Spasibo :slight_smile:

On Sat, Dec 20, 2008 at 6:05 PM, Valery K. <


#5

Good that you’ve mentioned it.

Seems that I’ve mistaken in this revision:

http://svn.myau.su/?do=diff&project=nginx_upload_files&path=/branches/2.0/ngx_http_upload_module.c&rev=75&oldrev=70

Try using updated archive:

http://www.grid.net.ru/nginx/download/nginx_upload_module-2.0.8.tar.gz


#6

Hi Valery
thank you, that one compiled without issues

Regards

On Sat, Dec 20, 2008 at 9:11 PM, Valery K. <