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

QEMU build error #19

Open
liuwanke152 opened this issue Jan 5, 2022 · 1 comment
Open

QEMU build error #19

liuwanke152 opened this issue Jan 5, 2022 · 1 comment

Comments

@liuwanke152
Copy link

while I use ./scripts/qemu/install.sh, I found that QEMU build is error:

config-temp/qemu-conf.c:1:10: fatal error: sys/endian.h: No such file or directory
#include <sys/endian.h>
compilation terminated.

how to deal with it?
Thanks!

And there are other errors before this error, such as:

config-temp/qemu-conf.c: In function ‘main’:
config-temp/qemu-conf.c:6:3: error: too many arguments to function ‘xc_domain_create’
xc_domain_create(xc, 0, handle, 0, NULL, NULL);
In file included from config-temp/qemu-conf.c:1:0:
/usr/include/xenctrl.h:511:5: note: declared here
int xc_domain_create(xc_interface *xch,

and

/tmp/ccBwhhaj.o: In function main': root/razzer/tools/qemu-2.5.0/build/config-temp/qemu-conf.c:5: undefined reference to uuid_generate'
collect2: error: ld returned 1 exit status

but these errors did not cause compilation terminated

@lifeasageek
Copy link
Contributor

Hi,

Sorry for getting back late.

I think the issue is not related to Razzer, but it looks like the issue is in your build environment setup. Please refer to the QEMU document to properly build it.

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

No branches or pull requests

2 participants