Skip to content

QEMU build error #19

@liuwanke152

Description

@liuwanke152

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions