On Mon, Oct 21, 2024 at 9:21 AM Zhaoming Luo <zhaoming1...@qq.com> wrote:
> Hi,

Hi,

> I am trying to build Hurd (76419b67...) from source on an existing Hurd. I 
> found this post. However, when I tried ./configure && make, I got the 
> following error:
>
> default_pagerUser.c: In function 'default_pager_object_create':
> default_pagerUser.c:75:17: error: unknown type name 'mach_port_name_inlined_t'
>    75 |                 mach_port_name_inlined_t memory_object;
>       |                 ^~~~~~~~~~~~~~~~~~~~~~~~

The default_pagerUser.c file is generated by MIG.
mach_port_name_inlined_t was added to Mach headers in late 2023 [0],
and then MIG was made to use it in the generated code [1]. You must
have a fresh enough MIG build (that already generates references to
mach_port_name_inlined_t), but older gnumach headers (that don't yet
define mach_port_name_inlined_t).

[0]: 
https://git.savannah.gnu.org/cgit/hurd/gnumach.git/commit/?id=69620634858b2992e1a362e33c95d9a8ee57bce7
[1]: 
https://git.savannah.gnu.org/cgit/hurd/mig.git/commit/?id=3b1fcb2b83bb26d43dc912884499345f561d0b6a

Hope that helps,
Sergey

Reply via email to