openresty-1.17.8.1rc1 在openssl-1.1.1e下编译错误

133 views
Skip to first unread message

lhmwzy

unread,
Mar 28, 2020, 7:54:34 AM3/28/20
to open...@googlegroups.com
#uname -a
DragonFly xxxx.com 5.8-RELEASE DragonFly v5.8.0.4.g1c9a5-RELEASE #0: Tue Mar 17 22:03:07 CST 2020     ro...@xxxx.com:/usr/obj/usr/src/sys/lhmwzy  x86_64

# ./configure --with-openssl=/home/lhm/openssl-1.1.1e/
#gmake
出错信息如下:
cc -c -I/home/lhm/openresty-1.17.8.1rc1/build/luajit-root/usr/local/openresty/luajit/include/luajit-2.1 -I/home/lhm/openresty-1.17.8.1rc1/build/luajit-root/usr/local/openresty/luajit/include/luajit-2.1  -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -DNDK_SET_VAR -DNDK_UPSTREAM_LIST -DNDK_SET_VAR -DNDK_SET_VAR -DNDK_SET_VAR -DNDK_SET_VAR  -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../ngx_devel_kit-0.3.1rc1/objs -I objs/addon/ndk -I ../ngx_lua-0.10.16rc5/src/api -I ../ngx_stream_lua-0.0.8rc3/src/api -I /usr/local/include -I /home/lhm/openssl-1.1.1e/.openssl/include -I objs -I src/http -I src/http/modules -I ../ngx_devel_kit-0.3.1rc1/src -I ../ngx_devel_kit-0.3.1rc1/src -I ../ngx_devel_kit-0.3.1rc1/objs -I objs/addon/ndk -I /home/lhm/openresty-1.17.8.1rc1/build/luajit-root/usr/local/openresty/luajit/include/luajit-2.1 -I src/stream -I /home/lhm/openresty-1.17.8.1rc1/build/luajit-root/usr/local/openresty/luajit/include/luajit-2.1 \
        -o objs/addon/src/ngx_stream_lua_ssl_certby.o \
        ../ngx_stream_lua-0.0.8rc3/src/ngx_stream_lua_ssl_certby.c
cc -c -I/home/lhm/openresty-1.17.8.1rc1/build/luajit-root/usr/local/openresty/luajit/include/luajit-2.1 -I/home/lhm/openresty-1.17.8.1rc1/build/luajit-root/usr/local/openresty/luajit/include/luajit-2.1  -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -DNDK_SET_VAR -DNDK_UPSTREAM_LIST -DNDK_SET_VAR -DNDK_SET_VAR -DNDK_SET_VAR -DNDK_SET_VAR  -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../ngx_devel_kit-0.3.1rc1/objs -I objs/addon/ndk -I ../ngx_lua-0.10.16rc5/src/api -I ../ngx_stream_lua-0.0.8rc3/src/api -I /usr/local/include -I /home/lhm/openssl-1.1.1e/.openssl/include -I objs -I src/http -I src/http/modules -I ../ngx_devel_kit-0.3.1rc1/src -I ../ngx_devel_kit-0.3.1rc1/src -I ../ngx_devel_kit-0.3.1rc1/objs -I objs/addon/ndk -I /home/lhm/openresty-1.17.8.1rc1/build/luajit-root/usr/local/openresty/luajit/include/luajit-2.1 -I src/stream -I /home/lhm/openresty-1.17.8.1rc1/build/luajit-root/usr/local/openresty/luajit/include/luajit-2.1 \
        -o objs/addon/src/ngx_stream_lua_log_ringbuf.o \
        ../ngx_stream_lua-0.0.8rc3/src/ngx_stream_lua_log_ringbuf.c
