[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [Bug 1793183] [NEW] apt source --compile qemu-system-x8

From: Peter Maydell
Subject: Re: [Qemu-devel] [Bug 1793183] [NEW] apt source --compile qemu-system-x86 fails on last ubuntu 18.04.1
Date: Tue, 18 Sep 2018 14:03:28 -0700

On 18 September 2018 at 10:24, Dmitry Isaykin <address@hidden> wrote:
> Public bug reported:
> Error log:
> /tmp/qemu-2.10+dfsg/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)
>             ^~~~~~~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/bits/mman-linux.h:115:0,
>                  from /usr/include/x86_64-linux-gnu/bits/mman.h:45,
>                  from /usr/include/x86_64-linux-gnu/sys/mman.h:41,
>                  from /tmp/qemu-2.10+dfsg/include/sysemu/os-posix.h:29,
>                  from /tmp/qemu-2.10+dfsg/include/qemu/osdep.h:104,
>                  from /tmp/qemu-2.10+dfsg/util/memfd.c:28:
> /usr/include/x86_64-linux-gnu/bits/mman-shared.h:46:5: note: previous 
> declaration of ‘memfd_create’ was here
>  int memfd_create (const char *__name, unsigned int __flags) __THROW;
>      ^~~~~~~~~~~~
> /tmp/qemu-2.10+dfsg/rules.mak:66: recipe for target 'util/memfd.o' failed

This is fixed in upstream QEMU in commit 75e5b70e6b5dcc, which is in
QEMU 2.12.0. If Ubuntu are interested in fixing this they can backport
that to the QEMU they are shipping, or alternatively move forward to 2.12.

-- PMM

reply via email to

[Prev in Thread] Current Thread [Next in Thread]