[meta-freescale] Compilation issue with arm-poky-linux-gnueabi-gcc

Sri Harsha Rentala harsha2708 at gmail.com
Fri Feb 27 00:12:20 PST 2015


Alfonso,

I did the same and still the error persists.

-Sri

On Fri, Feb 27, 2015 at 12:39 AM, Alfonso Tamés <alfonso at tames.com> wrote:

>
> I was trying to cross compile a simple 'helloWorld.c' program using 'arm-poky-linux-gnueabi-gcc'
> with the latest version of poky (1.7.1) for a custom built image and came
> up with this error that I am unable to to resolve.
>
> harsha at harsha
> :~/fsl-community-bsp/build/tmp/deploy/images/wandboard-dual/rootfs-core-image-wvsnp-minimal/home/root$
> arm-poky-linux-gnueabi-gcc helloWorld.c
> In file included from
> /opt/poky/1.7.1/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/include/features.h:389:0,
>                  from
> /opt/poky/1.7.1/sysroots/cortexa9hf-vfp-neon-poky-linux-gnueabi/usr/include/stdio.h:27,
>                  from helloWorld.c:1:
> /opt/poky/1.7.1/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>
>                              ^
>
>
> You need to source the environment script in located in /opt/poky/1.7.1/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20150227/a0d1583b/attachment-0001.html>


More information about the meta-freescale mailing list