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.

fatal error #16031: object files have incompatible formats

Hi, 

I am unable to resolve the error. While building a project.

The error is below also I have attached the screenshot of the error.

Regards,

Pradeep

**** Build of configuration Release for project Aif2P1_test1 ****

"C:\\ti\\ccsv5\\utils\\bin\\gmake" -k all
'Building file: ../timer_setup.c'
'Invoking: C6000 Compiler'
"C:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6600 --abi=eabi -O2 -g --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" --include_path="C:/ti/pdk_keystone2_3_01_00_01/packages/" --include_path="C:/ti/pdk_keystone2_3_01_00_01/packages/exampleProjects/Aif2P1_test/inc" --define=DEVICE_K2K --display_error_number --diag_warning=225 --preproc_with_compile --preproc_dependency="timer_setup.pp" "../timer_setup.c"
'Finished building: ../timer_setup.c'
' '
'Building target: Aif2_EVM_test.out'
'Invoking: C6000 Linker'
"C:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6600 --abi=eabi -O2 -g --define=DEVICE_K2K --display_error_number --diag_warning=225 -z -m"Aif2_EVM_test.map" -i"C:/ti/ccsv5/tools/compiler/c6000_7.4.4/lib" -i"C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" --reread_libs --warn_sections --xml_link_info="Aif2_EVM_test_linkInfo.xml" --rom_model -o "Aif2_EVM_test.out" "./timer_setup.obj" "./sb_config.obj" "./psc_util.obj" "./Nysh_funct.obj" "./MNav_funct.obj" "./Aif2_Dio_Obsai_4x_4AxC_EVM_test.obj" -l"rts64plus.lib" -l"libc.a"
<Linking>
fatal error #16031: object files have incompatible formats
("C:/ti/ccsv5/tools/compiler/c6000_7.4.4/lib/rts64plus.lib<boot.obj>" =
TI-COFF, "./timer_setup.obj" = ELF). Please see the 'C6000 EABI Migration'
guide at http://processors.wiki.ti.com/index.php/C6000_EABI_Migration

>> Compilation failure
gmake: *** [Aif2_EVM_test.out] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

  • Hi Pradeep,

    TCI66K2K devices are supported directly through Local Field Applications Engineers (FAEs.)  These devices are not supported on the E2E forum.  Please contact your local FAE for support of these devices.  If you are not sure who your local FAE is, then please contact your local technical sales representative and they will be able to put you in contact with your local FAE.

    Thanks.