This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM5728: Build issues

Part Number: AM5728


Tool/software: Linux

Hi

    I am following how to build SDK from this page

http://processors.wiki.ti.com/index.php/Processor_SDK_Building_The_SDK#Host_Setup


I followed all step down until this command  

  MACHINE=am57xx-evm bitbake arago-core-tisdk-image


The build stop by throwing this kind of Errors

 ERROR: Function failed: do_compile (log file is located at /media/tctl/0d77dd17-3111-4b96-99e6-d85ff289d85a/tctl/Projects/TI_AM572XX/SDK_BUILD/tisdk/build/arago-tmp-external-linaro-toolchain/work/am57xx_evm-linux-gnueabi/pruss-lld-rtos/01.00.00.07-r0.0/temp/log.do_compile.19221)
ERROR: Task (/media/tctl/0d77dd17-3111-4b96-99e6-d85ff289d85a/tctl/Projects/TI_AM572XX/SDK_BUILD/tisdk/sources/meta-processor-sdk/recipes-bsp/pruss-lld/pruss-lld-rtos_git.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3381 tasks of which 3369 didn't need to be rerun and 1 failed.

I have uploaded the error log herehttps://pastebin.com/4hptwZNi

Any suggestion would be appreciated.

Thank you

Aslam

  • The software team have been notified. They will respond here.
  • Hi Mohamed,

    Could you print your PATH variable using:
    echo $PATH
    It is possible to have some problem with tool chain.

    BR
    Tsvetolin Shulev
  • Hi Cvetolin,
    Thanks for quick replay.
    The PATH contains this variables
    echo $PATH
    /media/tctl/0d77dd17-3111-4b96-99e6-d85ff289d85a/tctl/Projects/TI_AM572XX/SDK_BUILD/gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf/bin:/media/tctl/0d77dd17-3111-4b96-99e6-d85ff289d85a/tctl/Projects/TI_AM572XX/SDK_BUILD/tisdk/sources/oe-core/scripts:/media/tctl/0d77dd17-3111-4b96-99e6-d85ff289d85a/tctl/Projects/TI_AM572XX/SDK_BUILD/tisdk/sources/meta-browser/scripts:/media/tctl/0d77dd17-3111-4b96-99e6-d85ff289d85a/tctl/Projects/TI_AM572XX/SDK_BUILD/tisdk/sources/bitbake/bin:/home/tctl/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games

    Thanks
    Aslam
  • Mohamed,

    I checked and successfully executed steps described in the Processor SDK Building tutorial.
    Therefore I suspect some issue with your building environment. What Ubuntu version you are using? Recommended versions are 14.04 or 16.04. Have you executed steps described in the Quick start section:

    $ sudo apt-get install git build-essential python diffstat texinfo gawk chrpath dos2unix wget unzip socat doxygen libc6:i386 libncurses5:i386 libstdc++6:i386 libz1:i386
    $ sudo dpkg-reconfigure dash



    BR
    Tsvetolin Shulev