WgsLander / fastdfs

Automatically exported from code.google.com/p/fastdfs
GNU General Public License v3.0
0 stars 0 forks source link

安装php_client的make的时候报错 #42

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
FastDFS服务都安装好了,通过fdfs_test测试通过了,但是安装php_
client的make的时候报以下错误:

[root@172-1-1-105 php_client]# make
/bin/sh /data/soft/FastDFS/php_client/libtool --mode=compile cc  -I. 
-I/data/soft/FastDFS/php_client -DPHP_ATOM_INC 
-I/data/soft/FastDFS/php_client/include -I/data/soft/FastDFS/php_client/main 
-I/data/soft/FastDFS/php_client -I/usr/local/php/include/php 
-I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM 
-I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext 
-I/usr/local/php/include/php/ext/date/lib -I/usr/local/include  -DHAVE_CONFIG_H 
 -g -O2 -Werror -Wall   -c /data/soft/FastDFS/php_client/fastdfs_client.c -o 
fastdfs_client.lo 
mkdir .libs
 cc -I. -I/data/soft/FastDFS/php_client -DPHP_ATOM_INC -I/data/soft/FastDFS/php_client/include -I/data/soft/FastDFS/php_client/main -I/data/soft/FastDFS/php_client -I/usr/local/php/include/php -I/usr/local/php/include/php/main -I/usr/local/php/include/php/TSRM -I/usr/local/php/include/php/Zend -I/usr/local/php/include/php/ext -I/usr/local/php/include/php/ext/date/lib -I/usr/local/include -DHAVE_CONFIG_H -g -O2 -Werror -Wall -c /data/soft/FastDFS/php_client/fastdfs_client.c  -fPIC -DPIC -o .libs/fastdfs_client.o
/data/soft/FastDFS/php_client/fastdfs_client.c:80: error: expected '=', ',', 
';', 'asm' or '__attribute__' before 'fastdfs_client_functions'
/data/soft/FastDFS/php_client/fastdfs_client.c:116: error: 
'fastdfs_client_functions' undeclared here (not in a function)
/data/soft/FastDFS/php_client/fastdfs_client.c: In function 'php_fdfs_new':
/data/soft/FastDFS/php_client/fastdfs_client.c:3346: error: 'zend_class_entry' 
has no member named 'default_properties'
make: *** [fastdfs_client.lo] Error 1

我直接从make开始都贴出来了,望高手相助,本地PHP环境是5.4.
8

Original issue reported on code.google.com by cuilin0...@gmail.com on 30 Jan 2013 at 3:23

GoogleCodeExporter commented 8 years ago
请使用最新的server端版本,比如目前的v4.05。

Original comment by happyfis...@gmail.com on 2 Feb 2013 at 3:49