blob: b143ec8e14b77310d1bf9e6f3c6f11683bfad019 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
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 <stdint.h>
#include <stdbool.h>
#include <stddef.h>
#include <poll.h>
#include <linux/vhost.h>
#include <pthread.h>
#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```."""
|