Discussion:
[Qemu-discuss] Error Buidling QEMU
Zeeshan Hayat
2018-11-18 20:05:40 UTC
Permalink
Hi,



I am trying to build QEMU. I get the following errors while build.


/home/user/QEMU/qemu/block/file-posix.c:1979: error: unknown field 'prealloc' specified in initializer
/home/user/QEMU/qemu/block/file-posix.c:1980: error: unknown field 'errp' specified in initializer

Could you please tell me how can I solve it?

Best regards,

shan
Thomas Huth
2018-11-19 07:15:49 UTC
Permalink
Post by Zeeshan Hayat
Hi,
I am trying to build QEMU. I get the following errors while build.
/home/user/QEMU/qemu/block/file-posix.c:1979: error: unknown field 'prealloc' specified in initializer
/home/user/QEMU/qemu/block/file-posix.c:1980: error: unknown field 'errp' specified in initializer
Could you please tell me how can I solve it?
Hi!

Please provide some more information: Where did you download the sources
from / which version of QEMU are you using? How did you configure it?
What host system are you using? Which version of GCC are you using?

Thomas

Loading...