AnsweredAssumed Answered

Use meta-toolchain issue

Question asked by xuhui li on Apr 12, 2016
Latest reply on Apr 12, 2016 by xuhui li

hello everyone:

   I use

$ bitbake meta-toolchain

in  tmp/deploy/sdk/ have


$ sh

  [sudo] password for daiane:


    Enter target directory for SDK (default: /opt/poky/1.4.1):


    You are about to install the SDK to "/opt/poky/1.4.1". Proceed[Y/n]?y


    Extracting SDK...done


    Setting it up...done


    SDK has been successfully set up and is ready to be used.

but I use

$ arm-poky-linux-gnueabi-gcc hello.c -o hello

In file included from /opt/poky/1.7/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/include/features.h:389:0,

                 from /opt/poky/1.7/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/include/stdio.h:27,

                 from hello.c:8:

/opt/poky/1.7/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/include/gnu/stubs.h:7:29: fatal error: gnu/stubs-soft.h: No such file or directory

# include <gnu/stubs-soft.h>


compilation terminated.


Can someone please help me to resolve this?