I have installed gcc,g++,and sdk , the environment shows that :

ZEPHYR_SDK_INSTALL_DIR=/opt/zephyr-sdk
OLDPWD=/shrd/microkernel
ZEPHYR_BASE=/shrd/zephyr
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/shrd/zephyr/scripts
PWD=/shrd/microkernel
SHLVL=2
HOME=/root
ZEPHYR_GCC_VARIANT=zephyr
LESSOPEN=| /usr/bin/lesspipe %s
LESSCLOSE=/usr/bin/lesspipe %s %s
_=/usr/bin/env
LOGNAME=root
ARCH=x86


When I build a application (do as https://www.zephyrproject.org/doc/application/application.html ), it failed and shows these :

make[1]: Entering directory `/shrd/zephyr'
make[2]: /opt/zephyr-sdk/sysroots/i686-pokysdk-linux/usr/bin/i586-poky-elf/i586-poky-elf-gcc: Command not found
make[2]: Entering directory `/shrd/microkernel/outdir'
make[2]: /opt/zephyr-sdk/sysroots/i686-pokysdk-linux/usr/bin/i586-poky-elf/i586-poky-elf-gcc: Command not found
  Using /shrd/zephyr as source for kernel
  /shrd/zephyr is not clean, please run 'make mrproper'
  in the '/shrd/zephyr' directory.
make[2]: *** [prepare3] Error 1
make[2]: Leaving directory `/shrd/microkernel/outdir'
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/shrd/zephyr'
make: *** [all] Error 2

How to solve this error ?