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.

Compiler/TDA2PXEVM: GNU Make 4.1

Part Number: TDA2PXEVM

Tool/software: TI C/C++ Compiler

Hi,

I am following the instruction here:

http://processors.wiki.ti.com/index.php/PDK/PDK_TDA_Building_The_Package

in order to build/clean individual modules. For that, the document above states:

- Command to build an examples/demos/libraries you can use following command

gmake -s <app_name/comp> BOARD=<board> CORE=<core>

Command to clean individual targets you can use following command

- gmake -s <target>_clean BOARD=tda3xx-evm CORE=<core>

but when I try that i.e. with the qspi_flash_writer application, it fails:

gmake -s -C <visionsdkPath>\ti_components\drivers\pdk_01_10_01_06\packages\ti\build qspi_flash_writer PROFILE=release BOARD=tda2px-evm CORE=ipu1_0
process_begin: CreateProcess(NULL, c:/ti/ccsv7/utils/cygwin/mkdir -p <visionsdkPath>/ti_components/drivers/pdk_01_10_01_06/packages/ti/binary/qspi_flash_writer/obj/tda2px-evm/ipu1_0/release, ...) failed.
make (e=2): The system cannot find the file specified.
<visionsdkPath>/ti_components/drivers/pdk_01_10_01_06/packages/ti/build/makerules/common.mk:175: recipe for target '<visionsdkPath>/ti_components/drivers/pdk_01_10_01_06/packages/ti/binary/qspi_flash_writer/obj/tda2px-evm/ipu1_0/release' failed
gmake[1]: *** [<visionsdkPath>/ti_components/drivers/pdk_01_10_01_06/packages/ti/binary/qspi_flash_writer/obj/tda2px-evm/ipu1_0/release] Error 2
makefile:137: recipe for target 'qspi_flash_writer' failed
gmake: *** [qspi_flash_writer] Error 2

What I am doing wrong?

Thanks in advance.

Regards,

Alexander

 

  • Hi Alexander,

    the error "make (e=2): The system cannot find the file specified." seems to be caused by gmake can not find "c:/ti/ccsv7/utils/cygwin/mkdir". Can you try to modify <VisionSDK>/ti_components/drivers/pdk_01_10_03_07/packages/ti/build/Rules.make and change the definition of "utils_PATH" variable to point to directory containing POSIX utility commands (I think it should work if you set it to "export utils_PATH ?= $(XDC_INSTALL_PATH)").

    Regards,

    Yordan

  • though export utils_PATH ?= $(XDC_INSTALL_PATH) did not work, updating that entry to the correct path solved the issue.

    Thanks a lot Yordan,

    regards,

    Alexander