cc -c -I/home/lhm/openresty-1.17.8.1rc1/build/luajit-root/usr/local/openresty/luajit/include/luajit-2.1 -I/home/lhm/openresty-1.17.8.1rc1/build/luajit-root/usr/local/openresty/luajit/include/luajit-2.1  -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -DNDK_SET_VAR -DNDK_UPSTREAM_LIST -DNDK_SET_VAR -DNDK_SET_VAR -DNDK_SET_VAR -DNDK_SET_VAR  -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../ngx_devel_kit-0.3.1rc1/objs -I objs/addon/ndk -I ../ngx_lua-0.10.16rc5/src/api -I ../ngx_stream_lua-0.0.8rc3/src/api -I /usr/local/include -I /home/lhm/openssl-1.1.1e/.openssl/include -I objs -I src/http -I src/http/modules -I ../ngx_devel_kit-0.3.1rc1/src -I ../ngx_devel_kit-0.3.1rc1/src -I ../ngx_devel_kit-0.3.1rc1/objs -I objs/addon/ndk -I /home/lhm/openresty-1.17.8.1rc1/build/luajit-root/usr/local/openresty/luajit/include/luajit-2.1 -I src/stream -I /home/lhm/openresty-1.17.8.1rc1/build/luajit-root/usr/local/openresty/luajit/include/luajit-2.1 \
        -o objs/addon/src/ngx_stream_lua_input_filters.o \
        ../ngx_stream_lua-0.0.8rc3/src/ngx_stream_lua_input_filters.c
cc -c -I/home/lhm/openresty-1.17.8.1rc1/build/luajit-root/usr/local/openresty/luajit/include/luajit-2.1 -I/home/lhm/openresty-1.17.8.1rc1/build/luajit-root/usr/local/openresty/luajit/include/luajit-2.1  -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -DNDK_SET_VAR -DNDK_UPSTREAM_LIST -DNDK_SET_VAR -DNDK_SET_VAR -DNDK_SET_VAR -DNDK_SET_VAR -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../ngx_devel_kit-0.3.1rc1/objs -I objs/addon/ndk -I ../ngx_lua-0.10.16rc5/src/api -I ../ngx_stream_lua-0.0.8rc3/src/api -I /usr/local/include -I /home/lhm/openssl-1.1.1e/.openssl/include -I objs \
        -o objs/ngx_modules.o \
        objs/ngx_modules.c
