On 2018-11-18 21:05, Zeeshan Hayat wrote: > 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