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.

[FAQ] TDA4VM: How do I resolve these compilation errors when building PDK examples?

Part Number: TDA4VM

Tool/software:

I am trying to resolve the following errors when attempting to build examples within the RTOS PDK. How can I resolve these errors?

SDK: 9.0+

Error Log 1:

ti/ti-processor-sdk-rtos-j721e-evm-09_02_00_05/pdk_jacinto_09_02_00_30/packages/ti$ make -s sciserver_testapp_freertos BOARD=j721e_evm
make: *** No rule to make target 'sciserver_testapp_freertos'. Stop.

Error Log 2:

ti/ti-processor-sdk-rtos-j721e-evm-09_02_00_05/pdk_jacinto_09_02_00_30/packages/ti$ make -s sciserver_testapp_freertos BOARD=j721e_evm

/ti/ti-processor-sdk-rtos-j721e-evm-09_02_00_05/pdk_jacinto_09_02_00_30/packages/ti/build/makerules/common.mk:365: *** gcc-arm compiler not found. Please refer user guide to download the same. Stop.
make: *** [makefile:325: sciserver_testapp_freertos] Error 2

  • Solving Error 1:

    Ensure you are in the build directory before calling any make commands to build the examples. The path is [PDK_INSTALL_PATH]/packages/ti/build.

    Solving Error 2:

    Ensure the paths to the toolchains that are required for your application are up to date within the pdk_tools_path.mk file which can be found at [PDK_INSTALL_PATH]/packages/ti/build/pdk_tools_path.mk. Depending on the core you are building the application for, you will need to check the following toolchain path variables:

    • TOOLCHAIN_PATH_GCC_ARCH64
    • TOOLCHAIN_PATH_R5
    • C6X_GEN_INSTALL_PATH
    • C7X_GEN_INSTALL_PATH

    These toolchains should be available in your ${HOME}/ti directory if you have ran the setup_psdk_rtos.sh script. Do NOT "cd" into sdk_builder/scripts and call the script. Ensure to call the script from the ${PSDKR_PATH} using the command ./sdk_builder/scripts/setup_psdk_rtos.sh.

    If you are still missing one of the TI Code Generation Tools (CGT), you can access and download them using the following link. Additionally, you may need a new version of the toolchain if you have upgraded SDK versions. 

    *Note: The code generation tools provided in section 3.28 of the link above are specific to SDK 9_02_00 and may differ for newer SDKs.

    Some instructions may vary slightly for Windows users.