cc -o objs/nginx \
objs/src/core/nginx.o \
objs/src/core/ngx_log.o \
objs/src/core/ngx_palloc.o \
objs/src/core/ngx_array.o \
objs/src/core/ngx_list.o \
objs/src/core/ngx_hash.o \
objs/src/core/ngx_buf.o \
objs/src/core/ngx_queue.o \
objs/src/core/ngx_output_chain.o \
objs/src/core/ngx_string.o \
objs/src/core/ngx_parse.o \
objs/src/core/ngx_parse_time.o \
objs/src/core/ngx_inet.o \
objs/src/core/ngx_file.o \
objs/src/core/ngx_crc32.o \
objs/src/core/ngx_murmurhash.o \
objs/src/core/ngx_md5.o \
objs/src/core/ngx_sha1.o \
objs/src/core/ngx_rbtree.o \
objs/src/core/ngx_radix_tree.o \
objs/src/core/ngx_slab.o \
objs/src/core/ngx_times.o \
objs/src/core/ngx_shmtx.o \
objs/src/core/ngx_connection.o \
objs/src/core/ngx_cycle.o \
objs/src/core/ngx_spinlock.o \
objs/src/core/ngx_rwlock.o \
objs/src/core/ngx_cpuinfo.o \
objs/src/core/ngx_conf_file.o \
objs/src/core/ngx_module.o \
objs/src/core/ngx_resolver.o \
objs/src/core/ngx_open_file_cache.o \
objs/src/core/ngx_crypt.o \
objs/src/core/ngx_proxy_protocol.o \
objs/src/core/ngx_syslog.o \
objs/src/event/ngx_event.o \
objs/src/event/ngx_event_timer.o \
objs/src/event/ngx_event_posted.o \
objs/src/event/ngx_event_accept.o \
objs/src/event/ngx_event_udp.o \
objs/src/event/ngx_event_connect.o \
objs/src/event/ngx_event_pipe.o \
objs/src/os/unix/ngx_time.o \
objs/src/os/unix/ngx_errno.o \
objs/src/os/unix/ngx_alloc.o \
objs/src/os/unix/ngx_files.o \
objs/src/os/unix/ngx_socket.o \
objs/src/os/unix/ngx_recv.o \
objs/src/os/unix/ngx_readv_chain.o \
objs/src/os/unix/ngx_udp_recv.o \
objs/src/os/unix/ngx_send.o \
objs/src/os/unix/ngx_writev_chain.o \
objs/src/os/unix/ngx_udp_send.o \
objs/src/os/unix/ngx_udp_sendmsg_chain.o \
objs/src/os/unix/ngx_channel.o \
objs/src/os/unix/ngx_shmem.o \
objs/src/os/unix/ngx_process.o \
objs/src/os/unix/ngx_daemon.o \
objs/src/os/unix/ngx_setaffinity.o \
objs/src/os/unix/ngx_setproctitle.o \
objs/src/os/unix/ngx_posix_init.o \
objs/src/os/unix/ngx_user.o \
objs/src/os/unix/ngx_dlopen.o \
objs/src/os/unix/ngx_process_cycle.o \
objs/src/os/unix/ngx_freebsd_init.o \
objs/src/os/unix/ngx_freebsd_sendfile_chain.o \
objs/src/event/modules/ngx_kqueue_module.o \
objs/src/event/ngx_event_openssl.o \
objs/src/event/ngx_event_openssl_stapling.o \
objs/src/core/ngx_regex.o \
objs/src/http/ngx_http.o \
objs/src/http/ngx_http_core_module.o \
objs/src/http/ngx_http_special_response.o \
objs/src/http/ngx_http_request.o \
objs/src/http/ngx_http_parse.o \
objs/src/http/modules/ngx_http_log_module.o \
objs/src/http/ngx_http_request_body.o \
objs/src/http/ngx_http_variables.o \
objs/src/http/ngx_http_script.o \
objs/src/http/ngx_http_upstream.o \
objs/src/http/ngx_http_upstream_round_robin.o \
objs/src/http/ngx_http_file_cache.o \
objs/src/http/ngx_http_write_filter_module.o \
objs/src/http/ngx_http_header_filter_module.o \
objs/src/http/modules/ngx_http_chunked_filter_module.o \
objs/src/http/modules/ngx_http_range_filter_module.o \
objs/src/http/modules/ngx_http_gzip_filter_module.o \
objs/src/http/ngx_http_postpone_filter_module.o \
objs/src/http/modules/ngx_http_ssi_filter_module.o \
objs/src/http/modules/ngx_http_charset_filter_module.o \
objs/src/http/modules/ngx_http_userid_filter_module.o \
objs/src/http/modules/ngx_http_headers_filter_module.o \
objs/src/http/ngx_http_copy_filter_module.o \
objs/src/http/modules/ngx_http_not_modified_filter_module.o \
objs/src/http/modules/ngx_http_static_module.o \
objs/src/http/modules/ngx_http_autoindex_module.o \
objs/src/http/modules/ngx_http_index_module.o \
objs/src/http/modules/ngx_http_mirror_module.o \
objs/src/http/modules/ngx_http_try_files_module.o \
objs/src/http/modules/ngx_http_auth_basic_module.o \
objs/src/http/modules/ngx_http_access_module.o \
objs/src/http/modules/ngx_http_limit_conn_module.o \
objs/src/http/modules/ngx_http_limit_req_module.o \
objs/src/http/modules/ngx_http_geo_module.o \
objs/src/http/modules/ngx_http_map_module.o \
objs/src/http/modules/ngx_http_split_clients_module.o \
objs/src/http/modules/ngx_http_referer_module.o \
objs/src/http/modules/ngx_http_rewrite_module.o \
objs/src/http/modules/ngx_http_ssl_module.o \
objs/src/http/modules/ngx_http_proxy_module.o \
objs/src/http/modules/ngx_http_fastcgi_module.o \
objs/src/http/modules/ngx_http_uwsgi_module.o \
objs/src/http/modules/ngx_http_scgi_module.o \
objs/src/http/modules/ngx_http_memcached_module.o \
objs/src/http/modules/ngx_http_empty_gif_module.o \
objs/src/http/modules/ngx_http_browser_module.o \
objs/src/http/modules/ngx_http_upstream_hash_module.o \
objs/src/http/modules/ngx_http_upstream_ip_hash_module.o \
objs/src/http/modules/ngx_http_upstream_least_conn_module.o \
objs/src/http/modules/ngx_http_upstream_random_module.o \
objs/src/http/modules/ngx_http_upstream_keepalive_module.o \
objs/src/http/modules/ngx_http_upstream_zone_module.o \
objs/src/stream/ngx_stream.o \
objs/src/stream/ngx_stream_variables.o \
objs/src/stream/ngx_stream_script.o \
objs/src/stream/ngx_stream_handler.o \
objs/src/stream/ngx_stream_core_module.o \
objs/src/stream/ngx_stream_log_module.o \
objs/src/stream/ngx_stream_proxy_module.o \
objs/src/stream/ngx_stream_upstream.o \
objs/src/stream/ngx_stream_upstream_round_robin.o \
objs/src/stream/ngx_stream_write_filter_module.o \
objs/src/stream/ngx_stream_ssl_module.o \
objs/src/stream/ngx_stream_limit_conn_module.o \
objs/src/stream/ngx_stream_access_module.o \
objs/src/stream/ngx_stream_geo_module.o \
objs/src/stream/ngx_stream_map_module.o \
objs/src/stream/ngx_stream_split_clients_module.o \
objs/src/stream/ngx_stream_return_module.o \
objs/src/stream/ngx_stream_upstream_hash_module.o \
objs/src/stream/ngx_stream_upstream_least_conn_module.o \
objs/src/stream/ngx_stream_upstream_random_module.o \
objs/src/stream/ngx_stream_upstream_zone_module.o \
objs/src/stream/ngx_stream_ssl_preread_module.o \
objs/addon/src/ndk.o \
objs/addon/src/ngx_http_echo_module.o \
objs/addon/src/ngx_http_echo_util.o \
objs/addon/src/ngx_http_echo_timer.o \
objs/addon/src/ngx_http_echo_var.o \
objs/addon/src/ngx_http_echo_handler.o \
objs/addon/src/ngx_http_echo_filter.o \
objs/addon/src/ngx_http_echo_sleep.o \
objs/addon/src/ngx_http_echo_location.o \
objs/addon/src/ngx_http_echo_echo.o \
objs/addon/src/ngx_http_echo_request_info.o \
objs/addon/src/ngx_http_echo_subrequest.o \
objs/addon/src/ngx_http_echo_foreach.o \
objs/addon/src/ngx_http_xss_filter_module.o \
objs/addon/src/ngx_http_xss_util.o \
objs/addon/src/ngx_coolkit_handlers.o \
objs/addon/src/ngx_coolkit_module.o \
objs/addon/src/ngx_coolkit_variables.o \
objs/addon/src/ngx_http_set_base32.o \
objs/addon/src/ngx_http_set_default_value.o \
objs/addon/src/ngx_http_set_hashed_upstream.o \
objs/addon/src/ngx_http_set_quote_sql.o \
objs/addon/src/ngx_http_set_quote_json.o \
objs/addon/src/ngx_http_set_unescape_uri.o \
objs/addon/src/ngx_http_set_misc_module.o \
objs/addon/src/ngx_http_set_escape_uri.o \
objs/addon/src/ngx_http_set_hash.o \
objs/addon/src/ngx_http_set_local_today.o \
objs/addon/src/ngx_http_set_hex.o \
objs/addon/src/ngx_http_set_base64.o \
objs/addon/src/ngx_http_set_random.o \
objs/addon/src/ngx_http_set_secure_random.o \
objs/addon/src/ngx_http_set_rotate.o \
objs/addon/src/ngx_http_set_hmac.o \
objs/addon/src/ngx_http_form_input_module.o \
objs/addon/src/ngx_http_encrypted_session_module.o \
objs/addon/src/ngx_http_encrypted_session_cipher.o \
objs/addon/src/ngx_http_srcache_filter_module.o \
objs/addon/src/ngx_http_srcache_util.o \
objs/addon/src/ngx_http_srcache_var.o \
objs/addon/src/ngx_http_srcache_store.o \
objs/addon/src/ngx_http_srcache_fetch.o \
objs/addon/src/ngx_http_srcache_headers.o \
objs/addon/src/ngx_http_lua_script.o \
objs/addon/src/ngx_http_lua_log.o \
objs/addon/src/ngx_http_lua_subrequest.o \
objs/addon/src/ngx_http_lua_ndk.o \
objs/addon/src/ngx_http_lua_control.o \
objs/addon/src/ngx_http_lua_time.o \
objs/addon/src/ngx_http_lua_misc.o \
objs/addon/src/ngx_http_lua_variable.o \
objs/addon/src/ngx_http_lua_string.o \
objs/addon/src/ngx_http_lua_output.o \
objs/addon/src/ngx_http_lua_headers.o \
objs/addon/src/ngx_http_lua_req_body.o \
objs/addon/src/ngx_http_lua_uri.o \
objs/addon/src/ngx_http_lua_args.o \
objs/addon/src/ngx_http_lua_ctx.o \
objs/addon/src/ngx_http_lua_regex.o \
objs/addon/src/ngx_http_lua_module.o \
objs/addon/src/ngx_http_lua_headers_out.o \
objs/addon/src/ngx_http_lua_headers_in.o \
objs/addon/src/ngx_http_lua_directive.o \
objs/addon/src/ngx_http_lua_consts.o \
objs/addon/src/ngx_http_lua_exception.o \
objs/addon/src/ngx_http_lua_util.o \
objs/addon/src/ngx_http_lua_cache.o \
objs/addon/src/ngx_http_lua_contentby.o \
objs/addon/src/ngx_http_lua_rewriteby.o \
objs/addon/src/ngx_http_lua_accessby.o \
objs/addon/src/ngx_http_lua_setby.o \
objs/addon/src/ngx_http_lua_capturefilter.o \
objs/addon/src/ngx_http_lua_clfactory.o \
objs/addon/src/ngx_http_lua_pcrefix.o \
objs/addon/src/ngx_http_lua_headerfilterby.o \
objs/addon/src/ngx_http_lua_shdict.o \
objs/addon/src/ngx_http_lua_socket_tcp.o \
objs/addon/src/ngx_http_lua_api.o \
objs/addon/src/ngx_http_lua_logby.o \
objs/addon/src/ngx_http_lua_sleep.o \
objs/addon/src/ngx_http_lua_semaphore.o \
objs/addon/src/ngx_http_lua_coroutine.o \
objs/addon/src/ngx_http_lua_bodyfilterby.o \
objs/addon/src/ngx_http_lua_initby.o \
objs/addon/src/ngx_http_lua_initworkerby.o \
objs/addon/src/ngx_http_lua_socket_udp.o \
objs/addon/src/ngx_http_lua_req_method.o \
objs/addon/src/ngx_http_lua_phase.o \
objs/addon/src/ngx_http_lua_uthread.o \
objs/addon/src/ngx_http_lua_timer.o \
objs/addon/src/ngx_http_lua_config.o \
objs/addon/src/ngx_http_lua_worker.o \
objs/addon/src/ngx_http_lua_ssl_certby.o \
objs/addon/src/ngx_http_lua_ssl_ocsp.o \
objs/addon/src/ngx_http_lua_lex.o \
objs/addon/src/ngx_http_lua_balancer.o \
objs/addon/src/ngx_http_lua_ssl_session_storeby.o \
objs/addon/src/ngx_http_lua_ssl_session_fetchby.o \
objs/addon/src/ngx_http_lua_ssl.o \
objs/addon/src/ngx_http_lua_log_ringbuf.o \
objs/addon/src/ngx_http_lua_input_filters.o \
objs/addon/src/ngx_http_lua_pipe.o \
objs/addon/src/ngx_http_lua_upstream_module.o \
objs/addon/src/ngx_http_headers_more_filter_module.o \
objs/addon/src/ngx_http_headers_more_headers_out.o \
objs/addon/src/ngx_http_headers_more_headers_in.o \
objs/addon/src/ngx_http_headers_more_util.o \
objs/addon/src/ngx_http_array_var_module.o \
objs/addon/src/ngx_http_array_var_util.o \
objs/addon/src/ngx_http_memc_module.o \
objs/addon/src/ngx_http_memc_request.o \
objs/addon/src/ngx_http_memc_response.o \
objs/addon/src/ngx_http_memc_util.o \
objs/addon/src/ngx_http_memc_handler.o \
objs/addon/src/ngx_http_redis2_module.o \
objs/addon/src/ngx_http_redis2_handler.o \
objs/addon/src/ngx_http_redis2_reply.o \
objs/addon/src/ngx_http_redis2_util.o \
objs/addon/redis-nginx-module-0.3.7/ngx_http_redis_module.o \
objs/addon/src/ngx_http_rds_json_filter_module.o \
objs/addon/src/ngx_http_rds_json_processor.o \
objs/addon/src/ngx_stream_lua_cache.o \
objs/addon/src/ngx_stream_lua_clfactory.o \
objs/addon/src/ngx_stream_lua_exception.o \
objs/addon/src/ngx_stream_lua_pcrefix.o \
objs/addon/src/ngx_stream_lua_uthread.o \
objs/addon/src/ngx_stream_lua_coroutine.o \
objs/addon/src/ngx_stream_lua_output.o \
objs/addon/src/ngx_stream_lua_consts.o \
objs/addon/src/ngx_stream_lua_log.o \
objs/addon/src/ngx_stream_lua_time.o \
objs/addon/src/ngx_stream_lua_string.o \
objs/addon/src/ngx_stream_lua_control.o \
objs/addon/src/ngx_stream_lua_sleep.o \
objs/addon/src/ngx_stream_lua_phase.o \
objs/addon/src/ngx_stream_lua_ctx.o \
objs/addon/src/ngx_stream_lua_regex.o \
objs/addon/src/ngx_stream_lua_script.o \
objs/addon/src/ngx_stream_lua_shdict.o \
objs/addon/src/ngx_stream_lua_variable.o \
objs/addon/src/ngx_stream_lua_timer.o \
objs/addon/src/ngx_stream_lua_config.o \
objs/addon/src/ngx_stream_lua_worker.o \
objs/addon/src/ngx_stream_lua_misc.o \
objs/addon/src/ngx_stream_lua_initby.o \
objs/addon/src/ngx_stream_lua_initworkerby.o \
objs/addon/src/ngx_stream_lua_socket_tcp.o \
objs/addon/src/ngx_stream_lua_socket_udp.o \
objs/addon/src/ngx_stream_lua_args.o \
objs/addon/src/ngx_stream_lua_ssl.o \
objs/addon/src/ngx_stream_lua_balancer.o \
objs/addon/src/ngx_stream_lua_logby.o \
objs/addon/src/ngx_stream_lua_prereadby.o \
objs/addon/src/ngx_stream_lua_input_filters.o \
objs/ngx_modules.o \
-L/home/lhm/openresty-1.17.8.1rc1/build/luajit-root/usr/local/openresty/luajit/lib -L/home/lhm/openresty-1.17.8.1rc1/build/luajit-root/usr/local/openresty/luajit/lib -Wl,-rpath,/usr/local/openresty/luajit/lib -Wl,-E -Wl,--undefined=pcre_version -Wl,-E -lcrypt -L/home/lhm/openresty-1.17.8.1rc1/build/luajit-root/usr/local/openresty/luajit/lib -lluajit-5.1 -lm -ldl -L/home/lhm/openresty-1.17.8.1rc1/build/luajit-root/usr/local/openresty/luajit/lib -lluajit-5.1 -lm -ldl -L/usr/local/lib -lpcre /home/lhm/openssl-1.1.1e/.openssl/lib/libssl.a /home/lhm/openssl-1.1.1e/.openssl/lib/libcrypto.a -lz \-Wl,-E
src/event/ngx_event_openssl.c:648: error: undefined reference to 'sk_new_null'
src/event/ngx_event_openssl.c:679: error: undefined reference to 'sk_push'
src/event/ngx_event_openssl.c:683: error: undefined reference to 'sk_pop_free'
src/event/ngx_event_openssl.c:185: error: undefined reference to 'SSL_get_ex_new_index'
src/event/ngx_event_openssl.c:192: error: undefined reference to 'SSL_CTX_get_ex_new_index'
src/event/ngx_event_openssl.c:200: error: undefined reference to 'SSL_CTX_get_ex_new_index'
src/event/ngx_event_openssl.c:208: error: undefined reference to 'SSL_CTX_get_ex_new_index'
src/event/ngx_event_openssl.c:216: error: undefined reference to 'SSL_CTX_get_ex_new_index'
src/event/ngx_event_openssl.c:224: error: undefined reference to 'X509_get_ex_new_index'
src/event/ngx_event_openssl.c:231: error: undefined reference to 'X509_get_ex_new_index'
src/event/ngx_event_openssl.c:239: error: undefined reference to 'X509_get_ex_new_index'
src/event/ngx_event_openssl.c:253: error: undefined reference to 'SSLv23_method'
src/event/ngx_event_openssl.c:352: error: undefined reference to 'SSL_CTX_set_min_proto_version'
src/event/ngx_event_openssl.c:353: error: undefined reference to 'SSL_CTX_set_max_proto_version'
src/event/ngx_event_openssl.c:478: error: undefined reference to 'SSL_CTX_set0_chain'
src/event/ngx_event_openssl.c:445: error: undefined reference to 'sk_pop_free'
src/event/ngx_event_openssl.c:481: error: undefined reference to 'sk_pop_free'
src/event/ngx_event_openssl.c:571: error: undefined reference to 'SSL_set0_chain'
src/event/ngx_event_openssl.c:557: error: undefined reference to 'sk_pop_free'
src/event/ngx_event_openssl.c:1388: error: undefined reference to 'SSL_CTX_set1_groups_list'
src/event/ngx_event_openssl.c:2738: error: undefined reference to 'SSL_state'
src/event/ngx_event_openssl.c:3171: error: undefined reference to 'EVP_MD_CTX_create'
src/event/ngx_event_openssl.c:3263: error: undefined reference to 'EVP_MD_CTX_destroy'
src/event/ngx_event_openssl.c:3226: error: undefined reference to 'sk_num'
src/event/ngx_event_openssl.c:3229: error: undefined reference to 'sk_value'
src/event/ngx_event_openssl.c:3251: error: undefined reference to 'EVP_MD_CTX_destroy'
src/event/ngx_event_openssl_stapling.c:237: error: undefined reference to 'd2i_OCSP_RESPONSE_bio'
src/event/ngx_event_openssl_stapling.c:308: error: undefined reference to 'sk_num'
src/event/ngx_event_openssl_stapling.c:314: error: undefined reference to 'sk_value'
src/event/ngx_event_openssl_stapling.c:404: error: undefined reference to 'sk_value'
../ngx_lua-0.10.16rc5/src/ngx_http_lua_ssl_certby.c:1067: error: undefined reference to 'sk_new_null'
../ngx_lua-0.10.16rc5/src/ngx_http_lua_ssl_certby.c:1076: error: undefined reference to 'sk_push'
../ngx_lua-0.10.16rc5/src/ngx_http_lua_ssl_certby.c:1110: error: undefined reference to 'sk_push'
../ngx_lua-0.10.16rc5/src/ngx_http_lua_ssl_certby.c:1078: error: undefined reference to 'sk_free'
../ngx_lua-0.10.16rc5/src/ngx_http_lua_ssl_ocsp.c:69: error: undefined reference to 'sk_value'
../ngx_lua-0.10.16rc5/src/ngx_http_lua_ssl_ocsp.c:340: error: undefined reference to 'sk_new_null'
../ngx_lua-0.10.16rc5/src/ngx_http_lua_ssl_ocsp.c:347: error: undefined reference to 'sk_push'
../ngx_lua-0.10.16rc5/src/ngx_http_lua_ssl_ocsp.c:386: error: undefined reference to 'sk_free'
../ngx_lua-0.10.16rc5/src/ngx_http_lua_ssl_ocsp.c:399: error: undefined reference to 'sk_free'
../ngx_lua-0.10.16rc5/src/ngx_http_lua_ssl_ocsp.c:399: error: undefined reference to 'sk_free'
../ngx_lua-0.10.16rc5/src/ngx_http_lua_ssl.c:23: error: undefined reference to 'SSL_get_ex_new_index'
../ngx_stream_lua-0.0.8rc3/src/ngx_stream_lua_ssl.c:31: error: undefined reference to 'SSL_get_ex_new_index'
../ngx_stream_lua-0.0.8rc3/src/ngx_stream_lua_ssl_certby.c:1090: error: undefined reference to 'sk_new_null'

