Compile time error

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 ofngx_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 functionMD5Init’
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 functionMD5Update’
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

At Sun, 21 Jun 2009 15:00:45 -0400,
“neworld” [email protected] wrote:

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

–with-md5=auto/lib/md5 --with-sha1=auto/lib/sha1

what do you mean? You try to find openssl developments stuff in nginx
tree?!

thanks, <0.6.x versions not cokpiled in my centos 4.7

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

At Sun, 21 Jun 2009 16:24:26 -0400,
“neworld” [email protected] wrote:

thanks, <0.6.x versions not cokpiled in my centos 4.7

Try removing the option, which I highlighted in previos messages. And
show their mistakes if you take it.

in 0.7.x work nice all :slight_smile:

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