Xilinx / qemu

Xilinx's fork of Quick EMUlator (QEMU) with improved support and modelling for the Xilinx platforms.
https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/821395464/QEMU+User+Documentation
Other
245 stars 154 forks source link

Error:undefined reference to `fcntl64' #83

Open DiamonJ opened 1 year ago

DiamonJ commented 1 year ago

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.