Created
April 27, 2011 14:03
-
-
Save wayneeseguin/944295 to your computer and use it in GitHub Desktop.
Nginx 0.8.54/1.0.0 build error on a system.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Configure | |
./configure --prefix=/usr/local/nginx/1.0.0 --conf-path=/usr/local/nginx/1.0.0/nginx/nginx.conf --sbin-path=/usr/local/nginx/1.0.0/bin/nginx --pid-path=/var/run/nginx.pid --lock-path=/var/lock/nginx.lock --http-client-body-temp-path=/var/spool/nginx/client_body_temp --http-proxy-temp-path=/var/spool/nginx/proxy_temp --http-fastcgi-temp-path=/var/spool/nginx/fastcgi_temp --http-log-path=/var/log/nginx/access.log --error-log-path=/var/log/nginx/error.log --with-imap --with-imap_ssl_module --with-http_ssl_module --with-http_stub_status_module --with-pcre |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# configure.log | |
checking for OS | |
+ Linux 2.6.18-194.3.1.el5.028stab069.6 x86_64 | |
checking for C compiler ... found | |
+ using GNU C compiler | |
+ gcc version: 4.6.0 20110415 (prerelease) (GCC) | |
checking for gcc -pipe switch ... found | |
checking for gcc builtin atomic operations ... found | |
checking for C99 variadic macros ... found | |
checking for gcc 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 sys/param.h ... found | |
checking for sys/mount.h ... found | |
checking for sys/statvfs.h ... found | |
checking for crypt.h ... found | |
checking for Linux specific features | |
checking for epoll ... 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() ... found | |
checking for crypt_r() ... found | |
checking for sys/vfs.h ... 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 ... found | |
checking for F_READAHEAD ... not found | |
checking for posix_fadvise() ... found | |
checking for O_DIRECT ... found | |
checking for F_NOCACHE ... not found | |
checking for directio() ... not found | |
checking for statfs() ... found | |
checking for statvfs() ... found | |
checking for dlopen() ... not found | |
checking for dlopen() in libdl ... found | |
checking for sched_yield() ... found | |
checking for SO_SETFIB ... not found | |
checking for accept4() ... found | |
checking for PCRE library ... found | |
checking for OpenSSL library ... found | |
checking for zlib library ... found | |
creating objs/Makefile | |
checking for int size ... 4 bytes | |
checking for long size ... 8 bytes | |
checking for long long size ... 8 bytes | |
checking for void * size ... 8 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 ... 8 bytes | |
checking for off_t size ... 8 bytes | |
checking for time_t size ... 8 bytes | |
checking for setproctitle() ... not found | |
checking for pread() ... found | |
checking for pwrite() ... found | |
checking for sys_nerr ... found | |
checking for localtime_r() ... found | |
checking for posix_memalign() ... found | |
checking for memalign() ... 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 | |
checking for struct dirent.d_namlen ... not found | |
checking for struct dirent.d_type ... found | |
Configuration summary | |
+ using system PCRE library | |
+ using system OpenSSL library | |
+ md5: using OpenSSL library | |
+ sha1 library is not used | |
+ using system zlib library | |
nginx path prefix: "/usr/local/nginx/1.0.0" | |
nginx binary file: "/usr/local/nginx/1.0.0/bin/nginx" | |
nginx configuration prefix: "/usr/local/nginx/1.0.0/nginx" | |
nginx configuration file: "/usr/local/nginx/1.0.0/nginx/nginx.conf" | |
nginx pid file: "/var/run/nginx.pid" | |
nginx error log file: "/var/log/nginx/error.log" | |
nginx http access log file: "/var/log/nginx/access.log" | |
nginx http client request body temporary files: "/var/spool/nginx/client_body_temp" | |
nginx http proxy temporary files: "/var/spool/nginx/proxy_temp" | |
nginx http fastcgi temporary files: "/var/spool/nginx/fastcgi_temp" | |
nginx http uwsgi temporary files: "uwsgi_temp" | |
nginx http scgi temporary files: "scgi_temp" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# make.log | |
make -f objs/Makefile | |
make[1]: Entering directory `/usr/local/src/nginx-1.0.0' | |
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-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 -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-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 -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-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 -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-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 -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-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 -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-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 -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-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 -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-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_queue.o \ | |
src/core/ngx_queue.c | |
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-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 -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-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 -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-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 -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-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 -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-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 -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-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 -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-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 -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-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 -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-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 -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-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 -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-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 -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-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 -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-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 -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-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 -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-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 -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-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 -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-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_resolver.o \ | |
src/core/ngx_resolver.c | |
gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-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_open_file_cache.o \ | |
src/core/ngx_open_file_cache.c | |
src/core/ngx_resolver.c: In function ‘ngx_resolver_process_ptr’: | |
src/core/ngx_resolver.c:1425:43: error: variable ‘qclass’ set but not used [-Werror=unused-but-set-variable] | |
src/core/ngx_resolver.c:1425:36: error: variable ‘qtype’ set but not used [-Werror=unused-but-set-variable] | |
cc1: all warnings being treated as errors | |
make[1]: *** [objs/src/core/ngx_resolver.o] Error 1 | |
make[1]: *** Waiting for unfinished jobs.... | |
make[1]: Leaving directory `/usr/local/src/nginx-1.0.0' | |
make: *** [build] Error 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# gcc --version | |
gcc (GCC) 4.6.0 20110415 (prerelease) | |
Copyright (C) 2011 Free Software Foundation, Inc. | |
This is free software; see the source for copying conditions. There is NO | |
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment