<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><p style="margin: 0;"><span style="font-family: arial; white-space: pre-wrap;">At 2022-10-13 03:22:01, "Andrew Clayton" <andrew@digital-domain.net> wrote:</span></p><pre>>On Wed, 12 Oct 2022 21:02:16 +0800 (CST)
>lhmwzy <lhmwzy@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,
<div>>Andrew</div><div><br></div><div>Yes,this works for me,TKS.</div><div><br></div><div><br></div></pre></div>