[Buildroot] [PATCH 1/1] gnuradio: stat.h is need for mode_t

gwenhael.goavec gwenj at trabucayre.com
Sat Aug 29 13:52:27 UTC 2015


Dear Thomas Petazzoni
On Fri, 28 Aug 2015 19:31:46 +0200
Thomas Petazzoni <thomas.petazzoni at free-electrons.com> wrote:

> Dear Gwenhael Goavec-Merou,
> 
> On Fri, 28 Aug 2015 16:47:44 +0200, Gwenhael Goavec-Merou wrote:
> > From: Gwenhael Goavec-Merou <gwenhael.goavec-merou at trabucayre.com>
> > 
> > fix :
> > http://autobuild.buildroot.net/results/8e3/8e3afd5f22312f0660f631fdb82bbb64eda913fb/build-end.log
> > 
> > error: 'mode_t' has not been declared
> > 
> > Signed-off-by: Gwenhael Goavec-Merou
> > <gwenhael.goavec-merou at trabucayre.com>
> 
> mode_t is according to the standard
> (http://pubs.opengroup.org/onlinepubs/007908799/xsh/sysstat.h.html)
> defined in <sys/types.h>. Can you try including <sys/types.h> instead?
> 
Ok It's working with sys/types.h
> If that works as well, then please submit the patch upstream: it is
> valid for all toolchains.
> 
I've checked all the autobuild for 07/2015 and 08/2015. The missing
mode_t only appears if the toolchain is based on musl. I'll will,
nevertheless, try to send my patch to gnuradio.

Gwenhael


More information about the buildroot mailing list