id = 1561 title = "Compile QEMU 6.2.0 fail for file not found" state = "closed" created_at = "2023-03-26T10:13:33.598Z" closed_at = "2023-03-27T14:15:19.456Z" labels = [] url = "https://gitlab.com/qemu-project/qemu/-/issues/1561" host-os = "Fedora 36" host-arch = "x86" qemu-version = "6.2.0" guest-os = "n/a" guest-arch = "n/a" description = """Compile QEMU failed with error message: ``` In file included from ../subprojects/libvhost-user/libvhost-user.c:45: ../subprojects/libvhost-user/libvhost-user.h:23:10: Fatal error:standard-headers/linux/virtio_ring.h:no such file or directory 23 | #include "standard-headers/linux/virtio_ring.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ```""" reproduce = """1. Download qemu-6.2.0 tarball at https://download.qemu.org/qemu-6.2.0.tar.xz 2. unzip the tarball to dir ```qemu-6.2.0``` 2. cd ```qemu-6.2.0```, and then ```./configure && make -j2```""" additional = """In ```qemu-6.2.0/subprojects/libvhost-user/libvhost-user.c:45```, the included files are: ``` #include #include #include #include #include #include #include "standard-headers/linux/virtio_ring.h" ``` ```standard-headers``` are in ```qemu-6.2.0/include/standard-headers/```, but above #include assume it's in the same dir of ```libvhost-user.c```."""