We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
I just tried to compile the module with the latest version of nginx. But it has failed. Version 1.21 is running fine.
[…] configuring additional modules adding module in /home/vmuser/ngx_dav_ext + ngx_http_dav_ext_module was configured adding module in /home/vmuser/ngx_brotli-master + ngx_brotli was configured […] Configuration summary + using threads + using system PCRE library + using system OpenSSL library + using system zlib library […] cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -Wno-deprecated-declarations -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/include \ -o objs/addon/ngx_dav_ext/ngx_http_dav_ext_module.o \ /home/vmuser/ngx_dav_ext/ngx_http_dav_ext_module.c /home/vmuser/ngx_dav_ext/ngx_http_dav_ext_module.c: In function 'ngx_http_dav_ext_send_propfind': /home/vmuser/ngx_dav_ext/ngx_http_dav_ext_module.c:537:39: error: passing argument 1 of 'ngx_http_variable_unknown_header' from incompatible pointer type [-Werror=incompatible-pointer-types] 537 | if (ngx_http_variable_unknown_header(&vv, &depth_name, | ^~~ | | | ngx_http_variable_value_t * {aka ngx_variable_value_t *} In file included from src/http/ngx_http.h:30, from /home/vmuser/ngx_dav_ext/ngx_http_dav_ext_module.c:37: src/http/ngx_http_variables.h:60:64: note: expected 'ngx_http_request_t *' {aka 'struct ngx_http_request_s *'} but argument is of type 'ngx_http_variable_value_t *' {aka 'ngx_variable_value_t *'} 60 | ngx_int_t ngx_http_variable_unknown_header(ngx_http_request_t *r, | ~~~~~~~~~~~~~~~~~~~~^ /home/vmuser/ngx_dav_ext/ngx_http_dav_ext_module.c:537:44: error: passing argument 2 of 'ngx_http_variable_unknown_header' from incompatible pointer type [-Werror=incompatible-pointer-types] 537 | if (ngx_http_variable_unknown_header(&vv, &depth_name, | ^~~~~~~~~~~ | | | ngx_str_t * In file included from src/http/ngx_http.h:30, from /home/vmuser/ngx_dav_ext/ngx_http_dav_ext_module.c:37: src/http/ngx_http_variables.h:61:32: note: expected 'ngx_http_variable_value_t *' {aka 'ngx_variable_value_t *'} but argument is of type 'ngx_str_t *' 61 | ngx_http_variable_value_t *v, ngx_str_t *var, ngx_list_part_t *part, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /home/vmuser/ngx_dav_ext/ngx_http_dav_ext_module.c:538:6: error: passing argument 3 of 'ngx_http_variable_unknown_header' from incompatible pointer type [-Werror=incompatible-pointer-types] 538 | &r->headers_in.headers.part, 0) != NGX_OK) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | ngx_list_part_t * {aka struct ngx_list_part_s *} In file included from src/http/ngx_http.h:30, from /home/vmuser/ngx_dav_ext/ngx_http_dav_ext_module.c:37: src/http/ngx_http_variables.h:61:46: note: expected 'ngx_str_t *' but argument is of type 'ngx_list_part_t *' {aka 'struct ngx_list_part_s *'} 61 | ngx_http_variable_value_t *v, ngx_str_t *var, ngx_list_part_t *part, | ~~~~~~~~~~~^~~ /home/vmuser/ngx_dav_ext/ngx_http_dav_ext_module.c:537:6: error: too few arguments to function 'ngx_http_variable_unknown_header' 537 | if (ngx_http_variable_unknown_header(&vv, &depth_name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/http/ngx_http.h:30, from /home/vmuser/ngx_dav_ext/ngx_http_dav_ext_module.c:37: src/http/ngx_http_variables.h:60:11: note: declared here 60 | ngx_int_t ngx_http_variable_unknown_header(ngx_http_request_t *r, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[1]: *** [objs/Makefile:1270: objs/addon/ngx_dav_ext/ngx_http_dav_ext_module.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/home/vmuser/nginx-1.23.3' make: *** [Makefile:10: build] Error 2 Command exited with non-zero status 2 515.10user 7.40system 2:59.62elapsed 290%CPU (0avgtext+0avgdata 104912maxresident)k 0inputs+16136outputs (0major+2492972minor)pagefaults 0swaps
This is the configure line
./configure --prefix=/srv/web --user=www --group=lamp \ --with-select_module --with-poll_module --with-threads --with-file-aio --with-pcre \ --modules-path='/srv/web/usr/lib/nginx/modules' \ --conf-path='/srv/web/etc/nginx/nginx.conf' \ --http-log-path='/srv/web/var/log/nginx/access.log' \ --error-log-path='/srv/web/var/log/nginx/error.log' \ --pid-path='/srv/web/run/nginx.pid' \ --http-client-body-temp-path='/tmp/nginx/client_body' \ --http-fastcgi-temp-path='/tmp/nginx/fastcgi' \ --http-proxy-temp-path='/tmp/nginx/proxy_temp' \ --with-http_geoip_module \ --with-http_gzip_static_module \ --with-http_ssl_module \ --with-http_v2_module \ --with-http_dav_module \ --add-module=$(find /home/vmuser -maxdepth 1 -type d -name 'ngx_dav_ext*') \ --add-module=$(find /home/vmuser -maxdepth 1 -type d -name 'ngx_brotli-master*') \ --without-http_ssi_module \ --without-http_userid_module \ --without-http_split_clients_module \ --without-http_uwsgi_module \ --without-http_scgi_module \ --without-http_grpc_module \ --without-http_memcached_module \ --without-http_empty_gif_module \ --without-http_browser_module \ --without-http_upstream_random_module \ --without-http_upstream_hash_module \ --without-http_upstream_ip_hash_module \ --without-http_upstream_least_conn_module \ --without-http_upstream_keepalive_module \ --without-http_upstream_zone_module \ --without-mail_pop3_module \ --without-mail_imap_module \ --without-mail_smtp_module \ --without-stream_limit_conn_module \ --without-stream_access_module \ --without-stream_geo_module \ --without-stream_map_module \ --without-stream_split_clients_module \ --without-stream_return_module \ --without-stream_set_module \ --without-stream_upstream_random_module \ --without-stream_upstream_hash_module \ --without-stream_upstream_least_conn_module \ --without-stream_upstream_zone_module"
Can you/someone please help :)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
I just tried to compile the module with the latest version of nginx. But it has failed.
Version 1.21 is running fine.
This is the configure line
Can you/someone please help :)
The text was updated successfully, but these errors were encountered: