On newer versions of glibc, gets is no longer included so host packages relying on it will not compile properly. Patches: https://raw.github.com/OpenELEC/OpenELEC.tv/f7f4d70fd78621137745a2c5e08b10685dfc84b7/packages/toolchain/devel/autotools/m4/patches/m4-1.4.16-fgets.patch https://raw.github.com/OpenELEC/OpenELEC.tv/3b2e87a6955627c122588bc4963b7aae5150c095/packages/toolchain/archivers/cpio/patches/cpio-2.11-fgets.patch https://raw.github.com/OpenELEC/OpenELEC.tv/e2c5feecdb2cfd6e343a6a152612f6fcf3aae8e9/packages/toolchain/devel/autotools/gettext/patches/gettext-0.18.1.1-gets.patch
(In reply to comment #0) > On newer versions of glibc, gets is no longer included so host packages relying > on it will not compile properly. > > Patches: > https://raw.github.com/OpenELEC/OpenELEC.tv/f7f4d70fd78621137745a2c5e08b10685dfc84b7/packages/toolchain/devel/autotools/m4/patches/m4-1.4.16-fgets.patch > https://raw.github.com/OpenELEC/OpenELEC.tv/3b2e87a6955627c122588bc4963b7aae5150c095/packages/toolchain/archivers/cpio/patches/cpio-2.11-fgets.patch > https://raw.github.com/OpenELEC/OpenELEC.tv/e2c5feecdb2cfd6e343a6a152612f6fcf3aae8e9/packages/toolchain/devel/autotools/gettext/patches/gettext-0.18.1.1-gets.patch Yes, for now, AFAIK only glibc-2.16 has removed 'gets'. For m4, a patch fixing this has already been merged: [1]. For cpio and gettext on the host system, Buildroot relies on the package provided by the host distribution. So, if you are experiencing issues with these packages, this should be more likely reported to the maintainers of the distribution you're using. BTW, do you know from where does the definition of HAVE_RAW_DECL_GETS come from? Grepping it in /usr/include of systems using glibc-2.15, glibc-2.16 and eglibc-2.15 gives no result. Thx for the report. [1] http://git.buildroot.net/buildroot/commit/?id=600375d18e6ccd08505153863666f2e8b10251be
Bug already fixed.