On Wed, Aug 26, 2009 at 03:11:55PM +0200, Robert Gabriel wrote:
> Igor Sysoev wrote:
> > On Wed, Aug 26, 2009 at 02:22:28PM +0200, Robert Gabriel wrote:
> >
> >> -o objs/src/core/nginx.o \
> >> src/core/nginx.c
> >> In file included from src/core/ngx_config.h:25,
> >> from src/core/nginx.c:7:
> >> src/os/unix/ngx_linux_config.h:85:25: error: sys/eventfd.h: No such file
> >> or directory
> >> make[1]: *** [objs/src/core/nginx.o] Error 1
> >> make[1]: Leaving directory `/users/root/downloads/source/nginx-0.8.10'
> >> make: *** [build] Error 2
> >
> > Try the attached updated patch.
>
> The patch worked, but got another error:
>
> objs/src/core/ngx_output_chain.o: In function `ngx_output_chain':
> ngx_output_chain.c:(.text+0x6aa): undefined reference to
> `ngx_file_aio_read'
> collect2: ld returned 1 exit status
> make[1]: *** [objs/nginx] Error 1
> make[1]: Leaving directory `/users/root/downloads/source/nginx-0.8.10'
> make: *** [build] Error 2
The new patch.
--
Igor Sysoev
http://sysoev.ru/en/