Re: [Qemu-devel] Problem compiling qemu-2.1.1

2018-03-04 Thread Peter Maydell
On 4 March 2018 at 11:15, Frans de Boer wrote: > LS, > > I try to compile qemu and get the next error message: > > mnt/rhome/frans-tw/data/projects/linux/kernel/qemu/qemu-2.11.1/util/memfd.c:40:12: > error: static declaration of ‘memfd_create’ follows non-static declaration > static int memfd_cre

[Qemu-devel] Problem compiling qemu-2.1.1

2018-03-04 Thread Frans de Boer
LS, I try to compile qemu and get the next error message: mnt/rhome/frans-tw/data/projects/linux/kernel/qemu/qemu-2.11.1/util/memfd.c:40:12: error: static declaration of ‘memfd_create’ follows non-static declaration static int memfd_create(const char *name, unsigned int flags) ^~~