AnsweredAssumed Answered

LTIB building err for imx6q_sabresd

Question asked by liusf liusf on Jun 12, 2014
Latest reply on Jun 16, 2014 by liusf liusf

Hi, when i building imx6 BSP L3.0.35_4.1.0_130816 in ubuntu 12.04-64bit,get a err: can't compile a simple hello world test program.

 

 

liusf@ubuntu:~/imx6/L3.0.35_4.1.0_130816_source/source/ltib$ ./ltib

sh: 2: /opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-none-linux-gnueabi-gcc: not found

 

Error /opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-none-linux-gnueabi-gcc can't compile a simple hello world test program:

 

echo '#include <stdio.h>

int main() { printf("hello world"); }' | /opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin/arm-none-linux-gnueabi-gcc -x c - -c -o /dev/null

 

traceback:

main::check_toolchain_setup:2625

  main::pre_build_checks:1465

   main:569

 

Started: Thu Jun 12 19:27:04 2014

Ended:   Thu Jun 12 19:27:07 2014

Elapsed: 3 seconds

 

Build Failed

 

 

And i found the PATH is including the arm-none-linux-gnueabi-gcc (/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin), but i still get the err, who can help me ?

 

liusf@ubuntu:~/imx6/L3.0.35_4.1.0_130816_source/source/ltib$ $PATH

bash: /home/liusf/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin:/opt/freescale/usr/local/gcc-4.6.2-glibc-2.13-linaro-multilib-2011.12/fsl-linaro-toolchain/bin:/home/liusf/bin/fsl-linaro-toolchain/bin: No such file or directory

Outcomes