All of lore.kernel.org
 help / color / mirror / Atom feed
From: Shérab <Sebastien.Hinderer@ens-lyon.org>
To: buildroot@busybox.net
Subject: [Buildroot] Unable to build Buildroot
Date: Mon, 12 Mar 2018 06:42:04 +0100	[thread overview]
Message-ID: <20180312054204.GA10530@pema> (raw)
In-Reply-To: <20180311214546.GA11903@pema>

Dear all,

So, I updated the buildroot submodule properly and removed brltty as an
external package.

I am now facing another compile problem, with qemu I think:

...
  CC      .../targetqga/channel-posix.o
  CC      .../targetqga/qapi-generated/qga-qapi-types.o
  CC      .../targetqga/qapi-generated/qga-qapi-visit.o
  CC      .../targetqga/qapi-generated/qga-qmp-marshal.o
  CC      .../targetutil/memfd.o
  CC      .../targetutil/path.o
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 .../build/host-qemu-2.10.2/include/sysemu/os-posix.h:29,
                 from .../build/host-qemu-2.10.2/include/qemu/osdep.h:104,
                 from 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;
     ^~~~~~~~~~~~
.../build/host-qemu-2.10.2/rules.mak:66?: la recette pour la cible ??util/memfd.o?? a ?chou?e
make[3]: *** [util/memfd.o] Erreur 1

I tried to disable the host qemu in make menuconfig but that was not
possible.

I also discovered that the host qemu seems to be selected by emacs but I
don't understand what's the linkbetween the two (emacs is provided in
the br2-external tree).

Any hint?

Thanks,

Sh?rab.

      reply	other threads:[~2018-03-12  5:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-08 13:01 [Buildroot] Unable to build Buildroot Shérab
2018-03-08 13:13 ` Baruch Siach
2018-03-09 19:11   ` Shérab
2018-03-10 23:30     ` Ricardo Martincoski
2018-03-11 21:44       ` Shérab
2018-03-11 21:45       ` Shérab
2018-03-12  5:42         ` Shérab [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180312054204.GA10530@pema \
    --to=sebastien.hinderer@ens-lyon.org \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.