ld: warning: directory not found for option '-L/...

本文解决了Xcode中常见的编译警告问题,包括忽略为存档构建的文件和找不到指定目录选项的情况,并提供了相应的解决办法。
  1. ld: warning: ignoring file /Users/liuxiaochun/Library/Developer/Xcode/DerivedData/Doctor-hdhsvaazsmgxihcsslhrejgwtqoj/Build/Products/Debug-iphonesimulator/libPods-Doctor.a, file was built for archive which is not the architecture being linked (i386): /Users/liuxiaochun/Library/Developer/Xcode/DerivedData/Doctor-hdhsvaazsmgxihcsslhrejgwtqoj/Build/Products/Debug-iphonesimulator/libPods-Doctor.a
    或者
  2. ld: warning: directory not found for option ‘-L/Users/liuxiaochun/Library/Developer/Xcode/DerivedData/Doctor-ctyyvzmbvnkvqycovyynaknprohe/Build/Products/Debug-iphonesimulator/AFNetworking’

解决办法:

这里写图片描述

[2025-08-15 17:23:33] gmake[1]: Leaving directory '/data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/LuaJIT-2.1-20240815/src' [2025-08-15 17:23:33] ==== Successfully built LuaJIT 2.1 ==== [2025-08-15 17:23:33] gmake install TARGET_STRIP=@: CCDEBUG=-g XCFLAGS='-DLUAJIT_ENABLE_LUA52COMPAT' CC=cc PREFIX=/opt/cloud/luajit DESTDIR=/data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/luajit-root/ [2025-08-15 17:23:33] ==== Installing LuaJIT 2.1.ROLLING to /opt/cloud/luajit ==== [2025-08-15 17:23:33] mkdir -p /data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/luajit-root//opt/cloud/luajit/bin /data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/luajit-root//opt/cloud/luajit/lib /data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/luajit-root//opt/cloud/luajit/include/luajit-2.1 /data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/luajit-root//opt/cloud/luajit/share/man/man1 /data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/luajit-root//opt/cloud/luajit/lib/pkgconfig /data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/luajit-root//opt/cloud/luajit/share/luajit-2.1/jit /data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/luajit-root//opt/cloud/luajit/share/lua/5.1 /data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/luajit-root//opt/cloud/luajit/lib/lua/5.1 [2025-08-15 17:23:33] cd src && install -m 0755 luajit /data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/luajit-root//opt/cloud/luajit/bin/luajit-2.1.ROLLING [2025-08-15 17:23:33] cd src && test -f libluajit.a && install -m 0644 libluajit.a /data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/luajit-root//opt/cloud/luajit/lib/libluajit-5.1.a || : [2025-08-15 17:23:33] rm -f /data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/luajit-root//opt/cloud/luajit/lib/libluajit-5.1.so.2.1.ROLLING /data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/luajit-root//opt/cloud/luajit/lib/libluajit-5.1.so /data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/luajit-root//opt/cloud/luajit/lib/libluajit-5.1.so.2 [2025-08-15 17:23:33] cd src && test -f libluajit.so && \ [2025-08-15 17:23:33] install -m 0755 libluajit.so /data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/luajit-root//opt/cloud/luajit/lib/libluajit-5.1.so.2.1.ROLLING && \ [2025-08-15 17:23:33] ( ldconfig -n 2>/dev/null /data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/luajit-root//opt/cloud/luajit/lib || : ) && \ [2025-08-15 17:23:33] ln -sf libluajit-5.1.so.2.1.ROLLING /data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/luajit-root//opt/cloud/luajit/lib/libluajit-5.1.so && \ [2025-08-15 17:23:33] ln -sf libluajit-5.1.so.2.1.ROLLING /data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/luajit-root//opt/cloud/luajit/lib/libluajit-5.1.so.2 || : [2025-08-15 17:23:33] cd etc && install -m 0644 luajit.1 /data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/luajit-root//opt/cloud/luajit/share/man/man1 [2025-08-15 17:23:33] cd etc && sed -e "s|^prefix=.*|prefix=/opt/cloud/luajit|" -e "s|^multilib=.*|multilib=lib|" -e "s|^relver=.*|relver=ROLLING|" luajit.pc > luajit.pc.tmp && \ [2025-08-15 17:23:33] install -m 0644 luajit.pc.tmp /data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/luajit-root//opt/cloud/luajit/lib/pkgconfig/luajit.pc && \ [2025-08-15 17:23:33] rm -f luajit.pc.tmp [2025-08-15 17:23:33] cd src && install -m 0644 lua.h lualib.h lauxlib.h luaconf.h lua.hpp luajit.h /data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/luajit-root//opt/cloud/luajit/include/luajit-2.1 [2025-08-15 17:23:33] cd src/jit && install -m 0644 bc.lua bcsave.lua dump.lua p.lua v.lua zone.lua dis_x86.lua dis_x64.lua dis_arm.lua dis_arm64.lua dis_arm64be.lua dis_ppc.lua dis_mips.lua dis_mipsel.lua dis_mips64.lua dis_mips64el.lua dis_mips64r6.lua dis_mips64r6el.lua vmdef.lua /data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/luajit-root//opt/cloud/luajit/share/luajit-2.1/jit [2025-08-15 17:23:33] ln -sf luajit-2.1.ROLLING /data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/luajit-root//opt/cloud/luajit/bin/luajit [2025-08-15 17:23:33] ==== Successfully installed LuaJIT 2.1.ROLLING to /opt/cloud/luajit ==== [2025-08-15 17:23:33] export LUAJIT_LIB='/data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/luajit-root/opt/cloud/luajit/lib' [2025-08-15 17:23:33] export LUAJIT_INC='/data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/luajit-root/opt/cloud/luajit/include/luajit-2.1' [2025-08-15 17:23:33] cd .. [2025-08-15 17:23:33] patching the resty script with hard-coded nginx binary path... [2025-08-15 17:23:33] cd nginx-1.27.1 [2025-08-15 17:23:33] sh ./configure --prefix=/opt/cloud/nginx \ [2025-08-15 17:23:33] --with-cc-opt='-O2 -fPIE -frecord-gcc-switches -fstack-protector-all -D_FORTIFY_SOURCE=2 -O2 -ftrapv -DNGX_COMMON_DEGRATION' \ [2025-08-15 17:23:33] --add-module=../ngx_devel_kit-0.3.3 \ [2025-08-15 17:23:33] --add-module=../echo-nginx-module-0.63 \ [2025-08-15 17:23:33] --add-module=../xss-nginx-module-0.06 \ [2025-08-15 17:23:33] --add-module=../ngx_coolkit-0.2 \ [2025-08-15 17:23:33] --add-module=../set-misc-nginx-module-0.33 \ [2025-08-15 17:23:33] --add-module=../form-input-nginx-module-0.12 \ [2025-08-15 17:23:33] --add-module=../encrypted-session-nginx-module-0.09 \ [2025-08-15 17:23:33] --add-module=../srcache-nginx-module-0.33 \ [2025-08-15 17:23:33] --add-module=../ngx_lua-0.10.27 \ [2025-08-15 17:23:33] --add-module=../ngx_lua_upstream-0.07 \ [2025-08-15 17:23:33] --add-module=../headers-more-nginx-module-0.37 \ [2025-08-15 17:23:33] --add-module=../array-var-nginx-module-0.06 \ [2025-08-15 17:23:33] --add-module=../memc-nginx-module-0.20 \ [2025-08-15 17:23:33] --add-module=../redis2-nginx-module-0.15 \ [2025-08-15 17:23:33] --add-module=../redis-nginx-module-0.3.9 \ [2025-08-15 17:23:33] --add-module=../rds-json-nginx-module-0.17 \ [2025-08-15 17:23:33] --add-module=../rds-csv-nginx-module-0.09 \ [2025-08-15 17:23:33] --add-module=../ngx_stream_lua-0.0.15 \ [2025-08-15 17:23:33] --with-ld-opt='-Wl,-rpath,/opt/cloud/luajit/lib -fPIE -pie -frecord-gcc-switches -Wl,-z,relro,-z,now,-z,noexecstack -s' \ [2025-08-15 17:23:33] --with-ipv6 --with-http_realip_module --with-http_ssl_module --with-http_flv_module --with-http_stub_status_module --with-http_gzip_static_module --with-http_v2_module --sbin-path=/data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/sbin/nginx --conf-path=/opt/cloud/gr-nginx/conf/nginx.conf --error-log-path=/opt/cloud/logs/gr-nginx/error.log --http-log-path=/opt/cloud/logs/gr-nginx/access.log --pid-path=/opt/cloud/gr-nginx/run/nginx.pid --lock-path=/opt/cloud/logs/gr-nginx/nginx.lock --http-client-body-temp-path=/opt/cloud/gr-nginx/client_body_temp --http-proxy-temp-path=/opt/cloud/gr-nginx/proxy_temp --http-fastcgi-temp-path=/opt/cloud/gr-nginx/fastcgi_temp --http-uwsgi-temp-path=/opt/cloud/gr-nginx/uwsgi_temp --http-scgi-temp-path=/opt/cloud/gr-nginx/scgi_temp --with-pcre=/data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/pcre --with-zlib=/data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/zlib --with-openssl=/data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openssl '--with-pcre-opt=-g -fPIE -frecord-gcc-switches -fstack-protector-all -D_FORTIFY_SOURCE=2 -O2 -ftrapv -s' '--with-zlib-opt=-g -fPIE -frecord-gcc-switches -fstack-protector-all -D_FORTIFY_SOURCE=2 -O2 -ftrapv -s' --add-module=/data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/nginx_upstream_check_module --add-module=/data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/src --with-openssl-opt=-g --with-stream --with-stream_ssl_module --with-stream_ssl_preread_module [2025-08-15 17:23:33] checking for OS [2025-08-15 17:23:33] + Linux 4.18.0-147.5.2.19.h1585.eulerosv2r10.x86_64 x86_64 [2025-08-15 17:23:33] checking for C compiler ... found [2025-08-15 17:23:33] + using GNU C compiler [2025-08-15 17:23:33] + gcc version: 10.3.0 (GCC) [2025-08-15 17:23:33] checking for gcc -pipe switch ... found [2025-08-15 17:23:34] checking for --with-ld-opt="-Wl,-rpath,/opt/cloud/luajit/lib -fPIE -pie -frecord-gcc-switches -Wl,-z,relro,-z,now,-z,noexecstack -s" ... found [2025-08-15 17:23:34] checking for -Wl,-E switch ... found [2025-08-15 17:23:35] CC lj_asm.o [2025-08-15 17:23:34] checking for gcc builtin atomic operations ... found [2025-08-15 17:23:34] checking for C99 variadic macros ... found [2025-08-15 17:23:34] checking for gcc variadic macros ... found [2025-08-15 17:23:34] checking for gcc builtin 64 bit byteswap ... found [2025-08-15 17:23:34] checking for unistd.h ... found [2025-08-15 17:23:34] checking for inttypes.h ... found [2025-08-15 17:23:34] checking for limits.h ... found [2025-08-15 17:23:34] checking for sys/filio.h ... not found [2025-08-15 17:23:34] checking for sys/param.h ... found [2025-08-15 17:23:35] checking for sys/mount.h ... found [2025-08-15 17:23:35] checking for sys/statvfs.h ... found [2025-08-15 17:23:35] checking for crypt.h ... found [2025-08-15 17:23:35] checking for Linux specific features [2025-08-15 17:23:35] checking for epoll ... found [2025-08-15 17:23:35] checking for EPOLLRDHUP ... found [2025-08-15 17:23:35] checking for EPOLLEXCLUSIVE ... found [2025-08-15 17:23:35] checking for eventfd() ... found [2025-08-15 17:23:35] checking for O_PATH ... found [2025-08-15 17:23:35] checking for sendfile() ... found [2025-08-15 17:23:36] checking for sendfile64() ... found [2025-08-15 17:23:36] checking for sys/prctl.h ... found [2025-08-15 17:23:36] checking for prctl(PR_SET_DUMPABLE) ... found [2025-08-15 17:23:36] checking for prctl(PR_SET_KEEPCAPS) ... found [2025-08-15 17:23:36] checking for capabilities ... found [2025-08-15 17:23:36] checking for crypt_r() ... found [2025-08-15 17:23:36] checking for sys/vfs.h ... found [2025-08-15 17:23:36] checking for BPF sockhash ... found [2025-08-15 17:23:36] checking for SO_COOKIE ... found [2025-08-15 17:23:36] checking for UDP_SEGMENT ... not found [2025-08-15 17:23:36] checking for nobody group ... found [2025-08-15 17:23:37] checking for poll() ... found [2025-08-15 17:23:37] checking for /dev/poll ... not found [2025-08-15 17:23:37] checking for kqueue ... not found [2025-08-15 17:23:37] checking for crypt() ... not found [2025-08-15 17:23:37] checking for crypt() in libcrypt ... found [2025-08-15 17:23:37] checking for F_READAHEAD ... not found [2025-08-15 17:23:37] checking for posix_fadvise() ... found [2025-08-15 17:23:37] checking for O_DIRECT ... found [2025-08-15 17:23:37] checking for F_NOCACHE ... not found [2025-08-15 17:23:37] checking for directio() ... not found [2025-08-15 17:23:37] checking for statfs() ... found [2025-08-15 17:23:37] checking for statvfs() ... found [2025-08-15 17:23:37] checking for dlopen() ... not found [2025-08-15 17:23:38] checking for dlopen() in libdl ... found [2025-08-15 17:23:38] checking for sched_yield() ... found [2025-08-15 17:23:38] checking for sched_setaffinity() ... found [2025-08-15 17:23:38] checking for SO_SETFIB ... not found [2025-08-15 17:23:38] checking for SO_REUSEPORT ... found [2025-08-15 17:23:38] checking for SO_ACCEPTFILTER ... not found [2025-08-15 17:23:38] checking for SO_BINDANY ... not found [2025-08-15 17:23:38] checking for IP_TRANSPARENT ... found [2025-08-15 17:23:38] checking for IP_BINDANY ... not found [2025-08-15 17:23:38] checking for IP_BIND_ADDRESS_NO_PORT ... found [2025-08-15 17:23:38] checking for IP_RECVDSTADDR ... not found [2025-08-15 17:23:38] checking for IP_SENDSRCADDR ... not found [2025-08-15 17:23:39] checking for IP_PKTINFO ... found [2025-08-15 17:23:39] checking for IPV6_RECVPKTINFO ... found [2025-08-15 17:23:39] checking for IP_MTU_DISCOVER ... found [2025-08-15 17:23:39] checking for IPV6_MTU_DISCOVER ... found [2025-08-15 17:23:39] checking for IP_DONTFRAG ... not found [2025-08-15 17:23:39] checking for IPV6_DONTFRAG ... found [2025-08-15 17:23:39] checking for TCP_DEFER_ACCEPT ... found [2025-08-15 17:23:39] checking for TCP_KEEPIDLE ... found [2025-08-15 17:23:39] checking for TCP_FASTOPEN ... found [2025-08-15 17:23:39] checking for TCP_INFO ... found [2025-08-15 17:23:40] checking for accept4() ... found [2025-08-15 17:23:40] checking for int size ... 4 bytes [2025-08-15 17:23:40] checking for long size ... 8 bytes [2025-08-15 17:23:40] checking for long long size ... 8 bytes [2025-08-15 17:23:40] checking for void * size ... 8 bytes [2025-08-15 17:23:40] checking for uint32_t ... found [2025-08-15 17:23:40] checking for uint64_t ... found [2025-08-15 17:23:40] checking for sig_atomic_t ... found [2025-08-15 17:23:40] checking for sig_atomic_t size ... 4 bytes [2025-08-15 17:23:41] checking for socklen_t ... found [2025-08-15 17:23:41] checking for in_addr_t ... found [2025-08-15 17:23:41] checking for in_port_t ... found [2025-08-15 17:23:41] checking for rlim_t ... found [2025-08-15 17:23:41] checking for uintptr_t ... uintptr_t found [2025-08-15 17:23:41] checking for system byte ordering ... little endian [2025-08-15 17:23:41] checking for size_t size ... 8 bytes [2025-08-15 17:23:41] checking for off_t size ... 8 bytes [2025-08-15 17:23:41] checking for time_t size ... 8 bytes [2025-08-15 17:23:41] checking for AF_INET6 ... found [2025-08-15 17:23:42] checking for setproctitle() ... not found [2025-08-15 17:23:42] checking for pread() ... found [2025-08-15 17:23:42] checking for pwrite() ... found [2025-08-15 17:23:42] checking for pwritev() ... found [2025-08-15 17:23:42] checking for strerrordesc_np() ... not found [2025-08-15 17:23:42] checking for sys_nerr ... found [2025-08-15 17:23:42] checking for localtime_r() ... found [2025-08-15 17:23:44] CC lj_trace.o [2025-08-15 17:23:42] checking for clock_gettime(CLOCK_MONOTONIC) ... found [2025-08-15 17:23:42] checking for posix_memalign() ... found [2025-08-15 17:23:43] checking for memalign() ... found [2025-08-15 17:23:43] checking for mmap(MAP_ANON|MAP_SHARED) ... found [2025-08-15 17:23:43] checking for mmap("/dev/zero", MAP_SHARED) ... found [2025-08-15 17:23:43] checking for System V shared memory ... found [2025-08-15 17:23:43] checking for POSIX semaphores ... not found [2025-08-15 17:23:43] checking for POSIX semaphores in libpthread ... found [2025-08-15 17:23:43] checking for struct msghdr.msg_control ... found [2025-08-15 17:23:43] checking for ioctl(FIONBIO) ... found [2025-08-15 17:23:43] checking for ioctl(FIONREAD) ... found [2025-08-15 17:23:44] checking for struct tm.tm_gmtoff ... found [2025-08-15 17:23:44] checking for struct dirent.d_namlen ... not found [2025-08-15 17:23:44] checking for struct dirent.d_type ... found [2025-08-15 17:23:44] checking for sysconf(_SC_NPROCESSORS_ONLN) ... found [2025-08-15 17:23:44] checking for sysconf(_SC_LEVEL1_DCACHE_LINESIZE) ... found [2025-08-15 17:23:44] checking for openat(), fstatat() ... found [2025-08-15 17:23:44] checking for getaddrinfo() ... found [2025-08-15 17:23:44] checking for SOCK_CLOEXEC support ... found [2025-08-15 17:23:44] checking for FD_CLOEXEC support ... found [2025-08-15 17:23:44] configuring additional modules [2025-08-15 17:23:44] adding module in ../ngx_devel_kit-0.3.3 [2025-08-15 17:23:44] + ngx_devel_kit was configured [2025-08-15 17:23:44] adding module in ../echo-nginx-module-0.63 [2025-08-15 17:23:44] + ngx_http_echo_module was configured [2025-08-15 17:23:44] adding module in ../xss-nginx-module-0.06 [2025-08-15 17:23:44] + ngx_http_xss_filter_module was configured [2025-08-15 17:23:44] adding module in ../ngx_coolkit-0.2 [2025-08-15 17:23:44] + ngx_coolkit_module was configured [2025-08-15 17:23:44] adding module in ../set-misc-nginx-module-0.33 [2025-08-15 17:23:44] found ngx_devel_kit for ngx_set_misc; looks good. [2025-08-15 17:23:44] + ngx_http_set_misc_module was configured [2025-08-15 17:23:44] adding module in ../form-input-nginx-module-0.12 [2025-08-15 17:23:44] found ngx_devel_kit for ngx_form_input; looks good. [2025-08-15 17:23:44] + ngx_http_form_input_module was configured [2025-08-15 17:23:44] adding module in ../encrypted-session-nginx-module-0.09 [2025-08-15 17:23:44] found ngx_devel_kit for ngx_encrypted_session; looks good. [2025-08-15 17:23:44] + ngx_http_encrypted_session_module was configured [2025-08-15 17:23:44] adding module in ../srcache-nginx-module-0.33 [2025-08-15 17:23:44] + ngx_http_srcache_filter_module was configured [2025-08-15 17:23:44] adding module in ../ngx_lua-0.10.27 [2025-08-15 17:23:45] checking for LuaJIT library in /data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/luajit-root/opt/cloud/luajit/lib and /data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/luajit-root/opt/cloud/luajit/include/luajit-2.1 (specified by the LUAJIT_LIB and LUAJIT_INC env, with -ldl) ... found [2025-08-15 17:23:45] checking for LuaJIT 2.x ... found [2025-08-15 17:23:45] checking for Lua language 5.1 ... found [2025-08-15 17:23:45] checking for LuaJIT has FFI ... found [2025-08-15 17:23:45] checking for export symbols by default (-E) ... found [2025-08-15 17:23:45] checking for export symbols by default (--export-all-symbols) ... not found [2025-08-15 17:23:45] checking for SO_PASSCRED ... found [2025-08-15 17:23:45] checking for SA_RESTART ... found [2025-08-15 17:23:45] checking for malloc_trim ... found [2025-08-15 17:23:45] checking for pipe2 ... not found [2025-08-15 17:23:46] checking for signalfd ... found [2025-08-15 17:23:46] checking for execvpe ... found [2025-08-15 17:23:46] + ngx_http_lua_module was configured [2025-08-15 17:23:46] adding module in ../ngx_lua_upstream-0.07 [2025-08-15 17:23:46] + ngx_http_lua_upstream_module was configured [2025-08-15 17:23:46] adding module in ../headers-more-nginx-module-0.37 [2025-08-15 17:23:46] + ngx_http_headers_more_filter_module was configured [2025-08-15 17:23:46] adding module in ../array-var-nginx-module-0.06 [2025-08-15 17:23:46] found ngx_devel_kit for ngx_array_var; looks good. [2025-08-15 17:23:46] + ngx_http_array_var_module was configured [2025-08-15 17:23:46] adding module in ../memc-nginx-module-0.20 [2025-08-15 17:23:46] + ngx_http_memc_module was configured [2025-08-15 17:23:46] adding module in ../redis2-nginx-module-0.15 [2025-08-15 17:23:46] + ngx_http_redis2_module was configured [2025-08-15 17:23:46] adding module in ../redis-nginx-module-0.3.9 [2025-08-15 17:23:46] + ngx_http_redis_module was configured [2025-08-15 17:23:46] adding module in ../rds-json-nginx-module-0.17 [2025-08-15 17:23:46] + ngx_http_rds_json_filter_module was configured [2025-08-15 17:23:46] adding module in ../rds-csv-nginx-module-0.09 [2025-08-15 17:23:46] + ngx_http_rds_csv_filter_module was configured [2025-08-15 17:23:46] adding module in ../ngx_stream_lua-0.0.15 [2025-08-15 17:23:46] checking for LuaJIT library in /data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/luajit-root/opt/cloud/luajit/lib and /data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/luajit-root/opt/cloud/luajit/include/luajit-2.1 (specified by the LUAJIT_LIB and LUAJIT_INC env, with -ldl) ... found [2025-08-15 17:23:46] checking for LuaJIT 2.x ... found [2025-08-15 17:23:46] checking for Lua language 5.1 ... found [2025-08-15 17:23:46] checking for LuaJIT has FFI ... found [2025-08-15 17:23:46] checking for export symbols by default (-E) ... found [2025-08-15 17:23:46] checking for export symbols by default (--export-all-symbols) ... not found [2025-08-15 17:23:46] checking for SO_PASSCRED ... found [2025-08-15 17:23:47] checking for SA_RESTART ... found [2025-08-15 17:23:47] + ngx_stream_lua_module was configured [2025-08-15 17:23:47] adding module in /data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/nginx_upstream_check_module [2025-08-15 17:23:46] CC lj_gdbjit.o [2025-08-15 17:23:46] CC lj_ctype.o [2025-08-15 17:23:47] CC lj_cdata.o [2025-08-15 17:23:48] CC lj_cconv.o [2025-08-15 17:23:47] checking for ngx_http_upstream_check_module ... found [2025-08-15 17:23:47] + ngx_http_upstream_check_module was configured [2025-08-15 17:23:47] adding module in /data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/src [2025-08-15 17:23:47] + ngx_http_upstream_check_module was configured [2025-08-15 17:23:47] creating objs/Makefile [2025-08-15 17:23:49] CC lj_ccall.o [2025-08-15 17:23:50] CC lj_ccallback.o [2025-08-15 17:23:51] CC lj_carith.o [2025-08-15 17:23:54] [2025-08-15 17:23:54] Configuration summary [2025-08-15 17:23:54] + using PCRE2 library: /data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/pcre [2025-08-15 17:23:54] + using OpenSSL library: /data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openssl [2025-08-15 17:23:54] + using zlib library: /data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/zlib [2025-08-15 17:23:54] [2025-08-15 17:23:54] nginx path prefix: "/opt/cloud/nginx" [2025-08-15 17:23:54] nginx binary file: "/data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/sbin/nginx" [2025-08-15 17:23:54] nginx modules path: "/opt/cloud/nginx/modules" [2025-08-15 17:23:54] nginx configuration prefix: "/opt/cloud/gr-nginx/conf" [2025-08-15 17:23:54] nginx configuration file: "/opt/cloud/gr-nginx/conf/nginx.conf" [2025-08-15 17:23:54] nginx pid file: "/opt/cloud/gr-nginx/run/nginx.pid" [2025-08-15 17:23:54] nginx error log file: "/opt/cloud/logs/gr-nginx/error.log" [2025-08-15 17:23:54] nginx http access log file: "/opt/cloud/logs/gr-nginx/access.log" [2025-08-15 17:23:54] nginx http client request body temporary files: "/opt/cloud/gr-nginx/client_body_temp" [2025-08-15 17:23:54] nginx http proxy temporary files: "/opt/cloud/gr-nginx/proxy_temp" [2025-08-15 17:23:54] nginx http fastcgi temporary files: "/opt/cloud/gr-nginx/fastcgi_temp" [2025-08-15 17:23:54] nginx http uwsgi temporary files: "/opt/cloud/gr-nginx/uwsgi_temp" [2025-08-15 17:23:54] nginx http scgi temporary files: "/opt/cloud/gr-nginx/scgi_temp" [2025-08-15 17:23:54] [2025-08-15 17:23:54] ./configure: warning: the "--with-ipv6" option is deprecated [2025-08-15 17:23:54] cd ../.. [2025-08-15 17:23:54] Type the following commands to build and install: [2025-08-15 17:23:54] gmake [2025-08-15 17:23:54] gmake install [2025-08-15 17:23:54] cd /data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/LuaJIT-2.1-20240815 && gmake TARGET_STRIP=@: CCDEBUG=-g XCFLAGS='-DLUAJIT_ENABLE_LUA52COMPAT' CC=cc PREFIX=/opt/cloud/luajit [2025-08-15 17:23:54] gmake[1]: Entering directory '/data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/LuaJIT-2.1-20240815' [2025-08-15 17:23:54] ==== Building LuaJIT 2.1 ==== [2025-08-15 17:23:54] gmake -C src [2025-08-15 17:23:54] gmake[2]: Entering directory '/data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/LuaJIT-2.1-20240815/src' [2025-08-15 17:23:54] gmake[2]: Nothing to be done for 'default'. [2025-08-15 17:23:54] gmake[2]: Leaving directory '/data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/LuaJIT-2.1-20240815/src' [2025-08-15 17:23:54] ==== Successfully built LuaJIT 2.1 ==== [2025-08-15 17:23:54] gmake[1]: Leaving directory '/data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/LuaJIT-2.1-20240815' [2025-08-15 17:23:54] cd /data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/lua-cjson-2.1.0.14 && gmake DESTDIR= LUA_INCLUDE_DIR=/data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/luajit-root/opt/cloud/luajit/include/luajit-2.1 LUA_CMODULE_DIR=/opt/cloud/lualib LUA_MODULE_DIR=/opt/cloud/lualib CJSON_CFLAGS="-g -fpic" CC=cc [2025-08-15 17:23:54] gmake[1]: Entering directory '/data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/lua-cjson-2.1.0.14' [2025-08-15 17:23:54] cc -c -O3 -Wall -pedantic -DNDEBUG -g -I/data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/luajit-root/opt/cloud/luajit/include/luajit-2.1 -g -fpic -o lua_cjson.o lua_cjson.c [2025-08-15 17:23:52] CC lj_clib.o [2025-08-15 17:23:53] CC lj_cparse.o [2025-08-15 17:23:56] CC lj_lib.o [2025-08-15 17:23:54] cc -c -O3 -Wall -pedantic -DNDEBUG -g -I/data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/luajit-root/opt/cloud/luajit/include/luajit-2.1 -g -fpic -o strbuf.o strbuf.c [2025-08-15 17:23:55] cc -c -O3 -Wall -pedantic -DNDEBUG -g -I/data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/luajit-root/opt/cloud/luajit/include/luajit-2.1 -g -fpic -o fpconv.o fpconv.c [2025-08-15 17:23:55] cc -o cjson.so -shared lua_cjson.o strbuf.o fpconv.o [2025-08-15 17:23:55] gmake[1]: Leaving directory '/data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/lua-cjson-2.1.0.14' [2025-08-15 17:23:55] cd /data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/lua-resty-signal-0.04 && gmake DESTDIR= LUA_INCLUDE_DIR=/data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/luajit-root/opt/cloud/luajit/include/luajit-2.1 LUA_LIB_DIR=/opt/cloud/lualib CC=cc [2025-08-15 17:23:55] gmake[1]: Entering directory '/data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/lua-resty-signal-0.04' [2025-08-15 17:23:55] cc -O3 -g -Wall -fpic -c resty_signal.c [2025-08-15 17:23:55] cc -shared -fvisibility=hidden resty_signal.o -o librestysignal.so [2025-08-15 17:23:55] gmake[1]: Leaving directory '/data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/lua-resty-signal-0.04' [2025-08-15 17:23:55] cd /data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/lua-redis-parser-0.13 && gmake DESTDIR= LUA_INCLUDE_DIR=/data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/luajit-root/opt/cloud/luajit/include/luajit-2.1 LUA_LIB_DIR=/opt/cloud/lualib CC=cc [2025-08-15 17:23:55] gmake[1]: Entering directory '/data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/lua-redis-parser-0.13' [2025-08-15 17:23:55] cc -c -g -O -Wall -fpic -I/data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/luajit-root/opt/cloud/luajit/include/luajit-2.1 -o redis-parser.o redis-parser.c [2025-08-15 17:23:55] cc -shared -o parser.so redis-parser.o [2025-08-15 17:23:55] gmake[1]: Leaving directory '/data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/lua-redis-parser-0.13' [2025-08-15 17:23:55] cd /data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/lua-rds-parser-0.06 && gmake DESTDIR= LUA_INCLUDE_DIR=/data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/luajit-root/opt/cloud/luajit/include/luajit-2.1 LUA_LIB_DIR=/opt/cloud/lualib CC=cc [2025-08-15 17:23:55] gmake[1]: Entering directory '/data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/lua-rds-parser-0.06' [2025-08-15 17:23:55] cc -c -g -O -Wall -fpic -I/data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/luajit-root/opt/cloud/luajit/include/luajit-2.1 -o src/rds_parser.o src/rds_parser.c [2025-08-15 17:23:55] cc -shared -o parser.so src/rds_parser.o [2025-08-15 17:23:55] gmake[1]: Leaving directory '/data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/lua-rds-parser-0.06' [2025-08-15 17:23:55] cd /data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/nginx-1.27.1 && gmake [2025-08-15 17:23:55] gmake[1]: Entering directory '/data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/nginx-1.27.1' [2025-08-15 17:23:55] gmake -f objs/Makefile [2025-08-15 17:23:55] gmake[2]: Entering directory '/data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/nginx-1.27.1' [2025-08-15 17:23:55] cd /data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/pcre \ [2025-08-15 17:23:55] && if [ -f Makefile ]; then gmake distclean; fi \ [2025-08-15 17:23:55] && CC="cc" CFLAGS="-g -fPIE -frecord-gcc-switches -fstack-protector-all -D_FORTIFY_SOURCE=2 -O2 -ftrapv -s -pipe" \ [2025-08-15 17:23:55] ./configure --disable-shared [2025-08-15 17:23:55] configure: WARNING: unrecognized options: --disable-shared [2025-08-15 17:23:55] checking for a BSD-compatible install... /usr/bin/install -c [2025-08-15 17:23:55] checking whether build environment is sane... yes [2025-08-15 17:23:55] checking for a thread-safe mkdir -p... /usr/bin/mkdir -p [2025-08-15 17:23:55] checking for gawk... gawk [2025-08-15 17:23:55] checking whether make sets $(MAKE)... yes [2025-08-15 17:23:56] checking whether make supports nested variables... yes [2025-08-15 17:23:56] checking whether make supports nested variables... (cached) yes [2025-08-15 17:23:56] checking for gcc... cc [2025-08-15 17:23:56] checking whether the C compiler works... yes [2025-08-15 17:23:56] checking for C compiler default output file name... a.out [2025-08-15 17:23:56] checking for suffix of executables... [2025-08-15 17:23:56] checking whether we are cross compiling... no [2025-08-15 17:23:56] checking for suffix of object files... o [2025-08-15 17:23:56] checking whether we are using the GNU C compiler... yes [2025-08-15 17:23:56] checking whether cc accepts -g... yes [2025-08-15 17:23:56] checking for cc option to accept ISO C89... none needed [2025-08-15 17:23:56] checking whether cc understands -c and -o together... yes [2025-08-15 17:23:56] checking whether make supports the include directive... yes (GNU style) [2025-08-15 17:23:56] checking dependency style of cc... gcc3 [2025-08-15 17:23:56] checking how to run the C preprocessor... cc -E [2025-08-15 17:23:56] checking for grep that handles long lines and -e... /usr/bin/grep [2025-08-15 17:23:56] checking for egrep... /usr/bin/grep -E [2025-08-15 17:23:56] checking for ANSI C header files... yes [2025-08-15 17:23:57] checking for sys/types.h... yes [2025-08-15 17:23:57] checking for sys/stat.h... yes [2025-08-15 17:23:57] checking for stdlib.h... yes [2025-08-15 17:23:57] checking for string.h... yes [2025-08-15 17:23:57] checking for memory.h... yes [2025-08-15 17:23:57] checking for strings.h... yes [2025-08-15 17:23:57] checking for inttypes.h... yes [2025-08-15 17:23:57] checking for stdint.h... yes [2025-08-15 17:23:57] checking for unistd.h... yes [2025-08-15 17:23:57] checking minix/config.h usability... no [2025-08-15 17:23:57] checking minix/config.h presence... no [2025-08-15 17:23:57] checking for minix/config.h... no [2025-08-15 17:23:57] checking whether it is safe to define __EXTENSIONS__... yes [2025-08-15 17:23:57] checking for ar... ar [2025-08-15 17:23:57] checking the archiver (ar) interface... ar [2025-08-15 17:23:57] checking for int64_t... yes [2025-08-15 17:23:57] ./configure: line 4761: syntax error near unexpected token `win32-dll' [2025-08-15 17:23:57] ./configure: line 4761: `LT_INIT(win32-dll)' [2025-08-15 17:23:57] gmake[2]: *** [objs/Makefile:3434: /data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/pcre/Makefile] Error 2 [2025-08-15 17:23:57] gmake[2]: Leaving directory '/data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/nginx-1.27.1' [2025-08-15 17:23:57] gmake[1]: *** [Makefile:10: build] Error 2 [2025-08-15 17:23:57] gmake[1]: Leaving directory '/data/fuxi_ci_workspace/689efc1f09a67937bb8cd17e/gr-service/third_party/openresty/build/nginx-1.27.1' [2025-08-15 17:23:57] gmake: *** [Makefile:11: all] Error 2
最新发布
08-16
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值