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 Linux issue

Other Parts Discussed in Thread: TMS320F280025C, SYSCONFIG, C2000WARE

Hello
I'm trying to use CCS on Linux, but for building, the post-build commands fails:

Linux: Fedora 35
Device: TMS320F280025C
CCS: CCS11.1.0.00011_linux-x64 & CCS12.0.0.00009_linux-x64

Executing the make command manually also triggers the same issue.
Please take a look at the "post-build' part.


**** Build of configuration CPU1_RAM for project gpio_ex2_toggle ****

/media/opt/opt/ti/ccs1110/ccs/utils/bin/gmake -k -j 8 all -O
 
Building file: "../gpio_ex2_toggle.syscfg"
Invoking: SysConfig
"/media/opt/opt/ti/ccs1110/ccs/utils/sysconfig_1.11.0/sysconfig_cli.sh" -s "/media/opt/opt/ti/c2000/C2000Ware_4_01_00_00/.metadata/sdk.json" -d "F28002x" --script "/home/amr/workspace_v11/gpio_ex2_toggle/gpio_ex2_toggle.syscfg" -o "syscfg" --package 80QFP --part F28002x_80QFP --compiler ccs
Running script...
Validating...
Generating Code (gpio_ex2_toggle.syscfg)...
Writing /home/amr/workspace_v11/gpio_ex2_toggle/CPU1_RAM/syscfg/board.c...
Writing /home/amr/workspace_v11/gpio_ex2_toggle/CPU1_RAM/syscfg/board.h...
Writing /home/amr/workspace_v11/gpio_ex2_toggle/CPU1_RAM/syscfg/pinmux.csv...
Writing /home/amr/workspace_v11/gpio_ex2_toggle/CPU1_RAM/syscfg/c2000ware_libraries.cmd.genlibs...
Writing /home/amr/workspace_v11/gpio_ex2_toggle/CPU1_RAM/syscfg/c2000ware_libraries.opt...
Writing /home/amr/workspace_v11/gpio_ex2_toggle/CPU1_RAM/syscfg/c2000ware_libraries.c...
Writing /home/amr/workspace_v11/gpio_ex2_toggle/CPU1_RAM/syscfg/c2000ware_libraries.h...
Finished building: "../gpio_ex2_toggle.syscfg"
 
Building file: "../device/f28002x_codestartbranch.asm"
Invoking: C2000 Compiler
"/media/opt/opt/ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --idiv_support=idiv0 --tmu_support=tmu0 -Ooff --include_path="/home/amr/workspace_v11/gpio_ex2_toggle" --include_path="/media/opt/opt/ti/c2000/C2000Ware_4_01_00_00" --include_path="/home/amr/workspace_v11/gpio_ex2_toggle/device" --include_path="/media/opt/opt/ti/c2000/C2000Ware_4_01_00_00/driverlib/f28002x/driverlib" --include_path="/media/opt/opt/ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --define=DEBUG --define=RAM --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="device/f28002x_codestartbranch.d_raw" --include_path="/home/amr/workspace_v11/gpio_ex2_toggle/CPU1_RAM/syscfg" --obj_directory="device" --cmd_file="syscfg/c2000ware_libraries.opt"  "../device/f28002x_codestartbranch.asm"
Finished building: "../device/f28002x_codestartbranch.asm"
 
Building file: "syscfg/c2000ware_libraries.c"
Invoking: C2000 Compiler
"/media/opt/opt/ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --idiv_support=idiv0 --tmu_support=tmu0 -Ooff --include_path="/home/amr/workspace_v11/gpio_ex2_toggle" --include_path="/media/opt/opt/ti/c2000/C2000Ware_4_01_00_00" --include_path="/home/amr/workspace_v11/gpio_ex2_toggle/device" --include_path="/media/opt/opt/ti/c2000/C2000Ware_4_01_00_00/driverlib/f28002x/driverlib" --include_path="/media/opt/opt/ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --define=DEBUG --define=RAM --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="syscfg/c2000ware_libraries.d_raw" --include_path="/home/amr/workspace_v11/gpio_ex2_toggle/CPU1_RAM/syscfg" --obj_directory="syscfg" --cmd_file="syscfg/c2000ware_libraries.opt"  "syscfg/c2000ware_libraries.c"
Finished building: "syscfg/c2000ware_libraries.c"
 
Building file: "syscfg/board.c"
Invoking: C2000 Compiler
"/media/opt/opt/ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --idiv_support=idiv0 --tmu_support=tmu0 -Ooff --include_path="/home/amr/workspace_v11/gpio_ex2_toggle" --include_path="/media/opt/opt/ti/c2000/C2000Ware_4_01_00_00" --include_path="/home/amr/workspace_v11/gpio_ex2_toggle/device" --include_path="/media/opt/opt/ti/c2000/C2000Ware_4_01_00_00/driverlib/f28002x/driverlib" --include_path="/media/opt/opt/ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --define=DEBUG --define=RAM --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="syscfg/board.d_raw" --include_path="/home/amr/workspace_v11/gpio_ex2_toggle/CPU1_RAM/syscfg" --obj_directory="syscfg" --cmd_file="syscfg/c2000ware_libraries.opt"  "syscfg/board.c"
Finished building: "syscfg/board.c"
 
