You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/usr/local/src/fastdfs-nginx-module/src//ngx_http_fastdfs_module.c
In file included from /usr/local/src/fastdfs-nginx-module/src//ngx_http_fastdfs_module.c:6:0:
/usr/local/src/fastdfs-nginx-module/src//common.c: In function ‘fdfs_mod_init’:
/usr/local/src/fastdfs-nginx-module/src//common.c:230:2: error: ‘SF_G_CONNECT_TIMEOUT’ undeclared (first use in this function); did you mean ‘DEFAULT_CONNECT_TIMEOUT’?
SF_G_CONNECT_TIMEOUT = iniGetIntValue(NULL, "connect_timeout",
^~~~~~~~~~~~~~~~~~~~
DEFAULT_CONNECT_TIMEOUT
/usr/local/src/fastdfs-nginx-module/src//common.c:230:2: note: each undeclared identifier is reported only once for each function it appears in
/usr/local/src/fastdfs-nginx-module/src//common.c:237:2: error: ‘SF_G_NETWORK_TIMEOUT’ undeclared (first use in this function); did you mean ‘DEFAULT_NETWORK_TIMEOUT’?
SF_G_NETWORK_TIMEOUT = iniGetIntValue(NULL, "network_timeout",
^~~~~~~~~~~~~~~~~~~~
DEFAULT_NETWORK_TIMEOUT
/usr/local/src/fastdfs-nginx-module/src//common.c:376:3: error: ‘SF_G_BASE_PATH_STR’ undeclared (first use in this function)
SF_G_BASE_PATH_STR, url_have_group_name, buff,
^~~~~~~~~~~~~~~~~~
/usr/local/src/fastdfs-nginx-module/src//common.c: In function ‘fdfs_get_params_from_tracker’:
/usr/local/src/fastdfs-nginx-module/src//common.c:1601:14: error: too few arguments to function ‘fdfs_get_ini_context_from_tracker’
if ((result=fdfs_get_ini_context_from_tracker(&g_tracker_group,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/fastdfs/fdfs_client.h:14:0,
from /usr/local/src/fastdfs-nginx-module/src//common.c:29,
from /usr/local/src/fastdfs-nginx-module/src//ngx_http_fastdfs_module.c:6:
/usr/local/include/fastdfs/tracker_proto.h:323:5: note: declared here
int fdfs_get_ini_context_from_tracker(TrackerServerGroup *pTrackerGroup,
这是用的老版本, fastdfs6.02, moudle1.21,fastcommon 1.0.41是这个报错
全部用最新也有报错
-o objs/src/http/modules/ngx_http_upstream_zone_module.o
src/http/modules/ngx_http_upstream_zone_module.c
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -Wformat-truncation=0 -Wformat-overflow=0 -D_FILE_OFFSET_BITS=64 -DFDFS_OUTPUT_CHUNK_SIZE='256*1024' -DFDFS_MOD_CONF_FILENAME='"/etc/fdfs/mod_fastdfs.conf"' -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I /usr/local/include
-o objs/addon/src/ngx_http_fastdfs_module.o
/usr/local/src/fastdfs-nginx-module/src//ngx_http_fastdfs_module.c
In file included from /usr/local/src/fastdfs-nginx-module/src//ngx_http_fastdfs_module.c:6:0:
/usr/local/src/fastdfs-nginx-module/src//common.c: In function ‘fdfs_mod_init’:
/usr/local/src/fastdfs-nginx-module/src//common.c:230:2: error: ‘SF_G_CONNECT_TIMEOUT’ undeclared (first use in this function); did you mean ‘DEFAULT_CONNECT_TIMEOUT’?
SF_G_CONNECT_TIMEOUT = iniGetIntValue(NULL, "connect_timeout",
^~~~~~~~~~~~~~~~~~~~
DEFAULT_CONNECT_TIMEOUT
/usr/local/src/fastdfs-nginx-module/src//common.c:230:2: note: each undeclared identifier is reported only once for each function it appears in
/usr/local/src/fastdfs-nginx-module/src//common.c:237:2: error: ‘SF_G_NETWORK_TIMEOUT’ undeclared (first use in this function); did you mean ‘DEFAULT_NETWORK_TIMEOUT’?
SF_G_NETWORK_TIMEOUT = iniGetIntValue(NULL, "network_timeout",
^~~~~~~~~~~~~~~~~~~~
DEFAULT_NETWORK_TIMEOUT
/usr/local/src/fastdfs-nginx-module/src//common.c:376:3: error: ‘SF_G_BASE_PATH_STR’ undeclared (first use in this function)
SF_G_BASE_PATH_STR, url_have_group_name, buff,
^~~~~~~~~~~~~~~~~~
/usr/local/src/fastdfs-nginx-module/src//common.c: In function ‘fdfs_get_params_from_tracker’:
/usr/local/src/fastdfs-nginx-module/src//common.c:1601:14: error: too few arguments to function ‘fdfs_get_ini_context_from_tracker’
if ((result=fdfs_get_ini_context_from_tracker(&g_tracker_group,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/local/include/fastdfs/fdfs_client.h:14:0,
from /usr/local/src/fastdfs-nginx-module/src//common.c:29,
from /usr/local/src/fastdfs-nginx-module/src//ngx_http_fastdfs_module.c:6:
/usr/local/include/fastdfs/tracker_proto.h:323:5: note: declared here
int fdfs_get_ini_context_from_tracker(TrackerServerGroup *pTrackerGroup,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [objs/Makefile:1205: objs/addon/src/ngx_http_fastdfs_module.o] Error 1
make[1]: Leaving directory '/usr/local/src/nginx-1.15.4'
make: *** [Makefile:8: build] Error 2
卡在集成nginx这里几天了,到底要怎么配置,我是照着wiki 上走的,麒麟系统
The text was updated successfully, but these errors were encountered: