Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when building #211

Open
tmtco1 opened this issue Dec 29, 2024 · 1 comment
Open

Error when building #211

tmtco1 opened this issue Dec 29, 2024 · 1 comment

Comments

@tmtco1
Copy link

tmtco1 commented Dec 29, 2024

i was reading https://github.com/devos50/qemu-ios/blob/ipod_touch_2g/RUNNING.md and tried to compile the model and get this error:

tmtco@tmtco-base ~/D/q/build> make
[1/2295] Generating qemu-version.h with a custom command (wrapped by meson to capture output)
[2/2295] Compiling C object subprojects/libvhost-user/libvhost-user.a.p/libvhost-user.c.o
FAILED: subprojects/libvhost-user/libvhost-user.a.p/libvhost-user.c.o 
cc -m64 -mcx16 -Isubprojects/libvhost-user/libvhost-user.a.p -Isubprojects/libvhost-user -I../subprojects/libvhost-user -I/usr/include/openssl -fdiagnostics-color=auto -Wall -Winvalid-pch -std=gnu99 -O2 -g -Wsign-compare -Wdeclaration-after-statement -Wstrict-aliasing -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fno-common -fwrapv -fPIE -pthread -D_GNU_SOURCE -MD -MQ subprojects/libvhost-user/libvhost-user.a.p/libvhost-user.c.o -MF subprojects/libvhost-user/libvhost-user.a.p/libvhost-user.c.o.d -o subprojects/libvhost-user/libvhost-user.a.p/libvhost-user.c.o -c ../subprojects/libvhost-user/libvhost-user.c
../subprojects/libvhost-user/libvhost-user.c:39:10: fatal error: standard-headers/linux/virtio_config.h: No such file or directory
   39 | #include "standard-headers/linux/virtio_config.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
ninja: build stopped: subcommand failed.
make: *** [Makefile:162: run-ninja] Error 1

I am using Arch Linux.

@devos50
Copy link
Owner

devos50 commented Dec 30, 2024

A similar issue has been reported here: https://gitlab.com/qemu-project/qemu/-/issues/816

Are you sure the standard libraries are installed (e.g., with Pacman)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants