AnsweredAssumed Answered

Issue with cross compiling with arm-poky-linux-gnueabi-gcc for i.MX6 wandboard-dual

Question asked by Sri Harsha Rentala on Feb 26, 2015
Latest reply on Jan 18, 2018 by 家禄 刘

Hi all,

 

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@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>

                             ^

compilation terminated.

 

I tried doing the same with  'core-image-minimal' using dizzy as my branch but the same thing happens. Please help.

 

Regards

--Sri

Outcomes