Welcome! Log In Create A New Profile

Advanced

upload module doesnt compile with 0.6.34

Posted by nginx.mailinglist 
nginx.mailinglist
upload module doesnt compile with 0.6.34
December 20, 2008 12:10AM
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
Todd Fisher
Re: upload module doesnt compile with 0.6.34
December 20, 2008 03:15PM
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 <
[email protected]> wrote:

> 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
>
Valery Kholodkov
Re: upload module doesnt compile with 0.6.34
December 20, 2008 07:25PM
Todd Fisher wrote:
> 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
> <[email protected] <mailto:[email protected]>> wrote:
>
> 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
>
>

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

--
Regards,
Valery Kholodkov
nginx.mailinglist
Re: upload module doesnt compile with 0.6.34
December 20, 2008 10:05PM
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 :)


On Sat, Dec 20, 2008 at 6:05 PM, Valery Kholodkov <
valery+nginxen@grid.net.ru <valery%[email protected]>> wrote:

> Todd Fisher wrote:
>
>> 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 <
>> nginx.mailinglist@xinio.info <mailto:[email protected]>>
>> wrote:
>>
>> 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
>>
>>
>>
> Correct. Or try using version 2.0.8 which I just have released.
>
> --
> Regards,
> Valery Kholodkov
>
>
Valery Kholodkov
Re: upload module doesnt compile with 0.6.34
December 20, 2008 10:35PM
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

nginx.mailinglist wrote:
> 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 :)
>
>
> On Sat, Dec 20, 2008 at 6:05 PM, Valery Kholodkov
> <[email protected] <mailto:valery%[email protected]>> wrote:
>
> Todd Fisher wrote:
>
> 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
> <[email protected]
> <mailto:[email protected]>
> <mailto:[email protected]
> <mailto:[email protected]>>> wrote:
>
> 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
>
>
>
> Correct. Or try using version 2.0.8 which I just have released.
>
> --
> Regards,
> Valery Kholodkov
>
>


--
Regards,
Valery Kholodkov
nginx.mailinglist
Re: upload module doesnt compile with 0.6.34
December 21, 2008 01:50PM
Hi Valery
thank you, that one compiled without issues

Regards

On Sat, Dec 20, 2008 at 9:11 PM, Valery Kholodkov <
valery+nginxen@grid.net.ru <valery%[email protected]>> wrote:

> 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
>
> nginx.mailinglist wrote:
>
>> 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 :)
>>
>>
>> On Sat, Dec 20, 2008 at 6:05 PM, Valery Kholodkov <
>> valery+nginxen@grid.net.ru <valery%[email protected]> <mailto:
>> valery%[email protected] <valery%[email protected]>>> wrote:
>>
>> Todd Fisher wrote:
>>
>> 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
>> <[email protected]
>> <mailto:[email protected]>
>> <mailto:[email protected]
>> <mailto:[email protected]>>> wrote:
>>
>> 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
>>
>>
>>
>> Correct. Or try using version 2.0.8 which I just have released.
>>
>> -- Regards,
>> Valery Kholodkov
>>
>>
>>
>
> --
> Regards,
> Valery Kholodkov
>
>
Sorry, only registered users may post in this forum.

Click here to login