v1.28 can't be built under DragonFlyBSD
lhmwzy
lhmwzy at 126.com
Wed Oct 12 23:32:33 UTC 2022
At 2022-10-13 03:22:01, "Andrew Clayton" <andrew at digital-domain.net> wrote:
>On Wed, 12 Oct 2022 21:02:16 +0800 (CST)
>lhmwzy <lhmwzy at 126.com> wrote:
>
>[...]
>
>> 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
>
>This looks like a known issue, I'm guessing your building from unit
>master and that DragonFly doesn't have the FreeBSD nmount(2) system
>call...
>
>Could you try this patch
>
>https://github.com/ac000/unit/commit/ba021d54cc00cbcc28f34b37fe0e004612dd2d4d.patch
>
>Assuming your using git and are in the repo root
>
> $ wget https://github.com/ac000/unit/commit/ba021d54cc00cbcc28f34b37fe0e004612dd2d4d.patch -O build-fix.patch
>
> $ git am build-fix.patch
>
>then rebuild and install.
>
>[...]
>
>Cheers,
>Andrew
Yes,this works for me,TKS.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/unit/attachments/20221013/3698a870/attachment.htm>
More information about the unit
mailing list