qinjianmatoMac:nginx-1.0.5 qinjian$ make
make -f objs/Makefile
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_murmurhash.o
src/core/ngx_murmurhash.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_md5.o
src/core/ngx_md5.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
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_crypt.o
src/core/ngx_crypt.c
cc1: warnings being treated as errors
src/core/ngx_crypt.c: In function ‘ngx_crypt_apr1’:
src/core/ngx_crypt.c:76: warning: ‘MD5_Init’ is deprecated (declared
at /usr/include/openssl/md5.h:113)
src/core/ngx_crypt.c:77: warning: ‘MD5_Update’ is deprecated
(declared at /usr/include/openssl/md5.h:114)
src/core/ngx_crypt.c:78: warning: ‘MD5_Update’ is deprecated
(declared at /usr/include/openssl/md5.h:114)
src/core/ngx_crypt.c:79: warning: ‘MD5_Update’ is deprecated
(declared at /usr/include/openssl/md5.h:114)
src/core/ngx_crypt.c:81: warning: ‘MD5_Init’ is deprecated (declared
at /usr/include/openssl/md5.h:113)
src/core/ngx_crypt.c:82: warning: ‘MD5_Update’ is deprecated
(declared at /usr/include/openssl/md5.h:114)
src/core/ngx_crypt.c:83: warning: ‘MD5_Update’ is deprecated
(declared at /usr/include/openssl/md5.h:114)
src/core/ngx_crypt.c:84: warning: ‘MD5_Update’ is deprecated
(declared at /usr/include/openssl/md5.h:114)
src/core/ngx_crypt.c:85: warning: ‘MD5_Final’ is deprecated
(declared at /usr/include/openssl/md5.h:115)
src/core/ngx_crypt.c:88: warning: ‘MD5_Update’ is deprecated
(declared at /usr/include/openssl/md5.h:114)
src/core/ngx_crypt.c:95: warning: ‘MD5_Update’ is deprecated
(declared at /usr/include/openssl/md5.h:114)
src/core/ngx_crypt.c:98: warning: ‘MD5_Update’ is deprecated
(declared at /usr/include/openssl/md5.h:114)
src/core/ngx_crypt.c:102: warning: ‘MD5_Final’ is deprecated
(declared at /usr/include/openssl/md5.h:115)
src/core/ngx_crypt.c:105: warning: ‘MD5_Init’ is deprecated
(declared at /usr/include/openssl/md5.h:113)
src/core/ngx_crypt.c:108: warning: ‘MD5_Update’ is deprecated
(declared at /usr/include/openssl/md5.h:114)
src/core/ngx_crypt.c:111: warning: ‘MD5_Update’ is deprecated
(declared at /usr/include/openssl/md5.h:114)
src/core/ngx_crypt.c:115: warning: ‘MD5_Update’ is deprecated
(declared at /usr/include/openssl/md5.h:114)
src/core/ngx_crypt.c:119: warning: ‘MD5_Update’ is deprecated
(declared at /usr/include/openssl/md5.h:114)
src/core/ngx_crypt.c:123: warning: ‘MD5_Update’ is deprecated
(declared at /usr/include/openssl/md5.h:114)
src/core/ngx_crypt.c:126: warning: ‘MD5_Update’ is deprecated
(declared at /usr/include/openssl/md5.h:114)
src/core/ngx_crypt.c:129: warning: ‘MD5_Final’ is deprecated
(declared at /usr/include/openssl/md5.h:115)
src/core/ngx_crypt.c: In function ‘ngx_crypt_ssha’:
src/core/ngx_crypt.c:215: warning: ‘SHA1_Init’ is deprecated
(declared at /usr/include/openssl/sha.h:121)
src/core/ngx_crypt.c:216: warning: ‘SHA1_Update’ is deprecated
(declared at /usr/include/openssl/sha.h:122)
src/core/ngx_crypt.c:217: warning: ‘SHA1_Update’ is deprecated
(declared at /usr/include/openssl/sha.h:122)
src/core/ngx_crypt.c:218: warning: ‘SHA1_Final’ is deprecated
(declared at /usr/include/openssl/sha.h:123)
make[1]: *** [objs/src/core/ngx_crypt.o] Error 1
make: *** [build] Error 2
qinjianmatoMac:nginx-1.0.5 qinjian$ pwd
/Users/qinjian/Downloads/nginx-1.0.5
Posted at Nginx Forum: