Hi, Takashi Matsuzawa <tmatsuz...@uievolution.com> wrote:
> >configure: error: C preprocessor "x86_64-pokysdk-linux-gcc -E > --sysroot=/mnt/ssd2/>yocto/dev/tmp/x86-wk3/sysroots/x86_64-nativesdk-pokysdk-linux > > " fails sanity check > >| See `config.log' for more details. > > If I look into config.log > (gcc-4.9.2/build.x86_64-pokysdk-linux.x86_64-pokysdk-linux/libgcc/config.log) > > as suggested, I can see the following. > It says linux/limits.h is not found. > > (in config.log) > >usr/include/bits/local_lim.h:38:26: fatal error: linux/limits.h: No such > file or directory This looks a lot like a problem we’ve seen a while ago. See https://lists.yoctoproject.org/pipermail/yocto/2015-July/025856.html which is the mailing list post a colleague sent to the list back then. Looking at our git history, the workaround we did back then was add a dependency from gcc-crosssdk-initial to nativesdk-linux-libc-headers if $TARGET_OS starts with “linux”. HTH, Clemens -- BMW Car IT GmbH Clemens Lang Spezialist Entwicklung Lise-Meitner-Straße 14 89081 Ulm Tel: +49-731-37804182 Mail: clemens.l...@bmw-carit.de Web: http://www.bmw-carit.de -------------------------------------------------------------------- BMW Car IT GmbH Geschäftsführer: Michael Würtenberger und Alexis Trolin Sitz und Registergericht: München HRB 134810 -------------------------------------------------------------------- -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto