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

Error on build nginx-ce with openssl 3.0.1 #43

Open
volgaleoking opened this issue Jun 6, 2024 · 0 comments
Open

Error on build nginx-ce with openssl 3.0.1 #43

volgaleoking opened this issue Jun 6, 2024 · 0 comments

Comments

@volgaleoking
Copy link

Hi friend, I'm trying to build nginx-ce with openssl 3.0.1, it turns out this error:

/opt/NGINX/nginx-1.26.1/modules/ssl-ct/ngx_stream_ssl_ct_module.c: In function ‘ngx_stream_ssl_ct_merge_srv_conf’:
/opt/NGINX/nginx-1.26.1/modules/ssl-ct/ngx_stream_ssl_ct_module.c:73:5: error: unknown type name ‘ngx_stream_ssl_conf_t’; did you mean ‘ngx_stream_addr_conf_t’?
   73 |     ngx_stream_ssl_conf_t *ssl_conf = ngx_stream_conf_get_module_srv_conf(cf,
      |     ^~~~~~~~~~~~~~~~~~~~~
      |     ngx_stream_addr_conf_t
/opt/NGINX/nginx-1.26.1/modules/ssl-ct/ngx_stream_ssl_ct_module.c:79:28: error: request for member ‘certificates’ in something not a structure or union
   79 |     certificates = ssl_conf->certificates;
      |                            ^~
/opt/NGINX/nginx-1.26.1/modules/ssl-ct/ngx_stream_ssl_ct_module.c:87:65: error: request for member ‘ssl’ in something not a structure or union
   87 |     return ngx_ssl_ct_merge_srv_conf(cf, parent, child, ssl_conf->ssl.ctx,
      |                                                                 ^~
/opt/NGINX/nginx-1.26.1/modules/ssl-ct/ngx_stream_ssl_ct_module.c:89:1: error: control reaches end of non-void function [-Werror=return-type]
   89 | }
      | ^
cc1: all warnings being treated as errors
make[1]: *** [objs/Makefile:3727: objs/addon/ssl-ct/ngx_stream_ssl_ct_module.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/opt/NGINX/nginx-1.26.1'
make: *** [Makefile:10: build] Error 2

Tell me what can be done?

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