summary refs log tree commit diff stats
path: root/results/classifier/118/files/1561
blob: 3e712bb7b78686d3e6c71fdbfef059f86dc883b3 (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
files: 0.956
semantic: 0.751
graphic: 0.714
PID: 0.545
device: 0.542
socket: 0.495
performance: 0.481
network: 0.471
ppc: 0.449
user-level: 0.398
architecture: 0.388
mistranslation: 0.378
register: 0.362
permissions: 0.341
i386: 0.333
arm: 0.329
hypervisor: 0.329
vnc: 0.327
risc-v: 0.326
x86: 0.315
debug: 0.300
kernel: 0.291
VMM: 0.284
peripherals: 0.280
TCG: 0.258
virtual: 0.244
boot: 0.242
KVM: 0.191
assembly: 0.166

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```.