[Buildroot] [PATCH] libtirpc: Fix build error due to missing stdint.h inclusion

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Jun 19 19:31:40 UTC 2017


Hello,

On Mon, 19 Jun 2017 18:06:26 +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 at synopsys.com>

Thanks, but this commit log and patch description still don't explain
with which version of glibc you're seeing the problem. Indeed, this
error has not been caught by our autobuilders, so one may wonder why
this additional patch is needed.

Can you add such an explanation in the commit description?

Thanks,

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



More information about the buildroot mailing list