Troubles with compilation helloworld.c on arm-ostl-linux-gnueabi-gcc for STM32MP157-DK1
Hello there
I'm not familiar with building linux for embedded systems.
I need to build an yocto openstlinux distro with arm-ostl-linux-gnueabi-gcc to be able to compile at least simple "helloworld" on STM32MP157-DK1
My extra packages in local.conf are:
CORE_IMAGE_EXTRA_INSTALL += " \
mc \
minicom \
gcc \
libgcc \
glibc \
bluez5 \
binutils \
"
But when i run compilation (DISTRO=openstlinux-weston MACHINE=stm32mp1 source layers/meta-st/scripts/envsetup.sh , bitbake st-image-weston), i get errors:
root@stm32mp1:~# arm-ostl-linux-gnueabi-gcc -o helloworld helloworld.c
helloworld.c:1:10: fatal error: stdio.h: No such file or directory
#include <stdio.h>
^~~~~~~~~
compilation terminated.
/usr/local/include doesn't exist and do not contain any headers
Which packages should I add in local.conf to avoid this error and compile 'helloworld'?
