Skip to content

Error:undefined reference to `fcntl64' #83

@DiamonJ

Description

@DiamonJ

When i excute "make" in build phase on our Linux version 5.4.0-150-generic 18.04.1-Ubuntu machine.
FAILED: subprojects/libvhost-user/link-test cc -m64 -mcx16 -o subprojects/libvhost-user/link-test subprojects/libvhost-user/link-test.p/link-test.c.o -Wl,--as-needed -Wl,--no-undefined -pie -Wl,--whole-archive -Wl,--start-group subprojects/libvhost-user/libvhost-user.a -Wl,--end-group -Wl,--no-whole-archive -Wl,--warn-common -Wl,-z,relro -Wl,-z,now -fstack-protector-strong -pthread subprojects/libvhost-user/libvhost-user.a(libvhost-user.c.o): In function ``memfd_alloc':/xilinx_qemu/qemu_temp/qemu/build/../subprojects/libvhost-user/libvhost-user.c:1671: undefined reference to fcntl64'
Need help to fix this issue. Thanks.

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