Hi, While building Libtasn1 4.10 (which uses gnulib) with musl in Yocto project, we observed this build error: ... make[4]: *** [progname.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from TOPDIR/tmp/work/i586-poky-linux-musl/libtasn1/4.10-r0/recipe-sysroot/usr/include/endian.h:23:0, from TOPDIR/tmp/work/i586-poky-linux-musl/libtasn1/4.10-r0/recipe-sysroot/usr/include/sys/types.h:70, from ./sys/types.h:28, from ./stdio.h:58, from ../../libtasn1-4.10/gl/read-file.h:25, from ../../libtasn1-4.10/gl/read-file.c:20: ./stdint.h:89:5: error: #if with no expression #if ... (Link: http://errors.yoctoproject.org/Errors/Details/123659/ )
This appears to be an error introduced by the gnulib commit: http://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=5a400b3f5a1f5483dbfd75d38bdb7080218a063b * m4/stdint.m4 (gl_STDINT_H): Don't define GNULIB_OVERRIDES_WINT_T. Reverting the changes in stdint.m4 seems to fix it. Best Regards, Maxin