All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3] libusbgx: fix build with glibc-2.28
Date: Thu, 13 Sep 2018 20:53:37 +0200	[thread overview]
Message-ID: <20180913205337.6aa6359b@windsurf> (raw)
In-Reply-To: <20180913132713.29628-1-gwenj@trabucayre.com>

Hello,

On Thu, 13 Sep 2018 15:27:13 +0200, Gwenhael Goavec-Merou wrote:
> From: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
> 
> Since https://sourceware.org/ml/libc-alpha/2015-11/msg00253.html sys/sysmacros.h
> must be explicitly included.
> Without sys/sysmacros.h and with glibc-2.28 build fails with error like:
> src/.libs/libusbgx.so: undefined reference to minor' src/.libs/libusbgx.so: undefined reference tomajor'
> src/.libs/libusbgx.so: undefined reference to `makedev'
> 
> backport pr #29 (https://github.com/libusbgx/libusbgx/pull/29) (now applied)
> 
> fix:
> http://autobuild.buildroot.net/results/872e2ab084c0c9bf466265d2f66140fbba692ee6/
> 
> Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
> ---
> Changes v2 -> v3:
>  * use a git-formatted patch (thomas)
>  * change SoB order (thomas)
> Changes v1 -> v2:
>  * specify branch and glibc version (thomas)
> ---
>  .../0001-Add-include-of-sys-sysmacro.h.patch       | 98 ++++++++++++++++++++++
>  1 file changed, 98 insertions(+)
>  create mode 100644 package/libusbgx/0001-Add-include-of-sys-sysmacro.h.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com

      reply	other threads:[~2018-09-13 18:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-13 13:27 [Buildroot] [PATCH v3] libusbgx: fix build with glibc-2.28 Gwenhael Goavec-Merou
2018-09-13 18:53 ` Thomas Petazzoni [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=20180913205337.6aa6359b@windsurf \
    --to=thomas.petazzoni@bootlin.com \
    --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.