undefined reference to `crypt_r'

Дмитрий Леоненко dmitry.leonenko at gmail.com
Tue Nov 6 16:27:25 MSK 2007


>
> [root at smoothwall nginx-0.5.32]# ./configure --prefix=/usr
> --conf-path=/etc/nginx --error-log-path=/var/log/nginx --pid-path=/var/run
> --without-http_ssi_module --without-http_geo_module
> --without-http_map_module --without-http_limit_zone_module
> checking for OS
>  + Linux 2.4.33.3 i686
> checking for C compiler ... found
>  + using GNU C compiler
>  + gcc version: 3.3.5
> checking for gcc -pipe switch ... found
> checking for gcc variadic macros ... found
> checking for C99 variadic macros ... found
> checking for unistd.h ... found
> checking for inttypes.h ... found
> checking for limits.h ... found
> checking for sys/filio.h ... not found
> checking for Linux specific features
> grep: /usr/include/linux/version.h: No such file or directory
> 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 sched_setaffinity() ... not found
> checking for nobody group ... found
> checking for poll() ... found
> checking for /dev/poll ... not found
> checking for kqueue ... not found
> checking for crypt() ... not found
> checking for crypt() in libcrypt ... not found
> checking for PCRE library ... not found
> checking for PCRE library in /usr/local/ ... not found
> checking for PCRE library in /usr/include/pcre/ ... not found
> checking for PCRE library in /usr/pkg/ ... not found
> checking for PCRE library in /opt/local/ ... not found
> checking for zlib library ... 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 size_t size ... 4 bytes
> checking for off_t size ... 8 bytes
> checking for time_t size ... 4 bytes
> 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 found
>   + OpenSSL library is not used
>   + md5 library is not used
>   + sha1 library is not used
>   + using system zlib library
>
> ./configure: error: the HTTP rewrite module requires the PCRE library.
> You can either disable the module by using --without-http_rewrite_module
> option, or install the PCRE library into the system, or build the PCRE
> library
> statically from the source with nginx by using --with-pcre=<path> option.
>
> [root at smoothwall nginx-0.5.32]# ./configure --prefix=/usr
> --conf-path=/etc/nginx --error-log-path=/var/log/nginx --pid-path=/var/run
> --without-http_ssi_module --without-http_geo_module
> --without-http_map_module --without-http_limit_zone_module
> --without-http_rewrite_module
> checking for OS
>  + Linux 2.4.33.3 i686
> checking for C compiler ... found
>  + using GNU C compiler
>  + gcc version: 3.3.5
> checking for gcc -pipe switch ... found
> checking for gcc variadic macros ... found
> checking for C99 variadic macros ... found
> checking for unistd.h ... found
> checking for inttypes.h ... found
> checking for limits.h ... found
> checking for sys/filio.h ... not found
> checking for Linux specific features
> grep: /usr/include/linux/version.h: No such file or directory
> 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 sched_setaffinity() ... not found
> checking for nobody group ... found
> checking for poll() ... found
> checking for /dev/poll ... not found
> checking for kqueue ... not found
> checking for crypt() ... not found
> checking for crypt() in libcrypt ... not found
> checking for zlib library ... 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 size_t size ... 4 bytes
> checking for off_t size ... 8 bytes
> checking for time_t size ... 4 bytes
> 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
>   + OpenSSL library is not used
>   + md5 library is not used
>   + sha1 library is not used
>   + using system zlib library
>
>   nginx path prefix: "/usr"
>   nginx binary file: "/usr/sbin/nginx"
>   nginx configuration file: "/etc/nginx"
>   nginx pid file: "/var/run"
>   nginx error log file: "/var/log/nginx"
>   nginx http access log file: "/usr/logs/access.log"
>   nginx http client request body temporary files: "/usr/client_body_temp"
>   nginx http proxy temporary files: "/usr/proxy_temp"
>   nginx http fastcgi temporary files: "/usr/fastcgi_temp"
>
> [root at smoothwall nginx-0.5.32]# ./configure --prefix=/usr
> --conf-path=/etc/nginx/nginx.conf --pid-path=/var/run/nginx.pid
> --without-http_ssi_module --without-http_geo_module
> --without-http_map_module --without-http_limit_zone_module
> --without-http_rewrite_module
> checking for OS
>  + Linux 2.4.33.3 i686
> checking for C compiler ... found
>  + using GNU C compiler
>  + gcc version: 3.3.5
> checking for gcc -pipe switch ... found
> checking for gcc variadic macros ... found
> checking for C99 variadic macros ... found
> checking for unistd.h ... found
> checking for inttypes.h ... found
> checking for limits.h ... found
> checking for sys/filio.h ... not found
> checking for Linux specific features
> grep: /usr/include/linux/version.h: No such file or directory
> 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 sched_setaffinity() ... not found
> checking for nobody group ... found
> checking for poll() ... found
> checking for /dev/poll ... not found
> checking for kqueue ... not found
> checking for crypt() ... not found
> checking for crypt() in libcrypt ... not found
> checking for zlib library ... 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 size_t size ... 4 bytes
> checking for off_t size ... 8 bytes
> checking for time_t size ... 4 bytes
> 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
>   + OpenSSL library is not used
>   + md5 library is not used
>   + sha1 library is not used
>   + using system zlib library
>
>   nginx path prefix: "/usr"
>   nginx binary file: "/usr/sbin/nginx"
>   nginx configuration file: "/etc/nginx/nginx.conf"
>   nginx pid file: "/var/run/nginx.pid"
>   nginx error log file: "/usr/logs/error.log"
>   nginx http access log file: "/usr/logs/access.log"
>   nginx http client request body temporary files: "/usr/client_body_temp"
>   nginx http proxy temporary files: "/usr/proxy_temp"
>   nginx http fastcgi temporary files: "/usr/fastcgi_temp"
>
> [root at smoothwall nginx-0.5.32]# make
> make -f objs/Makefile
> make[1]: Entering directory `/root/nginx-0.5.32'
> 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/core/nginx.o \
>         src/core/nginx.c
> 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/core/ngx_log.o \
>         src/core/ngx_log.c
> 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/core/ngx_palloc.o \
>         src/core/ngx_palloc.c
> 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/core/ngx_array.o \
>         src/core/ngx_array.c
> 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/core/ngx_list.o \
>         src/core/ngx_list.c
> 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/core/ngx_hash.o \
>         src/core/ngx_hash.c
> 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/core/ngx_buf.o \
>         src/core/ngx_buf.c
> 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/core/ngx_output_chain.o \
>         src/core/ngx_output_chain.c
> 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/core/ngx_string.o \
>         src/core/ngx_string.c
> 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/core/ngx_parse.o \
>         src/core/ngx_parse.c
> 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/core/ngx_inet.o \
>         src/core/ngx_inet.c
> 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/core/ngx_file.o \
>         src/core/ngx_file.c
> 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/core/ngx_crc32.o \
>         src/core/ngx_crc32.c
> 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/core/ngx_rbtree.o \
>         src/core/ngx_rbtree.c
> 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/core/ngx_radix_tree.o \
>         src/core/ngx_radix_tree.c
> 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/core/ngx_slab.o \
>         src/core/ngx_slab.c
> 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/core/ngx_times.o \
>         src/core/ngx_times.c
> 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/core/ngx_shmtx.o \
>         src/core/ngx_shmtx.c
> 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/core/ngx_connection.o \
>         src/core/ngx_connection.c
> 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/core/ngx_cycle.o \
>         src/core/ngx_cycle.c
> 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/core/ngx_spinlock.o \
>         src/core/ngx_spinlock.c
> 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/core/ngx_cpuinfo.o \
>         src/core/ngx_cpuinfo.c
> 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/core/ngx_conf_file.o \
>         src/core/ngx_conf_file.c
> 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/core/ngx_garbage_collector.o \
>         src/core/ngx_garbage_collector.c
> 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/event/ngx_event.o \
>         src/event/ngx_event.c
> 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/event/ngx_event_timer.o \
>         src/event/ngx_event_timer.c
> 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/event/ngx_event_posted.o \
>         src/event/ngx_event_posted.c
> 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/event/ngx_event_busy_lock.o \
>         src/event/ngx_event_busy_lock.c
> 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/event/ngx_event_accept.o \
>         src/event/ngx_event_accept.c
> 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/event/ngx_event_connect.o \
>         src/event/ngx_event_connect.c
> 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/event/ngx_event_pipe.o \
>         src/event/ngx_event_pipe.c
> 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_time.o \
>         src/os/unix/ngx_time.c
> 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_errno.o \
>         src/os/unix/ngx_errno.c
> 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_alloc.o \
>         src/os/unix/ngx_alloc.c
> 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
> 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_socket.o \
>         src/os/unix/ngx_socket.c
> 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_recv.o \
>         src/os/unix/ngx_recv.c
> 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_readv_chain.o \
>         src/os/unix/ngx_readv_chain.c
> 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_send.o \
>         src/os/unix/ngx_send.c
> 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_writev_chain.o \
>         src/os/unix/ngx_writev_chain.c
> 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_channel.o \
>         src/os/unix/ngx_channel.c
> 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_shmem.o \
>         src/os/unix/ngx_shmem.c
> 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_process.o \
>         src/os/unix/ngx_process.c
> 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_daemon.o \
>         src/os/unix/ngx_daemon.c
> 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_setproctitle.o \
>         src/os/unix/ngx_setproctitle.c
> 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_posix_init.o \
>         src/os/unix/ngx_posix_init.c
> 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_user.o \
>         src/os/unix/ngx_user.c
> 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_process_cycle.o \
>         src/os/unix/ngx_process_cycle.c
> 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_linux_init.o \
>         src/os/unix/ngx_linux_init.c
> 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_linux_sendfile_chain.o \
>         src/os/unix/ngx_linux_sendfile_chain.c
> 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/event/modules/ngx_select_module.o \
>         src/event/modules/ngx_select_module.c
> 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/event/modules/ngx_poll_module.o \
>         src/event/modules/ngx_poll_module.c
> 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 -I
> src/http -I src/http/modules \
>         -o objs/src/http/ngx_http.o \
>         src/http/ngx_http.c
> 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 -I
> src/http -I src/http/modules \
>         -o objs/src/http/ngx_http_core_module.o \
>         src/http/ngx_http_core_module.c
> 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 -I
> src/http -I src/http/modules \
>         -o objs/src/http/ngx_http_special_response.o \
>         src/http/ngx_http_special_response.c
> 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 -I
> src/http -I src/http/modules \
>         -o objs/src/http/ngx_http_request.o \
>         src/http/ngx_http_request.c
> 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 -I
> src/http -I src/http/modules \
>         -o objs/src/http/ngx_http_parse.o \
>         src/http/ngx_http_parse.c
> 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 -I
> src/http -I src/http/modules \
>         -o objs/src/http/ngx_http_header_filter_module.o \
>         src/http/ngx_http_header_filter_module.c
> 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 -I
> src/http -I src/http/modules \
>         -o objs/src/http/ngx_http_write_filter_module.o \
>         src/http/ngx_http_write_filter_module.c
> 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 -I
> src/http -I src/http/modules \
>         -o objs/src/http/ngx_http_copy_filter_module.o \
>         src/http/ngx_http_copy_filter_module.c
> 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 -I
> src/http -I src/http/modules \
>         -o objs/src/http/modules/ngx_http_log_module.o \
>         src/http/modules/ngx_http_log_module.c
> 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 -I
> src/http -I src/http/modules \
>         -o objs/src/http/ngx_http_request_body.o \
>         src/http/ngx_http_request_body.c
> 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 -I
> src/http -I src/http/modules \
>         -o objs/src/http/ngx_http_variables.o \
>         src/http/ngx_http_variables.c
> 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 -I
> src/http -I src/http/modules \
>         -o objs/src/http/ngx_http_script.o \
>         src/http/ngx_http_script.c
> 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 -I
> src/http -I src/http/modules \
>         -o objs/src/http/ngx_http_upstream.o \
>         src/http/ngx_http_upstream.c
> 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 -I
> src/http -I src/http/modules \
>         -o objs/src/http/ngx_http_upstream_round_robin.o \
>         src/http/ngx_http_upstream_round_robin.c
> 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 -I
> src/http -I src/http/modules \
>         -o objs/src/http/ngx_http_parse_time.o \
>         src/http/ngx_http_parse_time.c
> 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 -I
> src/http -I src/http/modules \
>         -o objs/src/http/modules/ngx_http_static_module.o \
>         src/http/modules/ngx_http_static_module.c
> 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 -I
> src/http -I src/http/modules \
>         -o objs/src/http/modules/ngx_http_index_module.o \
>         src/http/modules/ngx_http_index_module.c
> 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 -I
> src/http -I src/http/modules \
>         -o objs/src/http/modules/ngx_http_chunked_filter_module.o \
>         src/http/modules/ngx_http_chunked_filter_module.c
> 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 -I
> src/http -I src/http/modules \
>         -o objs/src/http/modules/ngx_http_range_filter_module.o \
>         src/http/modules/ngx_http_range_filter_module.c
> 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 -I
> src/http -I src/http/modules \
>         -o objs/src/http/modules/ngx_http_headers_filter_module.o \
>         src/http/modules/ngx_http_headers_filter_module.c
> 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 -I
> src/http -I src/http/modules \
>         -o objs/src/http/modules/ngx_http_not_modified_filter_module.o \
>         src/http/modules/ngx_http_not_modified_filter_module.c
> 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 -I
> src/http -I src/http/modules \
>         -o objs/src/http/ngx_http_busy_lock.o \
>         src/http/ngx_http_busy_lock.c
> 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 -I
> src/http -I src/http/modules \
>         -o objs/src/http/modules/ngx_http_gzip_filter_module.o \
>         src/http/modules/ngx_http_gzip_filter_module.c
> 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 -I
> src/http -I src/http/modules \
>         -o objs/src/http/modules/ngx_http_charset_filter_module.o \
>         src/http/modules/ngx_http_charset_filter_module.c
> 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 -I
> src/http -I src/http/modules \
>         -o objs/src/http/modules/ngx_http_userid_filter_module.o \
>         src/http/modules/ngx_http_userid_filter_module.c
> 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 -I
> src/http -I src/http/modules \
>         -o objs/src/http/modules/ngx_http_autoindex_module.o \
>         src/http/modules/ngx_http_autoindex_module.c
> 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 -I
> src/http -I src/http/modules \
>         -o objs/src/http/modules/ngx_http_auth_basic_module.o \
>         src/http/modules/ngx_http_auth_basic_module.c
> 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 -I
> src/http -I src/http/modules \
>         -o objs/src/http/modules/ngx_http_access_module.o \
>         src/http/modules/ngx_http_access_module.c
> 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 -I
> src/http -I src/http/modules \
>         -o objs/src/http/modules/ngx_http_referer_module.o \
>         src/http/modules/ngx_http_referer_module.c
> 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 -I
> src/http -I src/http/modules \
>         -o objs/src/http/modules/ngx_http_proxy_module.o \
>         src/http/modules/ngx_http_proxy_module.c
> 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 -I
> src/http -I src/http/modules \
>         -o objs/src/http/modules/ngx_http_fastcgi_module.o \
>         src/http/modules/ngx_http_fastcgi_module.c
> 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 -I
> src/http -I src/http/modules \
>         -o objs/src/http/modules/ngx_http_memcached_module.o \
>         src/http/modules/ngx_http_memcached_module.c
> 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 -I
> src/http -I src/http/modules \
>         -o objs/src/http/modules/ngx_http_empty_gif_module.o \
>         src/http/modules/ngx_http_empty_gif_module.c
> 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 -I
> src/http -I src/http/modules \
>         -o objs/src/http/modules/ngx_http_browser_module.o \
>         src/http/modules/ngx_http_browser_module.c
> 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 -I
> src/http -I src/http/modules \
>         -o objs/src/http/modules/ngx_http_upstream_ip_hash_module.o \
>         src/http/modules/ngx_http_upstream_ip_hash_module.c
> 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/ngx_modules.o \
>         objs/ngx_modules.c
> gcc -o objs/nginx \
> objs/src/core/nginx.o \
> objs/src/core/ngx_log.o \
> objs/src/core/ngx_palloc.o \
> objs/src/core/ngx_array.o \
> objs/src/core/ngx_list.o \
> objs/src/core/ngx_hash.o \
> objs/src/core/ngx_buf.o \
> objs/src/core/ngx_output_chain.o \
> objs/src/core/ngx_string.o \
> objs/src/core/ngx_parse.o \
> objs/src/core/ngx_inet.o \
> objs/src/core/ngx_file.o \
> objs/src/core/ngx_crc32.o \
> objs/src/core/ngx_rbtree.o \
> objs/src/core/ngx_radix_tree.o \
> objs/src/core/ngx_slab.o \
> objs/src/core/ngx_times.o \
> objs/src/core/ngx_shmtx.o \
> objs/src/core/ngx_connection.o \
> objs/src/core/ngx_cycle.o \
> objs/src/core/ngx_spinlock.o \
> objs/src/core/ngx_cpuinfo.o \
> objs/src/core/ngx_conf_file.o \
> objs/src/core/ngx_garbage_collector.o \
> objs/src/event/ngx_event.o \
> objs/src/event/ngx_event_timer.o \
> objs/src/event/ngx_event_posted.o \
> objs/src/event/ngx_event_busy_lock.o \
> objs/src/event/ngx_event_accept.o \
> objs/src/event/ngx_event_connect.o \
> objs/src/event/ngx_event_pipe.o \
> objs/src/os/unix/ngx_time.o \
> objs/src/os/unix/ngx_errno.o \
> objs/src/os/unix/ngx_alloc.o \
> objs/src/os/unix/ngx_files.o \
> objs/src/os/unix/ngx_socket.o \
> objs/src/os/unix/ngx_recv.o \
> objs/src/os/unix/ngx_readv_chain.o \
> objs/src/os/unix/ngx_send.o \
> objs/src/os/unix/ngx_writev_chain.o \
> objs/src/os/unix/ngx_channel.o \
> objs/src/os/unix/ngx_shmem.o \
> objs/src/os/unix/ngx_process.o \
> objs/src/os/unix/ngx_daemon.o \
> objs/src/os/unix/ngx_setproctitle.o \
> objs/src/os/unix/ngx_posix_init.o \
> objs/src/os/unix/ngx_user.o \
> objs/src/os/unix/ngx_process_cycle.o \
> objs/src/os/unix/ngx_linux_init.o \
> objs/src/os/unix/ngx_linux_sendfile_chain.o \
> objs/src/event/modules/ngx_select_module.o \
> objs/src/event/modules/ngx_poll_module.o \
> objs/src/http/ngx_http.o \
> objs/src/http/ngx_http_core_module.o \
> objs/src/http/ngx_http_special_response.o \
> objs/src/http/ngx_http_request.o \
> objs/src/http/ngx_http_parse.o \
> objs/src/http/ngx_http_header_filter_module.o \
> objs/src/http/ngx_http_write_filter_module.o \
> objs/src/http/ngx_http_copy_filter_module.o \
> objs/src/http/modules/ngx_http_log_module.o \
> objs/src/http/ngx_http_request_body.o \
> objs/src/http/ngx_http_variables.o \
> objs/src/http/ngx_http_script.o \
> objs/src/http/ngx_http_upstream.o \
> objs/src/http/ngx_http_upstream_round_robin.o \
> objs/src/http/ngx_http_parse_time.o \
> objs/src/http/modules/ngx_http_static_module.o \
> objs/src/http/modules/ngx_http_index_module.o \
> objs/src/http/modules/ngx_http_chunked_filter_module.o \
> objs/src/http/modules/ngx_http_range_filter_module.o \
> objs/src/http/modules/ngx_http_headers_filter_module.o \
> objs/src/http/modules/ngx_http_not_modified_filter_module.o \
> objs/src/http/ngx_http_busy_lock.o \
> objs/src/http/modules/ngx_http_gzip_filter_module.o \
> objs/src/http/modules/ngx_http_charset_filter_module.o \
> objs/src/http/modules/ngx_http_userid_filter_module.o \
> objs/src/http/modules/ngx_http_autoindex_module.o \
> objs/src/http/modules/ngx_http_auth_basic_module.o \
> objs/src/http/modules/ngx_http_access_module.o \
> objs/src/http/modules/ngx_http_referer_module.o \
> objs/src/http/modules/ngx_http_proxy_module.o \
> objs/src/http/modules/ngx_http_fastcgi_module.o \
> objs/src/http/modules/ngx_http_memcached_module.o \
> objs/src/http/modules/ngx_http_empty_gif_module.o \
> objs/src/http/modules/ngx_http_browser_module.o \
> objs/src/http/modules/ngx_http_upstream_ip_hash_module.o \
> objs/ngx_modules.o \
> -lz
> objs/src/os/unix/ngx_user.o(.text+0x39): In function `ngx_crypt':
> src/os/unix/ngx_user.c:39: undefined reference to `crypt_r'
> collect2: ld returned 1 exit status
> make[1]: *** [objs/nginx] Error 1
> make[1]: Leaving directory `/root/nginx-0.5.32'
> make: *** [build] Error 2
>



Вот такая вот беда. Кто значет, как это пофиксить - буду очень благодарен
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx-ru/attachments/20071106/85ce558c/attachment.html>


More information about the nginx-ru mailing list