- 论坛徽章:
- 0
|
src/core/ngx_md5.h:18:17: error: md5.h: No such file or directory
In file included from src/http/ngx_http_file_cache.c:10:
src/core/ngx_md5.h:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ngx_md5_t’
src/http/ngx_http_file_cache.c: In function ‘ngx_http_file_cache_create_key’:
src/http/ngx_http_file_cache.c:120: error: ‘ngx_md5_t’ undeclared (first use in this function)
src/http/ngx_http_file_cache.c:120: error: (Each undeclared identifier is reported only once
src/http/ngx_http_file_cache.c:120: error: for each function it appears in.)
src/http/ngx_http_file_cache.c:120: error: expected ‘;’ before ‘md5’
cc1: warnings being treated as errors
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: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 `/home/nginx-0.7.58'
make: *** [build] Error 2
./configure --prefix=/usr/local/ngnix/ --user=www --group=www --with-http_stub_status_module 编译没有问题,
make 时出现上述问题,请高手帮忙看看,我的GCC是4.1的! |
|