[meta-freescale] Compilation issue with arm-poky-linux-gnueabi-gcc
alfonso at tames.com
Thu Feb 26 23:39:51 PST 2015
> 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...
More information about the meta-freescale