Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] libtirpc: Fix build error due to missing stdint.h inclusion
Date: Thu, 15 Jun 2017 23:19:20 +0200	[thread overview]
Message-ID: <20170615231920.5816dc03@windsurf.lan> (raw)
In-Reply-To: <20170615180517.17185-1-dmitrii@synopsys.com>

Hello,

On Thu, 15 Jun 2017 21:05:17 +0300, Dmitrii Kolesnichenko wrote:
> Add patch to fix following error:
> | ../../libtirpc-1.0.1/src/xdr_sizeof.c:93:13: error: 'uintptr_t' undeclared (first use in this function); did you mean '__intptr_t'?
> |   if (len < (uintptr_t)xdrs->x_base) {
> |              ^~~~~~~~~
> 
> It includes stdint.h to provide uintptr_t.
> 
> This patch has been submitted upstream:
> https://sourceforge.net/p/libtirpc/mailman/libtirpc-devel/
> 
> Signed-off-by: Dmitrii Kolesnichenko <dmitrii@synopsys.com>

Thanks for the contribution. However, could you be more specific about
which Buildroot configuration triggers this build failure?

I don't see build failures on libtirpc in our autobuilders
(http://autobuild.buildroot.net/).

> diff --git a/package/libtirpc/0008-Fix-build-error-due-to-missing-stdint.h-include.patch b/package/libtirpc/0008-Fix-build-error-due-to-missing-stdint.h-include.patch
> new file mode 100644
> index 0000000..ccb0dff
> --- /dev/null
> +++ b/package/libtirpc/0008-Fix-build-error-due-to-missing-stdint.h-include.patch
> @@ -0,0 +1,26 @@
> +Fixes
> +| ../../libtirpc-1.0.1/src/xdr_sizeof.c:93:13: error: 'uintptr_t' undeclared (first use in this function); did you mean '__intptr_t'?
> +|   if (len < (uintptr_t)xdrs->x_base) {
> +|              ^~~~~~~~~
> +
> +Signed-off-by: Khem Raj <raj.khem@...>

Please add your Signed-off-by here as well. Thanks a lot!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

  reply	other threads:[~2017-06-15 21:19 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-15 18:05 [Buildroot] [PATCH] libtirpc: Fix build error due to missing stdint.h inclusion Dmitrii Kolesnichenko
2017-06-15 21:19 ` Thomas Petazzoni [this message]
2017-06-16 11:51   ` Dmitrii Kolesnichenko
2017-06-16 12:25     ` Thomas Petazzoni
2017-06-16 15:40       ` Dmitrii Kolesnichenko
2017-06-19 15:06       ` Dmitrii Kolesnichenko
2017-06-19 19:31         ` Thomas Petazzoni
2017-06-20  8:51           ` [Buildroot] [PATCH v3] " Dmitrii Kolesnichenko
2017-06-20 10:47             ` Alexey Brodkin
2017-06-20 16:55               ` [Buildroot] [PATCH v4] " Dmitrii Kolesnichenko
2017-06-20 20:10                 ` Thomas Petazzoni

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=20170615231920.5816dc03@windsurf.lan \
    --to=thomas.petazzoni@free-electrons.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox