blob: d953d20d9a9aa306676f9177c6ae3a11d33eeb7a (
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
36
37
38
39
40
41
42
|
files: 0.956
semantic: 0.751
graphic: 0.714
PID: 0.545
device: 0.542
socket: 0.495
performance: 0.481
network: 0.471
permissions: 0.341
vnc: 0.327
debug: 0.300
boot: 0.242
KVM: 0.191
other: 0.120
Compile QEMU 6.2.0 fail for file not found
Description of problem:
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"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
Steps to 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 information:
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```.
|