Building file: "../gpio_ex2_toggle.c"
Invoking: C2000 Compiler
"/media/opt/opt/ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --idiv_support=idiv0 --tmu_support=tmu0 -Ooff --include_path="/home/amr/workspace_v11/gpio_ex2_toggle" --include_path="/media/opt/opt/ti/c2000/C2000Ware_4_01_00_00" --include_path="/home/amr/workspace_v11/gpio_ex2_toggle/device" --include_path="/media/opt/opt/ti/c2000/C2000Ware_4_01_00_00/driverlib/f28002x/driverlib" --include_path="/media/opt/opt/ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --define=DEBUG --define=RAM --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="gpio_ex2_toggle.d_raw" --include_path="/home/amr/workspace_v11/gpio_ex2_toggle/CPU1_RAM/syscfg" --cmd_file="syscfg/c2000ware_libraries.opt"  "../gpio_ex2_toggle.c"
Finished building: "../gpio_ex2_toggle.c"
 
Building file: "../device/device.c"
Invoking: C2000 Compiler
"/media/opt/opt/ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --idiv_support=idiv0 --tmu_support=tmu0 -Ooff --include_path="/home/amr/workspace_v11/gpio_ex2_toggle" --include_path="/media/opt/opt/ti/c2000/C2000Ware_4_01_00_00" --include_path="/home/amr/workspace_v11/gpio_ex2_toggle/device" --include_path="/media/opt/opt/ti/c2000/C2000Ware_4_01_00_00/driverlib/f28002x/driverlib" --include_path="/media/opt/opt/ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --define=DEBUG --define=RAM --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="device/device.d_raw" --include_path="/home/amr/workspace_v11/gpio_ex2_toggle/CPU1_RAM/syscfg" --obj_directory="device" --cmd_file="syscfg/c2000ware_libraries.opt"  "../device/device.c"
Finished building: "../device/device.c"
 
Building target: "gpio_ex2_toggle.out"
Invoking: C2000 Linker
"/media/opt/opt/ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --idiv_support=idiv0 --tmu_support=tmu0 -Ooff --define=DEBUG --define=RAM --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi -z -m"gpio_ex2_toggle.map" --heap_size=0x100 --stack_size=0x200 --warn_sections -i"/media/opt/opt/ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/lib" -i"/media/opt/opt/ti/c2000/C2000Ware_4_01_00_00" -i"/home/amr/workspace_v11/gpio_ex2_toggle/CPU1_RAM/syscfg" -i"/media/opt/opt/ti/ccs1110/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --reread_libs --diag_wrap=off --display_error_number --xml_link_info="gpio_ex2_toggle_linkInfo.xml" --entry_point=code_start --rom_model -o "gpio_ex2_toggle.out" "./gpio_ex2_toggle.obj" "./syscfg/board.obj" "./syscfg/c2000ware_libraries.obj" "./device/device.obj" "./device/f28002x_codestartbranch.obj" "../28002x_generic_ram_lnk.cmd" "/media/opt/opt/ti/c2000/C2000Ware_4_01_00_00/driverlib/f28002x/driverlib/ccs/Debug/driverlib.lib"  -llibc.a
<Linking>
Finished building target: "gpio_ex2_toggle.out"
 
