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.

CCS/CCSTUDIO-C2000: gmake error and #6001 fatal error-permission denied

Part Number: CCSTUDIO-C2000
Other Parts Discussed in Thread: CONTROLSUITE

Tool/software: Code Composer Studio

Hi!

I am encountering the following error when I build the example code on Code Composer Studio. 

**** Build of configuration Debug for project test ****

"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
'Building file: ../main.c'
'Invoking: C2000 Compiler'
"E:/Janani-Workspace/Downloads/ti-cgt-c2000_16.12.0.STS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --include_path="E:/Janani-Workspace/Downloads/ti-cgt-c2000_16.12.0.STS/include" --include_path="C:/ti/controlSUITE/device_support/F2837xS/v200/F2837xS_headers/source" --include_path="C:/ti/controlSUITE/device_support/F2837xS/v200/F2837xS_common/inc" --include_path="C:/ti/controlSUITE/device_support/F2837xS/v200/F2837xS_headers/include" --include_path="C:/ti/controlSUITE/device_support/F2837xS/v200/F2837xS_common/include" --advice:performance=all -g --diag_warning=225 --diag_wrap=off --display_error_number --preproc_with_compile --preproc_dependency="main.d" "../main.c"
'Finished building: ../main.c'
' '
'Building target: test.out'
'Invoking: C2000 Linker'
"E:/Janani-Workspace/Downloads/ti-cgt-c2000_16.12.0.STS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --advice:performance=all -g --diag_warning=225 --diag_wrap=off --display_error_number -z -m"test.map" --stack_size=0x200 --warn_sections -i"E:/Janani-Workspace/Downloads/ti-cgt-c2000_16.12.0.STS/lib" -i"C:/ti/controlSUITE/device_support/F2837xS/v200/F2837xS_common/cmd" -i"C:/ti/controlSUITE/device_support/F2837xS/v200/F2837xS_headers/cmd" -i"E:/Janani-Workspace/Downloads/ti-cgt-c2000_16.12.0.STS/include" --reread_libs --diag_wrap=off --display_error_number --xml_link_info="test_linkInfo.xml" --rom_model -o "test.out" "./main.obj" "../28377S_FLASH_lnk.cmd" -l"C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_15.12.1.LTS/lib/rts2800_fpu32.lib" -l"C:/ti/controlSUITE/device_support/F2837xS/v200/F2837xS_headers/cmd/F2837xS_Headers_BIOS.cmd" -llibc.a -l"C:/ti/controlSUITE/libs"
<Linking>
fatal error #6001: cannot open file "C:/ti/controlSUITE/libs": Permission denied

>> Compilation failure
makefile:143: recipe for target 'test.out' failed
gmake: *** [test.out] Error 1
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

I tried all the suggestions made in previous threads about this error. Nothing Worked. is there a solution to this problem?

  • Janani Baskar said:
    "E:/Janani-Workspace/Downloads/ti-cgt-c2000_16.12.0.STS/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 --advice:performance=all -g --diag_warning=225 --diag_wrap=off --display_error_number -z -m"test.map" --stack_size=0x200 --warn_sections -i"E:/Janani-Workspace/Downloads/ti-cgt-c2000_16.12.0.STS/lib" -i"C:/ti/controlSUITE/device_support/F2837xS/v200/F2837xS_common/cmd" -i"C:/ti/controlSUITE/device_support/F2837xS/v200/F2837xS_headers/cmd" -i"E:/Janani-Workspace/Downloads/ti-cgt-c2000_16.12.0.STS/include" --reread_libs --diag_wrap=off --display_error_number --xml_link_info="test_linkInfo.xml" --rom_model -o "test.out" "./main.obj" "../28377S_FLASH_lnk.cmd" -l"C:/ti/ccsv6/tools/compiler/ti-cgt-c2000_15.12.1.LTS/lib/rts2800_fpu32.lib" -l"C:/ti/controlSUITE/device_support/F2837xS/v200/F2837xS_headers/cmd/F2837xS_Headers_BIOS.cmd" -llibc.a -l"C:/ti/controlSUITE/libs"

    Please see the text above highlighted in red. The parameter being passed to the -l linker option is not correct. It should be the name of a library file or command file. Please check the setting for the -l option under your Project Properties->Linker->File Search Path.