On Wed, Aug 26, 2009 at 02:22:28PM +0200, Robert Gabriel wrote:
> Hi, I try to build nginx using the patch, but it doesnt work for me. I
> have customer build kernel and all the "aio" related headers are in
> /lib/modules//source and build. Using configure, it is
> settings this to /usr/include and that doesnt work:
>
> make -f objs/Makefile
> make[1]: Entering directory `/users/root/downloads/source/nginx-0.8.10'
> gcc -c -O3 -mcpu=prescott -march=prescott -mtune=prescott -pipe
> -fomit-frame-pointer -I src/core -I src/event -I src/event/modules -I
> src/os/unix -I objs \
> -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.
--
Igor Sysoev
http://sysoev.ru/en/