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.
HELLO,
I have a question regarding the output format there is a compatibility issues between certain libraries and the target output file format in my project ,
warning #10373-D: library "../include/driverlib/ccs/Debug/driverlib_eabi.lib" contains ELF object files which are incompatible with the TI-COFF output file. Ensure you are using the proper library.
warning #10373-D: library "../include/driverlib/ccs/Release/driverlib_eabi.lib" contains ELF object files which are incompatible with the TI-COFF output file. Ensure you are using the proper library.
warning #10207-D: resolving index library "rts2800_fpu32_fast_supplement.lib" to "rts2800_fpu32_fast_supplement_coff.lib", but "rts2800_fpu32_fast_supplement_coff.lib" was not found
warning #10373-D: library "../include/driverlib/ccs/Debug/driverlib_eabi.lib" contains ELF object files which are incompatible with the TI-COFF output file. Ensure you are using the proper library.
warning #10373-D: library "../include/driverlib/ccs/Release/driverlib_eabi.lib" contains ELF object files which are incompatible with the TI-COFF output file. Ensure you are using the proper library.
Finished building target: ".out"
These are the warnings which i am facing and i went through TI forums related to this issue and tried the different ways by changing the files in include library file or command file as input in properties > c2000linker > file search path.
And in properties > general > output format i have selected the field as legacy COFF .
Thanks and Regards,
Denzil.
CCS projects will by default use all .cmd or .lib files in its (recursively nested) project directory during build. Did you possibly include the driverlib folder inside your project directory? If so, you'll have to mark the driverlib/ccs folder as excluded from build, add it to the library search paths, and then manually select the desired driverlibXXX.lib in your include libraries (in this case, driverlib_coff.lib).
As for the missing rts2800_fpu32_fast_supplement_coff.lib, this I'm not sure... it should be included by default in your CCS installation.
Denzil,
If you are using COFF, then the driverlib and libraries should also be in COFF format. Pls ensure that only such libraires are included in the project
Best Regards
Siddharth
Hey Siddharth,
Thanks for the information ,I have taken out driverlib_eabi.lib and driverlib.lib from the debug folder. But i am still facing the same error
Description Resource Path Location Type
#10373-D library "../include/driverlib/ccs/Release/driverlib_eabi.lib" contains ELF object files which are incompatible with the TI-COFF output file. Ensure you are using the proper library. ETON C/C++ Problem
What could be the possible way to solve this warning?
Regards,
Denzil
Denzil.
Did you try doing a Project clean and then building it again? Looks like there maybe some intermediate files generated by the previous build which are still in ELF format.
Best Regards
Siddharth
Hey Siddharth,
I have cleaned and built the project multiple times, but the issues is not yet resolved. Could you please suggest us some documents to resolve this.
For your information, we are currently using the TI-CGT 21.6.0 LTS compiler.
Warning:
C:/ti/c2000/C2000Ware_4_03_00_00/driverlib/f2837xd/driverlib/ccs/Debug/driverlib.lib" "../include/driverlib/ccs/Debug/driverlib.lib" "../include/driverlib/ccs/Debug/driverlib_coff.lib" "../include/driverlib/ccs/Release/driverlib.lib" "../include/driverlib/ccs/Release/driverlib_coff.lib" "../include/driverlib/ccs/Release/driverlib_eabi.lib" "../lib/rts2800_fpu32_fast_supplement_coff.lib" -llibc.a -l"C:/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/lib/rts2800_fpu32.lib" -l"C:/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/lib/rts2800_ml.lib"
<Linking>
warning #10373-D: library "../include/driverlib/ccs/Release/driverlib_eabi.lib" contains ELF object files which are incompatible with the TI-COFF output file. Ensure you are using the proper library.
warning #10373-D: library "../include/driverlib/ccs/Release/driverlib_eabi.lib" contains ELF object files which are incompatible with the TI-COFF output file. Ensure you are using the proper library.
Finished building target
Thanks & Regards,
Denzil
Denzil,
Pls share the entire console log. I still see "../include/driverlib/ccs/Release/driverlib_eabi.lib" been included in the project from the warning message that you have shared.
Best Regards
Siddharth
Hi,
It still shows that driverlib_eabi.lib is included ( "../include/driverlib/ccs/Release/driverlib_eabi.lib" ). Pls check the project properties and ensure that it is removed.
Also, you can remove "driverlib.lib" from the project and only add "driverlib_coff.lib" and see if it helps in resolving this issue.
Best Regards
Siddharth