nginx-0.7.0
rkmr.em at gmail.com
rkmr.em at gmail.com
Tue May 20 17:40:42 MSD 2008
On Tue, May 20, 2008 at 6:31 AM, Igor Sysoev <is at rambler-co.ru> wrote:
> On Tue, May 20, 2008 at 06:26:41AM -0700, rkmr.em at gmail.com wrote:
>
>> On Tue, May 20, 2008 at 2:29 AM, Igor Sysoev <is at rambler-co.ru> wrote:
>> > On Mon, May 19, 2008 at 07:47:06AM -0700, rkmr.em at gmail.com wrote:
>> >
>> >> I am getting this error for this config
>> >> ./configure --with-http_stub_status_module --prefix=/opt/local
>> >>
>> >> gcc -c -O -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter
>> >> -Wno-unused-function -Wunused-variable -Wunused-value -Werror -g -I
>> >> src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
>> >> -o objs/src/os/unix/ngx_files.o \
>> >> src/os/unix/ngx_files.c
>> >> src/os/unix/ngx_files.c: In function 'ngx_write_chain_to_file':
>> >> src/os/unix/ngx_files.c:164: error: 'IOV_MAX' undeclared (first use in
>> >> this function)
>> >> src/os/unix/ngx_files.c:164: error: (Each undeclared identifier is
>> >> reported only once
>> >> src/os/unix/ngx_files.c:164: error: for each function it appears in.)
>> >> make[1]: *** [objs/src/os/unix/ngx_files.o] Error 1
>> >> make[1]: Leaving directory `/tmp/nginx-0.7.0'
>> >
>> > What Linux do you use ?
>>
>> uname -a
>> Linux XXX 2.6.25.3-18.fc9.x86_64 #1 SMP Tue May 13 04:54:47 EDT 2008
>> x86_64 x86_64 x86_64 GNU/Linux
>> Fedora Core 9
>
> Try the attached patch.
works great
thanks
More information about the nginx
mailing list