[Buildroot] [PATCH 1/1] package/gdbm: fix uclibc build error

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Jun 8 19:32:09 UTC 2017


Hello,

On Mon,  5 Jun 2017 17:27:24 +0200, Bernd Kuhls wrote:
> This patches fixes
> 
> gdbmopen.c:35:40: error: unknown type name 'blksize_t'
>  compute_directory_size (GDBM_FILE dbf, blksize_t block_size,
> 
> To get the missing define we need to pass -D_GNU_SOURCE.
> 
> Fixes
> http://autobuild.buildroot.net/results/592/59278fb8681d474883e6551df5173edd806b16fa/
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>

The real bug is in uClibc, the proper fix is
https://patchwork.ozlabs.org/patch/772049/.

Thanks!

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


More information about the buildroot mailing list