Skip to content

error: 'struct statx' has no member named 'stx_mnt_id'; did you mean 'stx_uid' #2415

@pyrates999

Description

@pyrates999

This happens while compiling util-linux 2.39.1. here is the output while compiling:

CC libmount/src/la-hook_mount.lo libmount/src/hook_mount.c: In function 'hook_create_mount': libmount/src/hook_mount.c:293:40: error: 'struct statx' has no member named 'stx_mnt_id'; did you mean 'stx_uid'? 293 | cxt->fs->id = (int) st.stx_mnt_id; | ^~~~~~~~~~ | stx_uid make[3]: *** [Makefile:11300: libmount/src/la-hook_mount.lo] Error 1

This also happens while compiling util-linux 2.39.

It did not happen while compiling util-linux 2.38.x and earlier.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions