v1.28 can't be built under DragonFlyBSD
Sergey A. Osokin
osa at freebsd.org.ru
Wed Oct 12 15:15:57 UTC 2022
Hi,
thanks for the report.
On Wed, Oct 12, 2022 at 09:02:16PM +0800, lhmwzy wrote:
> #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_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
I've just tried to reproduce the issue on a local DragonFly 6.2.2 with dports,
and found I can't. Is there any specific environment settings?
--
Sergey A. Osokin
More information about the unit
mailing list