haohetao commented on issue #1688: URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1688#issuecomment-717648885
> > > Hi there, i am having the same issue as building nginx without quiche HTTP/3 no problem with speedpage, but this errors pop up when the speedpage and HTTP/3 with quiche ngnix > > USING THIS CONFIGURATION > > ./configure --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --user=www-data --group=www-data --with-pcre --pid-path=/var/run/ngnix.pid --build="quiche-$(git --git-dir=../quiche/.git rev-parse --short HEAD)" --with-http_v2_module --with-http_v3_module --with-openssl=../quiche/deps/boringssl --with-quiche=../quiche --with-http_ssl_module --add-module=/home/debian/modules/ngx_aws_auth-2.1.1 --add-module=/home/debian/modules/incubator-pagespeed-ngx-1.13.35.2-stable > > In file included from ../quiche/deps/boringssl/.openssl/include/openssl/ex_data.h:114, > from ../quiche/deps/boringssl/.openssl/include/openssl/bio.h:66, > from ../quiche/deps/boringssl/.openssl/include/openssl/ssl.h:147, > from src/event/ngx_event_openssl.h:15, > from src/core/ngx_core.h:84, > from /home/debian/modules/incubator-pagespeed-ngx-1.13.35.2-stable/src/log_message_handler.h:24, > from /home/debian/modules/incubator-pagespeed-ngx-1.13.35.2-stable/src/log_message_handler.cc:21: > ../quiche/deps/boringssl/.openssl/include/openssl/stack.h: In function ‘int sk_OPENSSL_STRING_call_cmp_func(stack_cmp_func, const void**, const void**)’: > > `../quiche/deps/boringssl/.openssl/include/openssl/stack.h: In function ‘int sk_OPENSSL_STRING_call_cmp_func(stack_cmp_func, const void**, const void**)’: ../quiche/deps/boringssl/.openssl/include/openssl/stack.h:298:41: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers] constptrtype a_ptr = (constptrtype)*a; \ ^ ../quiche/deps/boringssl/.openssl/include/openssl/stack.h:422:3: note: in expansion of macro ‘BORINGSSL_DEFINE_STACK_OF_IMPL’ BORINGSSL_DEFINE_STACK_OF_IMPL(type, type, const type) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../quiche/deps/boringssl/.openssl/include/openssl/stack.h:428:1: note: in expansion of macro ‘DEFINE_SPECIAL_STACK_OF’ DEFINE_SPECIAL_STACK_OF(OPENSSL_STRING) ^~~~~~~~~~~~~~~~~~~~~~~ ../quiche/deps/boringssl/.openssl/include/openssl/stack.h:299:41: error: type qualifiers ignored on cast result type [-Werror=ignored-qualifiers] constptrtype b_ptr = (constptrtype)*b; \ ^ ../quiche/deps/boringssl/.openssl/include/openssl/sta ck.h:422:3: note: in expansion of macro ‘BORINGSSL_DEFINE_STACK_OF_IMPL’ BORINGSSL_DEFINE_STACK_OF_IMPL(type, type, const type) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../quiche/deps/boringssl/.openssl/include/openssl/stack.h:428:1: note: in expansion of macro ‘DEFINE_SPECIAL_STACK_OF’ DEFINE_SPECIAL_STACK_OF(OPENSSL_STRING) ^~~~~~~~~~~~~~~~~~~~~~~ cc1plus: all warnings being treated as errors make[1]: *** [objs/Makefile:1425: objs/addon/src/log_message_handler.o] Error 1 make[1]: Leaving directory '/home/debian/nginx-1.19.0' make: *** [Makefile:8: build] Error 2` I made the same mistake with ubuntu20.04, but I got it right with 18.04 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org