if 0 == 1  mkdir "/home/amr/workspace_v11/gpio_ex2_toggle/CPU1_RAM/simulation"
makefile:172: recipe for target 'post-build' failed
/bin/sh: -c: line 2: syntax error: unexpected end of file
gmake[2]: [post-build] Error 2 (ignored)
/bin/sh: -c: line 2: syntax error: unexpected end of file
gmake[2]: [post-build] Error 2 (ignored)
if 0 == 1  /g++  -c -DCLB_SIM -I/media/opt/opt/ti/c2000/C2000Ware_4_01_00_00/utilities/clb_tool/clb_syscfg/systemc-2.3.3/src -I/media/opt/opt/ti/c2000/C2000Ware_4_01_00_00/utilities/clb_tool/clb_syscfg/systemc/include/type3 -I/home/amr/workspace_v11/gpio_ex2_toggle -I/include -Og -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF/home/amr/workspace_v11/gpio_ex2_toggle/CPU1_RAM/simulation/clb_sim.d -MT/home/amr/workspace_v11/gpio_ex2_toggle/CPU1_RAM/simulation/clb_sim.o -I/home/amr/workspace_v11/gpio_ex2_toggle/CPU1_RAM/syscfg   -fno-threadsafe-statics  -o/home/amr/workspace_v11/gpio_ex2_toggle/CPU1_RAM/simulation/clb_sim.o /home/amr/workspace_v11/gpio_ex2_toggle/CPU1_RAM/syscfg/clb_sim.cpp
makefile:172: recipe for target 'post-build' failed
if 0 == 1  /g++ -DCLB_SIM -Og -g -gdwarf-3 -gstrict-dwarf -Wall -Wl,-Map,/home/amr/workspace_v11/gpio_ex2_toggle/CPU1_RAM/simulation/simulation_output.map -L/media/opt/opt/ti/c2000/C2000Ware_4_01_00_00/utilities/clb_tool/clb_syscfg/systemc-2.3.3/build/src -o/home/amr/workspace_v11/gpio_ex2_toggle/CPU1_RAM/simulation/simulation_output.exe /home/amr/workspace_v11/gpio_ex2_toggle/CPU1_RAM/simulation/clb_sim.o /media/opt/opt/ti/c2000/C2000Ware_4_01_00_00/utilities/clb_tool/clb_syscfg/systemc/src/type3/CLB_FSM_SC_model.o /media/opt/opt/ti/c2000/C2000Ware_4_01_00_00/utilities/clb_tool/clb_syscfg/systemc/src/type3/CLB_HLC_SC_model.o /media/opt/opt/ti/c2000/C2000Ware_4_01_00_00/utilities/clb_tool/clb_syscfg/systemc/src/type3/CLB_LUT4_SC_model.o /media/opt/opt/ti/c2000/C2000Ware_4_01_00_00/utilities/clb_tool/clb_syscfg/systemc/src/type3/CLB_OutputLUT_SC_model.o /media/opt/opt/ti/c2000/C2000Ware_4_01_00_00/utilities/clb_tool/clb_syscfg/systemc/src/type3/CLB_counter_SC_model.o /media/opt/opt/ti/c2000/C2000Ware_4_01_00_00/utilities/clb_tool/clb_syscfg/systemc/src/type3/CLB_counter_top_SC_model.o /media/opt/opt/ti/c2000/C2000Ware_4_01_00_00/utilities/clb_tool/clb_syscfg/systemc/src/type3/CLB_FSM_top_SC_model.o /media/opt/opt/ti/c2000/C2000Ware_4_01_00_00/utilities/clb_tool/clb_syscfg/systemc/src/type3/CLB_LUT4_top_SC_model.o /media/opt/opt/ti/c2000/C2000Ware_4_01_00_00/utilities/clb_tool/clb_syscfg/systemc/src/type3/CLB_OutputLUT_top_SC_model.o  -Wl,--start-group -lsystemc -Wl,--end-group
makefile:172: recipe for target 'post-build' failed
/bin/sh: -c: line 2: syntax error: unexpected end of file
gmake[2]: [post-build] Error 2 (ignored)
if 0 == 1  "./simulation/simulation_output.exe"
makefile:172: recipe for target 'post-build' failed
/bin/sh: -c: line 2: syntax error: unexpected end of file
gmake[2]: [post-build] Error 2 (ignored)
if 0 == 1  /media/opt/opt/ti/ccs1110/ccs/tools/node/node "/media/opt/opt/ti/c2000/C2000Ware_4_01_00_00/utilities/clb_tool/clb_syscfg/dot_file_libraries/clbDotUtility.js"  "/media/opt/opt/ti/c2000/C2000Ware_4_01_00_00/utilities/clb_tool/clb_syscfg/" "/home/amr/workspace_v11/gpio_ex2_toggle/CPU1_RAM/syscfg" "/home/amr/workspace_v11/gpio_ex2_toggle/CPU1_RAM/syscfg/clb.dot"
makefile:172: recipe for target 'post-build' failed
/bin/sh: -c: line 2: syntax error: unexpected end of file
gmake[2]: [post-build] Error 2 (ignored)
if 0 == 1  mkdir "/home/amr/workspace_v11/gpio_ex2_toggle/CPU1_RAM/diagrams"
makefile:172: recipe for target 'post-build' failed
/bin/sh: -c: line 2: syntax error: unexpected end of file
gmake[2]: [post-build] Error 2 (ignored)
if 0 == 1  /media/opt/opt/ti/ccs1110/ccs/tools/node/node "/media/opt/opt/ti/c2000/C2000Ware_4_01_00_00/driverlib/.meta/generate_diagrams.js" "/media/opt/opt/ti/c2000/C2000Ware_4_01_00_00" "/home/amr/workspace_v11/gpio_ex2_toggle/CPU1_RAM/diagrams" "/home/amr/workspace_v11/gpio_ex2_toggle/CPU1_RAM/syscfg"
makefile:172: recipe for target 'post-build' failed
/bin/sh: -c: line 2: syntax error: unexpected end of file
gmake[2]: [post-build] Error 2 (ignored)
 

**** Build Finished ****