5 messages in ru.sysoev.nginxCompile time error
FromSent OnAttachments
neworldJun 21, 2009 12:00 pm 
Kirill A. KorinskiyJun 21, 2009 12:48 pm 
neworldJun 21, 2009 1:24 pm 
Kirill A. KorinskiyJun 21, 2009 2:07 pm 
neworldJun 21, 2009 2:31 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Compile time errorActions...
From:neworld (ngin@nginx.us)
Date:Jun 21, 2009 12:00:22 pm
List:ru.sysoev.nginx

my configure is:

./configure --prefix=/wwwserver/nginx --user=nginx --group=nginx
--without-http_proxy_module --with-md5=auto/lib/md5 --with-sha1=auto/lib/sha1
--without-http_ssi_module --without-http_userid_module
--with-http_stub_status_module --without-http_geo_module
--without-http_memcached_module --without-http_browser_module
--http-fastcgi-temp-path=/dev/shm/nginx_fcgi

i get error:

gcc -c -O -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 /usr/include/pcre -I
auto/lib/md5 -I objs -I src/http -I src/http/modules \ -o objs/src/http/ngx_http_file_cache.o \ src/http/ngx_http_file_cache.c In file included from src/core/ngx_md5.h:18, from src/http/ngx_http_file_cache.c:10: /usr/include/md5.h:27: error: syntax error before "UINT4" /usr/include/md5.h:30: error: syntax error before '}' token /usr/include/md5.h:38: error: syntax error before "PROTO_LIST" /usr/include/md5.h:39: error: syntax error before "PROTO_LIST" /usr/include/md5.h:41: error: syntax error before "PROTO_LIST" /usr/include/md5.h:43: error: syntax error before "PROTO_LIST" In file included from src/http/ngx_http_file_cache.c:10: src/core/ngx_md5.h:22: error: syntax error before "ngx_md5_t" src/core/ngx_md5.h:22: warning: type defaults to `int' in declaration of
`ngx_md5_t' src/core/ngx_md5.h:22: warning: data definition has no type or storage class src/http/ngx_http_file_cache.c: In function `ngx_http_file_cache_create_key': src/http/ngx_http_file_cache.c:120: error: syntax error before "md5" src/http/ngx_http_file_cache.c:128: warning: implicit declaration of function
`MD5Init' src/http/ngx_http_file_cache.c:128: error: `md5' undeclared (first use in this
function) src/http/ngx_http_file_cache.c:128: error: (Each undeclared identifier is
reported only once src/http/ngx_http_file_cache.c:128: error: for each function it appears in.) src/http/ngx_http_file_cache.c:138: warning: implicit declaration of function
`MD5Update' src/http/ngx_http_file_cache.c:145: warning: implicit declaration of function
`MD5Final' make[1]: *** Error 1 make[1]: Leaving directory `/src/nginx-0.7.60' make: *** Error 2

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,3220,3220#msg-3220