Ошибка при сборке под линуксом
Kpoxa KpoIIIkin
kpoxa at kpoxa.net
Thu Jan 6 18:02:05 MSK 2005
попробовал включить метод select и задать FD_SETSIZE=20480, заругалось и
отказалось собираться
make -f objs/Makefile
make[1]: Entering directory `/usr/src/nginx/nginx-0.1.13'
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused -Werror -g -D
FD_SETSIZE=20480 -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 /usr/include/sys/types.h:215,
from src/os/unix/ngx_linux_config.h:17,
from src/core/ngx_config.h:25,
from src/core/nginx.c:7:
/usr/include/sys/select.h:77: warning: `FD_SETSIZE' redefined
*Initialization*:1: warning: this is the location of the previous definition
make[1]: *** [objs/src/core/nginx.o] Error 1
make[1]: Leaving directory `/usr/src/nginx/nginx-0.1.13'
make: *** [build] Error 2
More information about the nginx-ru
mailing list