ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nginx-0.1.8



Hi, Igor.

> Изменения в nginx 0.1.8                                           20.11.2004
>     *) Исправление: ошибка в модуле ngx_http_autoindex_module при показе
>        длинных имён файлов.
>     *) Добавление: модификатор "^~" в директиве location.
>     *) Добавление: директива proxy_max_temp_file_size.

> Небольшой комментарий.
> "proxy_max_temp_file_size 0" запрещает использование временного файла при
> проксировании, поэтому если указать небольшие
>             proxy_header_buffer_size   4k;
>             proxy_buffers              4 4k;
> то проксирование будет синхронным без всякой акселерации.
> По умолчанию "proxy_max_temp_file_size  1g".

Есть проблема со сборкой на linux.

gcc version 3.2.2 20030222
kernel 2.4.20

Строка configure:
./configure --without-http_charset_module --without-http_rewrite_module 
--without-http_gzip_module --without-http_proxy_module

Вывод configure в аттаче.

Сама ошибка:

...
gcc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused -Werror -g  -I src/core 
-I src/event -I src/event/modules -I src/os/unix -I objs         -o objs/src/event/modules/ngx_rtsig_module.o         src/event/modules/ngx_rtsig_module.c
src/event/modules/ngx_rtsig_module.c: In function `ngx_rtsig_init':
src/event/modules/ngx_rtsig_module.c:151: sizeof applied to an incomplete type
src/event/modules/ngx_rtsig_module.c: In function `ngx_rtsig_process_events':
src/event/modules/ngx_rtsig_module.c:442: `POLLIN' undeclared (first use in 
this function)
src/event/modules/ngx_rtsig_module.c:442: (Each undeclared identifier is 
reported only once
src/event/modules/ngx_rtsig_module.c:442: for each function it appears in.)
src/event/modules/ngx_rtsig_module.c:442: `POLLHUP' undeclared (first use in 
this function)
src/event/modules/ngx_rtsig_module.c:442: `POLLERR' undeclared (first use in 
this function)
src/event/modules/ngx_rtsig_module.c:476: `POLLOUT' undeclared (first use in 
this function)
src/event/modules/ngx_rtsig_module.c: In function `ngx_rtsig_process_overflow':
src/event/modules/ngx_rtsig_module.c:597: `POLLIN' undeclared (first use in 
this function)
src/event/modules/ngx_rtsig_module.c:601: `POLLOUT' undeclared (first use in 
this function)
src/event/modules/ngx_rtsig_module.c:608: invalid use of undefined type `struct 
pollfd'
src/event/modules/ngx_rtsig_module.c:608: dereferencing pointer to incomplete 
type
src/event/modules/ngx_rtsig_module.c:609: invalid use of undefined type `struct 
pollfd'
src/event/modules/ngx_rtsig_module.c:609: dereferencing pointer to incomplete 
type
src/event/modules/ngx_rtsig_module.c:610: invalid use of undefined type `struct 
pollfd'
src/event/modules/ngx_rtsig_module.c:610: dereferencing pointer to incomplete 
type
cc1: warnings being treated as errors
src/event/modules/ngx_rtsig_module.c:619: warning: implicit declaration of 
function `poll'
src/event/modules/ngx_rtsig_module.c:644: invalid use of undefined type `struct 
pollfd'
src/event/modules/ngx_rtsig_module.c:644: dereferencing pointer to incomplete 
type
src/event/modules/ngx_rtsig_module.c:651: invalid use of undefined type `struct 
pollfd'
src/event/modules/ngx_rtsig_module.c:651: dereferencing pointer to incomplete 
type
src/event/modules/ngx_rtsig_module.c:652: `POLLERR' undeclared (first use in 
this function)
src/event/modules/ngx_rtsig_module.c:652: `POLLHUP' undeclared (first use in 
this function)
src/event/modules/ngx_rtsig_module.c:652: `POLLNVAL' undeclared (first use in 
this function)
src/event/modules/ngx_rtsig_module.c:671: invalid use of undefined type `struct 
pollfd'
src/event/modules/ngx_rtsig_module.c:671: dereferencing pointer to incomplete 
type
make[1]: *** [objs/src/event/modules/ngx_rtsig_module.o] Ошибка 1
make[1]: Выход из каталог `/home/bk/nginx-0.1.8'
make: *** [build] Ошибка 2

-- 
Konstantin N. Bezruchenko
BK5536-RIPE
checking for unistd.h ... found
checking for inttypes.h ... found
checking for limits.h ... found
checking for sys/filio.h ... not found
checking for C compiler ... using GNU C compiler
checking for gcc -pipe switch ... found
checking for gcc variadic macros ... found
checking for C99 variadic macros ... found
checking for OS
 + Linux 2.4.20-24.9 i686
 + using rt signals
checking for epoll ... not found
checking for sendfile() ... found
checking for sendfile64() ... found
checking for sys/prctl.h ... found
checking for prctl(PR_SET_DUMPABLE) ... found
checking for /dev/poll ... not found
checking for kqueue ... not found
checking for int size ... 4 bytes
checking for long size ... 4 bytes
checking for long long size ... 8 bytes
checking for void * size ... 4 bytes
checking for uint64_t ... found
checking for sig_atomic_t ... found
checking for sig_atomic_t size ... 4 bytes
checking for socklen_t ... found
checking for in_addr_t ... found
checking for in_port_t ... found
checking for rlim_t ... found
checking for uintptr_t ... uintptr_t found
checking for system endianess ... little endianess
checking for setproctitle() ... not found
checking for pread() ... found
checking for pwrite() ... found
checking for strerror_r() ... found but is not working
checking for gnu style strerror_r() ... found
checking for localtime_r() ... found
checking for posix_memalign() ... found
checking for memalign() ... found
checking for sched_yield() ... found
checking for mmap(MAP_ANON|MAP_SHARED) ... found
checking for mmap("/dev/zero", MAP_SHARED) ... found
checking for System V shared memory ... found
checking for struct msghdr.msg_control ... found
checking for ioctl(FIONBIO) ... found
checking for struct tm.tm_gmtoff ... found

Configuration summary
  + threads are not used
  + PCRE library is not used
  + md5 library is not used
  + OpenSSL library is not used
  + zlib library is not used

  nginx path prefix: /usr/local/nginx
  nginx binary file: /usr/local/nginx/sbin/nginx
  nginx configuration file: /usr/local/nginx/conf/nginx.conf
  nginx pid file: /usr/local/nginx/logs/nginx.pid
  nginx error log file: /usr/local/nginx/logs/error.log
  nginx http access log file: /usr/local/nginx/logs/access.log


 




Copyright © Lexa Software, 1996-2009.