Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nginx-1.18.0, ubuntu18.04, make失败 #77

Open
leonhoo opened this issue Aug 15, 2020 · 0 comments
Open

nginx-1.18.0, ubuntu18.04, make失败 #77

leonhoo opened this issue Aug 15, 2020 · 0 comments

Comments

@leonhoo
Copy link

leonhoo commented Aug 15, 2020

cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -g -O2 -fdebug-prefix-map=/data/builder/debuild/nginx-1.18.0/debian/debuild-base/nginx-1.18.0=. -fstack-protector-strong -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fPIC -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 src/http/v2 -I /usr/local/include -I src/mail -I src/stream
-o objs/addon/src/ngx_http_fastdfs_module.o
/data/fastdfs-nginx-module/src/ngx_http_fastdfs_module.c
In file included from /data/fastdfs-nginx-module/src/ngx_http_fastdfs_module.c:6:0:
/data/fastdfs-nginx-module/src/common.c: In function ‘fdfs_mod_init’:
/data/fastdfs-nginx-module/src/common.c:351:32: error: request for member ‘path’ in something not a structure or union
g_fdfs_store_paths.paths[i].path);
^
/data/fastdfs-nginx-module/src/common.c:401:47: error: request for member ‘path’ in something not a structure or union
group_store_paths[k].store_paths.paths[i].path);
^
/data/fastdfs-nginx-module/src/common.c: In function ‘fdfs_http_request_handler’:
/data/fastdfs-nginx-module/src/common.c:1088:42: error: request for member ‘path’ in something not a structure or union
pStorePaths->paths[store_path_index].path,
^
/data/fastdfs-nginx-module/src/common.c:1433:41: error: request for member ‘path’ in something not a structure or union
pStorePaths->paths[store_path_index].path,
^
objs/Makefile:1820: recipe for target 'objs/addon/src/ngx_http_fastdfs_module.o' failed
make[1]: *** [objs/addon/src/ngx_http_fastdfs_module.o] Error 1
make[1]: Leaving directory '/home/ubuntu/install/nginx-1.18.0'
Makefile:8: recipe for target 'build' failed
make: *** [build] Error 2

@leonhoo leonhoo changed the title nginx-1.18.0, make失败 nginx-1.18.0, ubuntu18.04, make失败 Aug 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant