v1.28 can't be built under DragonFlyBSD
lhmwzy
lhmwzy at 126.com
Wed Oct 12 13:02:16 UTC 2022
#make
.....
cc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -I/usr/local/include -I src -I build -I/usr/local/include -o build/src/nxt_pcre2.o -MMD -MF build/src/nxt_pcre2.dep -MT build/src/nxt_pcre2.o src/nxt_pcre2.c
cc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -I/usr/local/include -I src -I build -I/usr/local/include -o build/src/nxt_kqueue_engine.o -MMD -MF build/src/nxt_kqueue_engine.dep -MT build/src/nxt_kqueue_engine.o src/nxt_kqueue_engine.c
cc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -I/usr/local/include -I src -I build -I/usr/local/include -o build/src/nxt_poll_engine.o -MMD -MF build/src/nxt_poll_engine.dep -MT build/src/nxt_poll_engine.o src/nxt_poll_engine.c
cc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -I/usr/local/include -I src -I build -I/usr/local/include -o build/src/nxt_select_engine.o -MMD -MF build/src/nxt_select_engine.dep -MT build/src/nxt_select_engine.o src/nxt_select_engine.c
cc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -I/usr/local/include -I src -I build -I/usr/local/include -o build/src/nxt_freebsd_sendfile.o -MMD -MF build/src/nxt_freebsd_sendfile.dep -MT build/src/nxt_freebsd_sendfile.o src/nxt_freebsd_sendfile.c
ar -r -c build/libnxt.a build/src/nxt_lib.o build/src/nxt_gmtime.o build/src/nxt_errno.o build/src/nxt_time.o build/src/nxt_malloc.o build/src/nxt_file.o build/src/nxt_mem_map.o build/src/nxt_socket.o build/src/nxt_socketpair.o build/src/nxt_socket_msg.o build/src/nxt_credential.o build/src/nxt_isolation.o build/src/nxt_process.o build/src/nxt_process_title.o build/src/nxt_signal.o build/src/nxt_port_socket.o build/src/nxt_port_memory.o build/src/nxt_port_rpc.o build/src/nxt_port.o build/src/nxt_dyld.o build/src/nxt_random.o build/src/nxt_queue.o build/src/nxt_rbtree.o build/src/nxt_mp.o build/src/nxt_mem_zone.o build/src/nxt_string.o build/src/nxt_utf8.o build/src/nxt_parse.o build/src/nxt_sprintf.o build/src/nxt_var.o build/src/nxt_file_name.o build/src/nxt_log.o build/src/nxt_djb_hash.o build/src/nxt_murmur_hash.o build/src/nxt_lvlhsh.o build/src/nxt_array.o build/src/nxt_vector.o build/src/nxt_list.o build/src/nxt_buf.o build/src/nxt_buf_pool.o build/src/nxt_recvbuf.o build/src/nxt_sendbuf.o build/src/nxt_thread.o build/src/nxt_thread_mutex.o build/src/nxt_thread_cond.o build/src/nxt_spinlock.o build/src/nxt_semaphore.o build/src/nxt_thread_pool.o build/src/nxt_thread_time.o build/src/nxt_time_parse.o build/src/nxt_work_queue.o build/src/nxt_service.o build/src/nxt_log_moderation.o build/src/nxt_event_engine.o build/src/nxt_timer.o build/src/nxt_fd_event.o build/src/nxt_conn.o build/src/nxt_conn_connect.o build/src/nxt_conn_accept.o build/src/nxt_conn_read.o build/src/nxt_conn_write.o build/src/nxt_conn_close.o build/src/nxt_event_conn_job_sendfile.o build/src/nxt_conn_proxy.o build/src/nxt_job.o build/src/nxt_sockaddr.o build/src/nxt_listen_socket.o build/src/nxt_upstream.o build/src/nxt_upstream_round_robin.o build/src/nxt_http_parse.o build/src/nxt_app_log.o build/src/nxt_capability.o build/src/nxt_runtime.o build/src/nxt_conf.o build/src/nxt_conf_validation.o build/src/nxt_main_process.o build/src/nxt_signal_handlers.o build/src/nxt_controller.o build/src/nxt_router.o build/src/nxt_router_access_log.o build/src/nxt_h1proto.o build/src/nxt_status.o build/src/nxt_http_request.o build/src/nxt_http_response.o build/src/nxt_http_error.o build/src/nxt_http_route.o build/src/nxt_http_route_addr.o build/src/nxt_http_return.o build/src/nxt_http_static.o build/src/nxt_http_proxy.o build/src/nxt_http_chunk_parse.o build/src/nxt_http_variables.o build/src/nxt_application.o build/src/nxt_external.o build/src/nxt_port_hash.o build/src/nxt_sha1.o build/src/nxt_websocket.o build/src/nxt_websocket_accept.o build/src/nxt_http_websocket.o build/src/nxt_h1proto_websocket.o build/src/nxt_cert.o build/src/nxt_openssl.o build/src/nxt_pcre2.o build/src/nxt_kqueue_engine.o build/src/nxt_poll_engine.o build/src/nxt_select_engine.o build/src/nxt_freebsd_sendfile.o
cc -c -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -I/usr/local/include -I src -I build -I/usr/local/include -o build/src/nxt_main.o -MMD -MF build/src/nxt_main.dep -MT build/src/nxt_main.o src/nxt_main.c
cc -Wl,-E -L/usr/local/lib -o build/unitd -pipe -fPIC -fvisibility=hidden -O -W -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wmissing-prototypes -Werror -g -I/usr/local/include build/src/nxt_main.o build/libnxt.a -lm -lpthread -lssl -lcrypto -L/usr/local/lib -lpcre2-8
src/nxt_runtime.c:1372: error: undefined reference to 'nxt_fs_mkdir_parent'
src/nxt_controller.c:673: error: undefined reference to 'nxt_fs_mkdir_parent'
collect2: error: ld returned 1 exit status
*** Error code 1
#uname -a
DragonFly com 6.2-RELEASE DragonFly v6.2.2.3.gca806c-RELEASE #5: Wed Oct 12 19:36:56 CST 2022 root at com:/usr/obj/usr/src/sys/lhmwzy x86_64
# gcc -v
Using built-in specs.
COLLECT_GCC=/usr/libexec/gcc80/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc80/lto-wrapper
Target: x86_64-pc-dragonflybsd
Configured with: DragonFly/x86_64 system compiler (c c++ LTO)
Thread model: posix
gcc version 8.3 [DragonFly] Release/2019-02-22
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/unit/attachments/20221012/afe5dd4b/attachment.htm>
More information about the unit
mailing list