DeJiang Zhu

unread,
Mar 31, 2020, 12:27:54 PM3/31/20
to open...@googlegroups.com
你试试 1.1.0x 呢?

ps: 推荐使用论坛来交流,有更多的人关注,也方便被搜索引擎收录

lhmwzy <lhm...@gmail.com> 于2020年3月28日周六 下午7:54写道:
--
--
邮件来自列表“openresty”,专用于技术讨论!
订阅: 请发空白邮件到 openresty...@googlegroups.com
发言: 请发邮件到 open...@googlegroups.com
退订: 请发邮件至 openresty+...@googlegroups.com
归档: http://groups.google.com/group/openresty
官网: http://openresty.org/
仓库: https://github.com/agentzh/ngx_openresty
教程: http://openresty.org/download/agentzh-nginx-tutorials-zhcn.html
---
您收到此邮件是因为您订阅了Google网上论坛上的“openresty”群组。
要退订此群组并停止接收此群组的电子邮件,请发送电子邮件到openresty+...@googlegroups.com
要在网络上查看此讨论,请访问https://groups.google.com/d/msgid/openresty/CALL55giQQVrqvqe669MGfve0gWKHfp9gkVM1XwtDEpbBL2Tzjw%40mail.gmail.com

Louis He

unread,
Apr 4, 2020, 10:17:04 AM4/4/20
to openresty
编译应该是没问题的我前两用编译过,不过不建议用e版好像有小bug. 我在openresty日志中看到错误google搜了一下,在github上看到说会在f版中修复。 我已经用回d版本了 https://github.com/openssl/openssl/issues/11388


在 2020年3月28日星期六 UTC+8下午7:54:34,lhmwzy写道:

Louis He

unread,
Apr 4, 2020, 10:18:46 AM4/4/20
to openresty
哦我用的是OpenResty 1.15.8.3 不是rc版本

在 2020年4月4日星期六 UTC+8下午10:17:04,Louis He写道:
Reply all
Reply to author
Forward
0 new messages