summary refs log tree commit diff stats
path: root/results/classifier/gemma3:12b/files/1561
blob: 7b1709b739eb9f477fa81c5f6bc12fa79770c387 (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
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```.