Other Parts Discussed in Thread: TEST2, TM4C1294NCPDT
Tool/software: TI C/C++ Compiler
Hi, I'm trying to compile some code and am getting warnings/errors about illegal source/input characters in the object file. I can't find anywhere online what this could be caused by,
Does anyone have any suggestions on what I need to change to get it to compile?
I've included the build output below.
**** Build of configuration Debug for project Test2 ****
"C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 8 all -O
'Building file: ../TestFunction_ert_rtw/TestFunction.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/include" --include_path="C:/ti/TivaWare_C_Series-2.1.3.156" --define=ccs="ccs" --define=TARGET_IS_TM4C129_RA0 --define=PART_TM4C1294NCPDT -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="TestFunction_ert_rtw/TestFunction.d" --obj_directory="TestFunction_ert_rtw" "../TestFunction_ert_rtw/TestFunction.c"
'Finished building: ../TestFunction_ert_rtw/TestFunction.c'
' '
'Building file: ../TestFunction_ert_rtw/ert_main.c'
'Invoking: ARM Compiler'
"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/include" --include_path="C:/ti/TivaWare_C_Series-2.1.3.156" --define=ccs="ccs" --define=TARGET_IS_TM4C129_RA0 --define=PART_TM4C1294NCPDT -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi --preproc_with_compile --preproc_dependency="TestFunction_ert_rtw/ert_main.d" --obj_directory="TestFunction_ert_rtw" "../TestFunction_ert_rtw/ert_main.c"
'Finished building: ../TestFunction_ert_rtw/ert_main.c'
' '
'Building target: Test2.out'
'Invoking: ARM Linker'
"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me --define=ccs="ccs" --define=TARGET_IS_TM4C129_RA0 --define=PART_TM4C1294NCPDT -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --abi=eabi -z -m"Test2.map" --heap_size=0 --stack_size=512 -i"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/lib" -i"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.0.LTS/include" --reread_libs --diag_wrap=off --display_error_number --warn_sections --xml_link_info="Test2_linkInfo.xml" --rom_model -o "Test2.out" "./tm4c1294ncpdt_startup_ccs.obj" "./TestFunction_ert_rtw/TestFunction.obj" "../TestFunction_ert_rtw/TestFunction.obj" "./TestFunction_ert_rtw/ert_main.obj" "./TestFunction_ert_rtw/gpiotest.obj" "../TestFunction_ert_rtw/gpiotest.obj" "../tm4c1294ncpdt.cmd" -llibc.a -l"C:/ti/TivaWare_C_Series-2.1.3.156/driverlib/ccs/Debug/driverlib.lib"
<Linking>
"../TestFunction_ert_rtw/TestFunction.obj", line 1: warning #19034-D: illegal source character: 0x86
"../TestFunction_ert_rtw/TestFunction.obj", line 1: warning #19034-D: illegal source character: 0x03
"../TestFunction_ert_rtw/TestFunction.obj", line 1: error #10045-D: illegal input character: 0xffffff86
"../TestFunction_ert_rtw/gpiotest.obj", line 1: warning #19034-D: illegal source character: 0x86
"../TestFunction_ert_rtw/gpiotest.obj", line 1: warning #19034-D: illegal source character: 0x03
"../TestFunction_ert_rtw/gpiotest.obj", line 1: error #10045-D: illegal input character: 0xffffff86
error #10010: errors encountered during linking; "Test2.out" not built
>> Compilation failure
makefile:149: recipe for target 'Test2.out' failed
gmake[1]: *** [Test2.out] Error 1
makefile:145: recipe for target 'all' failed
gmake: *** [all] Error 2
**** Build Finished ****