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.
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 tofcntl64'
Need help to fix this issue. Thanks.