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/TDA2EG: CreateProcess failed - error 87 during gmake

Part Number: TDA2EG


Tool/software: TI C/C++ Compiler

Hello,

I am using Vision SDK 3.1 build and have created custom Usecase.

Till now I am able to build some part of our application but finally after including many source files into the build, I am getting CreateProcess error 87 while running gmake -s -j

Log of build system along with errors looks something like this:

#Compiling tda2xx-evm:ipu1_0:debug:my_app_libs: ... xxx.cpp

#Compiling tda2xx-evm:ipu1_0:debug:my_app_libs: ... yyy.cpp

#Compiling tda2xx-evm:ipu1_0:debug:my_app_libs: ... zzz.cpp

#Archiving tda2xx-evm:ipu1_0:debug:my_app_libs

process_begin: CreateProcess((D:\PROCESSOR_SDK_VISION_03_01_00_00\ti_components\cg_tools\windows\ti-cgt-arm_16.9.2.LTS\bin\armar.exe, D:/PROCESSOR_SDK_VISION_03_01_00_00/ti_components/cg_tools/windows/ti-cgt-arm_16.9.2.LTS/bin/armar rq ... <MANY GENERATED OBJECT FILES...> ...) failed.

make (e=87): The parameter is incorrect.

gmake[5]: *** [D:/PROCESSOR_SDK_VISION_03_01_00_00/vision_sdk/binaries/vslam_app/tda2xx_evm_bios_all/lib/tda2xx-evm/ipu1_0/debug/my_app_libs.aem4] Error 87

After Googling error 87 and experimenting it is clear that issue is due to path length. If I remove some source files from my source_file.mk, app build coorectly.

But all these source files will be required when calling required functionality from main application.

Is there any way I can fix this issue?

As an additional note, gmake required for build is picked up from xdctools under ti component. I can see config.jar inside xdctools folder. Is there any length limitation parameter that can be changed? How?

Thanks,

Shailesh