lattimore-liou / fastdfs

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

fastdfs-nginx-module_v1.05 does not compile with FastDFS_v3.00 #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. make and install FastDFS 3.00
2. configure nginx with fastdfs nginx module
3. failed to make nginx and fastdfs module

What is the expected output? What do you see instead?
make[1]:  `/home/u10/src/nginx-1.0.4'
gcc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter 
-Wunused-function -Wunused-variable -Wunused-value -Werror -g  
-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 /usr/local/include/fastdfs -I 
/usr/local/include/fastcommon/ -I objs -I src/http -I src/http/modules -I 
src/mail \
                -o objs/addon/src/ngx_http_fastdfs_module.o \
                /home/u10/src/fastdfs-nginx-module/src//ngx_http_fastdfs_module.c
In file included from 
/home/u10/src/fastdfs-nginx-module/src//ngx_http_fastdfs_module.c:6:
/home/u10/src/fastdfs-nginx-module/src//common.c: In function 
‘fdfs_http_request_handler’:
/home/u10/src/fastdfs-nginx-module/src//common.c:392: error: 
‘FDFS_FILE_PATH_LEN’ undeclared (first use in this function)
/home/u10/src/fastdfs-nginx-module/src//common.c:392: error: (Each undeclared 
identifier is reported only once
/home/u10/src/fastdfs-nginx-module/src//common.c:392: error: for each function 
it appears in.)

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by yeb...@gmail.com on 30 Jun 2011 at 2:30

GoogleCodeExporter commented 9 years ago
FastDFS_v2.10 is ok on the same machine, Ubuntu Server 10.04.2

Original comment by yeb...@gmail.com on 30 Jun 2011 at 2:33

GoogleCodeExporter commented 9 years ago
sorry,i forget to release the nginx module v1.06
this will be done today.

Original comment by happyfis...@gmail.com on 30 Jun 2011 at 4:49

GoogleCodeExporter commented 9 years ago

Original comment by happyfis...@gmail.com on 30 Jun 2011 at 8:00

GoogleCodeExporter commented 9 years ago
now, it's ok with fastdfs-nginx-module_v1.06.

Thanks!

Original comment by yeb...@gmail.com on 30 Jun 2011 at 9:34

GoogleCodeExporter commented 9 years ago

Original comment by happyfis...@gmail.com on 1 Jul 2011 at 4:08