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.

TMS320F28379D: Linux compilation issue: : error #20: identifier "Flash1EccRegs" is undefined // error #20: identifier "Flash1CtrlRegs" is undefined

Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE

My build works just fine in Windows. When I attempt to build in Ubuntu 18.04, I get the errors listed in the title. These are global variables, defined in the /Source/F2837xD_GlobalVariableDefs.c file. In fact, I can check the console log and see this file being built successfully in the terminal window:

Building file: "../Source/F2837xD_GlobalVariableDefs.c"
Invoking: C2000 Compiler
"/opt/ti/ccs/tools/compiler/c2000_6.2.7/bin/cl2000" -v28 -ml -mt --cla_support=cla1 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu2 -Ooff ///REDACTED/// --quiet --diag_error=225 --display_error_number --issue_remarks --obj_directory="/Github/Electric-TRU/28377/Release" --preproc_with_compile --preproc_dependency="Source/F2837xD_GlobalVariableDefs.d_raw" "../Source/F2837xD_GlobalVariableDefs.c"
Finished building: "../Source/F2837xD_GlobalVariableDefs.c"

Why is this happening?