Comments (6)
这是在什么系统下哇?编译检查得这么严格
Original comment by [email protected]
on 1 Dec 2010 at 10:28
- Changed state: Accepted
from fastdfs.
提示这4处地方已经修复。请check out出最新代码试试。例如:
svn export http://fastdfs-nginx-module.googlecode.com/svn/trunk/
fastdfs-nginx-module-read-only
Original comment by [email protected]
on 1 Dec 2010 at 10:49
from fastdfs.
编译已经好了·我在storaged也做了软连接
用nginx访问还是出错·可能是我的使用方法有问题·
能在 wiki或者 什么地方做个事例么?呵呵
我的错误如下:
192.168.6.2 - - [02/Dec/2010:11:12:51 +0800] "GET /M00/00/00/aaa\x00HTTP/1.1"
400 587 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR
2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2; .NET CLR
1.1.4322)"
192.168.6.2 - - [02/Dec/2010:11:13:13 +0800] "GET
/M00/00/00/aaa.html\x00HTTP/1.1" 400 587 "-" "Mozilla/4.0 (compatible; MSIE
6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR
3.5.30729; InfoPath.2; .NET CLR 1.1.4322)"
192.168.6.2 - - [02/Dec/2010:11:20:07 +0800] "GET
/M00/00/00/aaa.html\x00HTTP/1.1" 400 587 "-" "Mozilla/4.0 (compatible; MSIE
6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR
3.5.30729; InfoPath.2; .NET CLR 1.1.4322)"
Original comment by [email protected]
on 2 Dec 2010 at 3:26
from fastdfs.
使用 fdfs_test或fdfs_test1上传文件,参照返回的那个URL链接。
Original comment by [email protected]
on 2 Dec 2010 at 7:10
from fastdfs.
/usr/local/include/fdfs_http_shared.h:28: error: expected
specifier-qualifier-list before ‘HashArray’
In file included from
/opt/fastdfs-nginx-module-read-only/src//ngx_http_fastdfs_module.c:6:
/opt/fastdfs-nginx-module-read-only/src//common.c:27:27: error:
local_ip_func.h: No such file or directory
/opt/fastdfs-nginx-module-read-only/src//common.c:28:26: error: trunk_shared.h:
No such file or directory
In file included from
/opt/fastdfs-nginx-module-read-only/src//ngx_http_fastdfs_module.c:6:
/opt/fastdfs-nginx-module-read-only/src//common.c: In function
‘fdfs_mod_init’:
/opt/fastdfs-nginx-module-read-only/src//common.c:47: error: ‘IniContext’
undeclared (first use in this function)
/opt/fastdfs-nginx-module-read-only/src//common.c:47: error: (Each undeclared
identifier is reported only once
/opt/fastdfs-nginx-module-read-only/src//common.c:47: error: for each function
it appears in.)
/opt/fastdfs-nginx-module-read-only/src//common.c:47: error: expected ‘;’
before ‘iniContext’
/opt/fastdfs-nginx-module-read-only/src//common.c:54: error: too few arguments
to function ‘log_init’
cc1: warnings being treated as errors
/opt/fastdfs-nginx-module-read-only/src//common.c:55: error: implicit
declaration of function ‘trunk_shared_init’
/opt/fastdfs-nginx-module-read-only/src//common.c:57: error: implicit
declaration of function ‘iniLoadFromFile’
/opt/fastdfs-nginx-module-read-only/src//common.c:57: error: ‘iniContext’
undeclared (first use in this function)
/opt/fastdfs-nginx-module-read-only/src//common.c:67: error: implicit
declaration of function ‘storage_load_paths_from_conf_file’
/opt/fastdfs-nginx-module-read-only/src//common.c:72: error:
‘g_fdfs_connect_timeout’ undeclared (first use in this function)
/opt/fastdfs-nginx-module-read-only/src//common.c:73: error:
‘DEFAULT_CONNECT_TIMEOUT’ undeclared (first use in this function)
/opt/fastdfs-nginx-module-read-only/src//common.c:72: error: passing argument 2
of ‘iniGetIntValue’ from incompatible pointer type
/usr/local/include/ini_file_reader.h:41: note: expected ‘struct IniItemInfo
*’ but argument is of type ‘char *’
/opt/fastdfs-nginx-module-read-only/src//common.c:79: error:
‘g_fdfs_network_timeout’ undeclared (first use in this function)
/opt/fastdfs-nginx-module-read-only/src//common.c:79: error: passing argument 2
of ‘iniGetIntValue’ from incompatible pointer type
/usr/local/include/ini_file_reader.h:41: note: expected ‘struct IniItemInfo
*’ but argument is of type ‘char *’
/opt/fastdfs-nginx-module-read-only/src//common.c:86: error: too few arguments
to function ‘load_log_level’
/opt/fastdfs-nginx-module-read-only/src//common.c:88: error: passing argument 2
of ‘iniGetStrValue’ from incompatible pointer type
/usr/local/include/ini_file_reader.h:36: note: expected ‘struct IniItemInfo
*’ but argument is of type ‘char *’
/opt/fastdfs-nginx-module-read-only/src//common.c:91: error: implicit
declaration of function ‘log_set_filename’
/opt/fastdfs-nginx-module-read-only/src//common.c:97: error: implicit
declaration of function ‘fdfs_load_tracker_group_ex’
/opt/fastdfs-nginx-module-read-only/src//common.c:97: error:
‘g_tracker_group’ undeclared (first use in this function)
/opt/fastdfs-nginx-module-read-only/src//common.c:104: error: passing argument
2 of ‘iniGetIntValue’ from incompatible pointer type
/usr/local/include/ini_file_reader.h:41: note: expected ‘struct IniItemInfo
*’ but argument is of type ‘char *’
/opt/fastdfs-nginx-module-read-only/src//common.c:107: error: passing argument
2 of ‘iniGetBoolValue’ from incompatible pointer type
/usr/local/include/ini_file_reader.h:48: note: expected ‘struct IniItemInfo
*’ but argument is of type ‘char *’
/opt/fastdfs-nginx-module-read-only/src//common.c:109: error: passing argument
2 of ‘iniGetStrValue’ from incompatible pointer type
/usr/local/include/ini_file_reader.h:36: note: expected ‘struct IniItemInfo
*’ but argument is of type ‘char *’
/opt/fastdfs-nginx-module-read-only/src//common.c:128: error: passing argument
2 of ‘fdfs_http_params_load’ makes integer from pointer without a cast
/usr/local/include/fdfs_http_shared.h:50: note: expected ‘int’ but argument
is of type ‘char *’
/opt/fastdfs-nginx-module-read-only/src//common.c:128: error: passing argument
3 of ‘fdfs_http_params_load’ from incompatible pointer type
/usr/local/include/fdfs_http_shared.h:50: note: expected ‘const char *’ but
argument is of type ‘struct FDFSHTTPParams *’
/opt/fastdfs-nginx-module-read-only/src//common.c:128: error: too few arguments
to function ‘fdfs_http_params_load’
/opt/fastdfs-nginx-module-read-only/src//common.c:134: error: passing argument
2 of ‘iniGetStrValue’ from incompatible pointer type
/usr/local/include/ini_file_reader.h:36: note: expected ‘struct IniItemInfo
*’ but argument is of type ‘char *’
/opt/fastdfs-nginx-module-read-only/src//common.c:143: error: passing argument
2 of ‘iniGetStrValue’ from incompatible pointer type
/usr/local/include/ini_file_reader.h:36: note: expected ‘struct IniItemInfo
*’ but argument is of type ‘char *’
/opt/fastdfs-nginx-module-read-only/src//common.c:146: error:
‘g_if_alias_prefix’ undeclared (first use in this function)
/opt/fastdfs-nginx-module-read-only/src//common.c:156: error: implicit
declaration of function ‘iniFreeContext’
/opt/fastdfs-nginx-module-read-only/src//common.c:162: error: implicit
declaration of function ‘load_local_host_ip_addrs’
/opt/fastdfs-nginx-module-read-only/src//common.c:185: error:
‘g_fdfs_base_path’ undeclared (first use in this function)
/opt/fastdfs-nginx-module-read-only/src//common.c:188: error:
‘g_local_host_ip_count’ undeclared (first use in this function)
/opt/fastdfs-nginx-module-read-only/src//common.c:165: error:
‘FDFSHTTPParams’ has no member named ‘need_find_content_type’
/opt/fastdfs-nginx-module-read-only/src//common.c:165: error:
‘FDFSHTTPParams’ has no member named ‘default_content_type’
/opt/fastdfs-nginx-module-read-only/src//common.c:165: error:
‘FDFSHTTPParams’ has no member named ‘token_ttl’
/opt/fastdfs-nginx-module-read-only/src//common.c:165: error:
‘FDFSHTTPParams’ has no member named ‘anti_steal_secret_key’
/opt/fastdfs-nginx-module-read-only/src//common.c:165: error:
‘FDFSHTTPParams’ has no member named ‘token_check_fail_content_type’
/opt/fastdfs-nginx-module-read-only/src//common.c:165: error:
‘FDFSHTTPParams’ has no member named ‘token_check_fail_buff’
/opt/fastdfs-nginx-module-read-only/src//common.c: In function
‘fdfs_http_request_handler’:
/opt/fastdfs-nginx-module-read-only/src//common.c:256: error:
‘FDFSFileInfo’ undeclared (first use in this function)
/opt/fastdfs-nginx-module-read-only/src//common.c:256: error: expected ‘;’
before ‘file_info’
/opt/fastdfs-nginx-module-read-only/src//common.c:260: error:
‘FDFSTrunkFullInfo’ undeclared (first use in this function)
/opt/fastdfs-nginx-module-read-only/src//common.c:260: error: expected ‘;’
before ‘trunkInfo’
/opt/fastdfs-nginx-module-read-only/src//common.c:261: error:
‘FDFSTrunkHeader’ undeclared (first use in this function)
/opt/fastdfs-nginx-module-read-only/src//common.c:261: error: expected ‘;’
before ‘trunkHeader’
/opt/fastdfs-nginx-module-read-only/src//common.c:355: error:
‘FDFSHTTPParams’ has no member named ‘anti_steal_secret_key’
/opt/fastdfs-nginx-module-read-only/src//common.c:355: error:
‘FDFSHTTPParams’ has no member named ‘token_ttl’
/opt/fastdfs-nginx-module-read-only/src//common.c:359: error:
‘FDFSHTTPParams’ has no member named ‘token_check_fail_content_type’
/opt/fastdfs-nginx-module-read-only/src//common.c:361: error:
‘FDFSHTTPParams’ has no member named ‘token_check_fail_buff’
/opt/fastdfs-nginx-module-read-only/src//common.c:362: error:
‘FDFSHTTPParams’ has no member named ‘token_check_fail_content_type’
/opt/fastdfs-nginx-module-read-only/src//common.c:365: error:
‘FDFSHTTPParams’ has no member named ‘token_check_fail_buff’
/opt/fastdfs-nginx-module-read-only/src//common.c:367: error:
‘FDFSHTTPParams’ has no member named ‘token_check_fail_buff’
/opt/fastdfs-nginx-module-read-only/src//common.c:384: error: implicit
declaration of function ‘storage_split_filename_ex’
/opt/fastdfs-nginx-module-read-only/src//common.c:397: error: implicit
declaration of function ‘fdfs_get_file_info_ex1’
/opt/fastdfs-nginx-module-read-only/src//common.c:397: error: ‘file_info’
undeclared (first use in this function)
In file included from
/opt/fastdfs-nginx-module-read-only/src//ngx_http_fastdfs_module.c:6:
/opt/fastdfs-nginx-module-read-only/src//common.c:431: error: implicit
declaration of function ‘trunk_file_stat’
/opt/fastdfs-nginx-module-read-only/src//common.c:432: error: ‘trunkInfo’
undeclared (first use in this function)
/opt/fastdfs-nginx-module-read-only/src//common.c:432: error: ‘trunkHeader’
undeclared (first use in this function)
/opt/fastdfs-nginx-module-read-only/src//common.c:447: error: implicit
declaration of function ‘is_local_host_ip’
/opt/fastdfs-nginx-module-read-only/src//common.c:529: error:
‘FDFSHTTPParams’ has no member named ‘need_find_content_type’
/opt/fastdfs-nginx-module-read-only/src//common.c:588: error: implicit
declaration of function ‘STORAGE_IS_TRUNK_FILE’
/opt/fastdfs-nginx-module-read-only/src//common.c:591: error: implicit
declaration of function ‘trunk_get_full_filename’
/opt/fastdfs-nginx-module-read-only/src//common.c:594: error: implicit
declaration of function ‘TRUNK_FILE_START_OFFSET’
/opt/fastdfs-nginx-module-read-only/src//common.c:600: error:
‘g_fdfs_store_paths’ undeclared (first use in this function)
/opt/fastdfs-nginx-module-read-only/src//common.c:625: error: implicit
declaration of function ‘STRERROR’
/opt/fastdfs-nginx-module-read-only/src//common.c: In function
‘fdfs_get_params_from_tracker’:
/opt/fastdfs-nginx-module-read-only/src//common.c:667: error: ‘IniContext’
undeclared (first use in this function)
/opt/fastdfs-nginx-module-read-only/src//common.c:667: error: expected ‘;’
before ‘iniContext’
/opt/fastdfs-nginx-module-read-only/src//common.c:672: error: implicit
declaration of function ‘fdfs_get_ini_context_from_tracker’
/opt/fastdfs-nginx-module-read-only/src//common.c:672: error:
‘g_tracker_group’ undeclared (first use in this function)
/opt/fastdfs-nginx-module-read-only/src//common.c:673: error: ‘iniContext’
undeclared (first use in this function)
/opt/fastdfs-nginx-module-read-only/src//common.c:678: error: passing argument
2 of ‘iniGetIntValue’ from incompatible pointer type
/usr/local/include/ini_file_reader.h:41: note: expected ‘struct IniItemInfo
*’ but argument is of type ‘char *’
make[1]: *** [objs/addon/src/ngx_http_fastdfs_module.o] Error 1
make[1]: Leaving directory `/opt/nginx-0.8.53'
make: *** [build] Error 2
zcq100@ubuntu-server:/opt/nginx-0.8.53$
编译不通过呢
Original comment by zcq100
on 10 Jun 2011 at 3:05
from fastdfs.
client_func.c, line: 111, conf file "/etc/fdfs/mod_fastdfs.conf", host "tracker" is invalid
我在起动 nginx时报错(Error message when I start nginx)
Original comment by [email protected]
on 28 Oct 2011 at 1:57
from fastdfs.
Related Issues (20)
- 如何卸载FastDFS HOT 1
- trackerd.log 中很多没用的信息,怎么才能让他不写 HOT 1
- FDFS_FILE_PREFIX_MAX_LEN 只能是 16吗 HOT 2
- php client broken in 5.5.8 HOT 3
- java client报错:getStoreStorage return null
- storage的一个bug HOT 3
- fastdfs 通过filename 重命名下载文件的问题
- storage出现大量response status 17 log HOT 7
- Java 客户端写的太垃圾了 HOT 1
- 在Ubuntu上执行make.sh install出现下面的错误,求指教 HOT 1
- ubunt 12.04安装完后,启动,出现以下输出,但启动不成功。
- 加急~storage文件写入失败~同步报错 HOT 4
- errno: 99, error info: Cannot assign requested address
- 新版本的下载?
- fastdfs 4.02做了rotate设置,但是没有效果
- fastDFSv4.02中,kill -HUP貌似没有效果
- tracker_mem.c:5131:13: error: use of undeclared identifier 'ENONET' HOT 1
- fastdfs的storage之间对新加的storage同步不完全
- why don't you put it onto github?
- re-sync server that is out of sync HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastdfs.