Welcome! Log In Create A New Profile

Advanced

Compile time error

June 21, 2009 03:00PM
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]: *** [objs/src/http/ngx_http_file_cache.o] Error 1
make[1]: Leaving directory `/src/nginx-0.7.60'
make: *** [build] Error 2
Subject Author Posted

Compile time error

neworld June 21, 2009 03:00PM

Re: Compile time error

Kirill A. Korinskiy June 21, 2009 03:48PM

Re: Compile time error

neworld June 21, 2009 04:24PM

Re: Compile time error

Kirill A. Korinskiy June 21, 2009 05:08PM

Re: Compile time error

neworld June 21, 2009 05:32PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 60
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready