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.

TM4C123GH6PM: can't resolve Load functions

Part Number: TM4C123GH6PM
Other Parts Discussed in Thread: SYSBIOS

Hello,

My setup is CCS  Version: 9.3.0.00012  and tirtos_tivac_2_16_01_14.

I have a static library which is calling some of the functions like Load_getCPULoad and Load_getTaskLoad.

the static library is building very well but when the main project which has a reference to the static library and call a function from the static library which is invoking Load_getCPULoad and Load_getTaskLoad, i'm getting the following errors

Description Resource Path Location Type
#10010 errors encountered during linking; "TestProject.out" not built TestProject C/C++ Problem
<a href="file:/C:/ti/ccs1010/ccs/tools/compiler/dmed/HTML/10234.html">#10234-D</a> unresolved symbols remain TestProject C/C++ Problem
gmake: *** [all] Error 2 TestProject C/C++ Problem
gmake[1]: *** [TestProject.out] Error 1 TestProject C/C++ Problem
unresolved symbol ti_sysbios_utils_Load_calculateLoad__E, first referenced in D:/FirmwareMine/Projects/FWTFS/GESAF/Examples/CCS_new10/GESAF_STACK/ServiceLayer/Diagnostic/PROBE/lib/PROBE.lib<PROBE_OS.obj> TestProject C/C++ Problem
unresolved symbol ti_sysbios_utils_Load_getCPULoad__E, first referenced in D:/FirmwareMine/Projects/FWTFS/GESAF/Examples/CCS_new10/GESAF_STACK/ServiceLayer/Diagnostic/PROBE/lib/PROBE.lib<PROBE_OS.obj> TestProject C/C++ Problem
unresolved symbol ti_sysbios_utils_Load_getTaskLoad__E, first referenced in D:/FirmwareMine/Projects/FWTFS/GESAF/Examples/CCS_new10/GESAF_STACK/ServiceLayer/Diagnostic/PROBE/lib/PROBE.lib<PROBE_OS.obj> TestProject C/C++ Problem

it sounds that it linking problem for the utility functions, so what should library that need to be referred in project that implement the the utility functions?

please note that the problem is not consistent, such that I have another project which invoke the same static library and the complication is ok.

Please advise!

Mohammed

  • Hello Mohammed, 

    Can you post more information about how are you using those functions in the library project that produces your .lib file and how are you linking/adding the files those functions come from into that project? It looks like maybe you are linking only some of the files you need for the TI-RTOS APIs. There are usually a few layers to them.

    Usually when building a library, all the paths will be determined by where the library project is located, so maybe something is occurring there that is causing it to trip up.

    Truthfully I am not as experienced with the TI-RTOS path structures compared to our TivaWare libraries, so it may be a bit tricky for me to be able to point you in the direction here. Hopefully as I get more information, something still stick out.

  • Thank you Ralph ,

    the problem that I wasn't including the 'ti.uia.sysbios.LoggingSetup' in the main project configuration.

    Mohammed