v1.28 can't be built under DragonFlyBSD

lhmwzy lhmwzy at 126.com
Wed Oct 12 23:33:26 UTC 2022


At 2022-10-12 23:15:57, "Sergey A. Osokin" <osa at freebsd.org.ru> wrote:

>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?

I build unit from source,not from ports.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/unit/attachments/20221013/023a135e/attachment.htm>


More information about the unit mailing list