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.

CC2642R: error #10234-D: unresolved symbols remain, ICALL modules not being found

Part Number: CC2642R
Other Parts Discussed in Thread: SYSBIOS, TMP116

I'm currently trying to compile a project and am receiving the following build error:

It let's me know that the following symbols are unresolved:

 undefined                  first referenced                                                                                          
  symbol                        in file                                                                                               
 ---------                  ----------------                                                                                          
 ICall_createRemoteTasks    ./Startup/main.obj                                                                                        
 ICall_enterCriticalSection ./Startup/osal_icall_ble.obj                                                                              
 ICall_fetchServiceMsg      ./Application/simple_central.obj                                                                          
 ICall_free                 ./Application/simple_central.obj                                                                          
 ICall_freeMsg              ./Application/simple_central.obj                                                                          
 ICall_getLocalMsgEntityId  ./Application/simple_central.obj                                                                          
 ICall_init                 ./Startup/main.obj                                                                                        
 ICall_leaveCriticalSection ./Startup/osal_icall_ble.obj                                                                              
 ICall_malloc               ./Application/simple_central.obj                                                                          
 ICall_registerApp          ./Application/central_control.obj                                                                         
 RegisterAssertCback        ./Startup/main.obj                                                                                        
 icall_directAPI            ./Application/simple_central.obj                                                                          
 osalHeapAllocFxn           C:\Users\Bluerover\workspace_v12\iris_a_central\Debug\configPkg\package\cfg\simple_central_app_pem4f.oem4f
 osalHeapFreeFxn            C:\Users\Bluerover\workspace_v12\iris_a_central\Debug\configPkg\package\cfg\simple_central_app_pem4f.oem4f
 osalHeapGetStatsFxn        C:\Users\Bluerover\workspace_v12\iris_a_central\Debug\configPkg\package\cfg\simple_central_app_pem4f.oem4f
 osalHeapInitFxn            C:\Users\Bluerover\workspace_v12\iris_a_central\Debug\configPkg\package\cfg\simple_central_app_pem4f.oem4f
 osalHeapIsBlockingFxn      C:\Users\Bluerover\workspace_v12\iris_a_central\Debug\configPkg\package\cfg\simple_central_app_pem4f.oem4f

After looking into this issue I decided to look into the linker issues and found the following under the linker file setup properties:

I know that for ICALL I have to add some sort of file to the file setup but I don't know which file to add or where to find it. I do have <icall.h> included as a library in my main.c file so I'm unsure why this linker issue is still appearing.

Any guidance on this issue would be much appreciated.

  • Hi,

    Can you try to "Clean" the project(i.e. right click on the project > Clean Project) ?

    If the error remains, please try to build a non-modified simple_central project to confirm your toolchain is working properly.

    Best regards,

  • I have tried to clean the project and build again but get the same linker error, for reference when I clean the project here is the console output I receive:

    TEXT:

    **** Clean-only build of configuration Debug for project iris_a_central ****

    "C:\\ti\\ccs1220\\ccs\\utils\\bin\\gmake" -k -j 8 clean -O
     
    cleaning ../src/sysbios ...
    DEL /F  "configPkg\linker.cmd" "configPkg\compiler.opt"  "iris_a_central.out"
    DEL /F "Application\MQTTSNClient.obj" "Application\MQTTSNConnectClient.obj" "Application\MQTTSNConnectServer.obj" "Application\MQTTSNDeserializePublish.obj" "Application\MQTTSNPacket.obj" "Application\MQTTSNSearchClient.obj" "Application\MQTTSNSearchServer.obj" "Application\MQTTSNSerializePublish.obj" "Application\MQTTSNSubscribeClient.obj" "Application\MQTTSNSubscribeServer.obj" "Application\MQTTSNUnsubscribeClient.obj" "Application\MQTTSNUnsubscribeServer.obj" "Application\MQTTSNtirtos.obj" "Application\SHA2.obj" "Application\SHA2CC26X2.obj" "Application\adaptive_reporting.obj" "Application\ads111x.obj" "Application\bg9x_gnss.obj" "Application\board_key.obj" "Application\central_control.obj" "Application\comm.obj" "Application\config.obj" "Application\cozir.obj" "Application\crc16.obj" "Application\crc32.obj" "Application\crypto.obj" "Application\data_buffer.obj" "Application\data_buffer_test.obj" "Application\ds18x20.obj" "Application\hdcx0x0.obj" "Application\led.obj" "Application\mma8652fc.obj"
    DEL /F "Application\modem.obj" "Application\oad_image_header_app.obj" "Application\one_wire.obj" "Application\packet.pb.obj" "Application\pb_common.obj" "Application\pb_decode.obj" "Application\pb_encode.obj" "Application\pt1000.obj" "Application\scd30.obj" "Application\sensors.obj" "Application\simple_central.obj" "Application\simple_central_menu.obj" "Application\software_update.obj" "Application\tmp116.obj" "Application\two_btn_menu.obj" "Application\uart_printf.obj" "Application\util.obj" "Profiles\devinfoservice.obj" "Profiles\gatt_uuid.obj" "Profiles\gattservapp_util.obj" "Profiles\myService.obj" "Profiles\simple_gatt_profile.obj" "Startup\CC26X2R1_IRIS.obj" "Startup\CC26X2R1_IRIS_fxns.obj" "Startup\ble_user_config_stack.obj" "Startup\board.obj" "Startup\ccfg_app_ble.obj" "Startup\main.obj" "Startup\osal_icall_ble.obj" "Startup\rom_init.obj"
    DEL /F "Application\MQTTSNClient.d" "Application\MQTTSNConnectClient.d" "Application\MQTTSNConnectServer.d" "Application\MQTTSNDeserializePublish.d" "Application\MQTTSNPacket.d" "Application\MQTTSNSearchClient.d" "Application\MQTTSNSearchServer.d" "Application\MQTTSNSerializePublish.d" "Application\MQTTSNSubscribeClient.d" "Application\MQTTSNSubscribeServer.d" "Application\MQTTSNUnsubscribeClient.d" "Application\MQTTSNUnsubscribeServer.d" "Application\MQTTSNtirtos.d" "Application\SHA2.d" "Application\SHA2CC26X2.d" "Application\adaptive_reporting.d" "Application\ads111x.d" "Application\bg9x_gnss.d" "Application\board_key.d" "Application\central_control.d" "Application\comm.d" "Application\config.d" "Application\cozir.d" "Application\crc16.d" "Application\crc32.d" "Application\crypto.d" "Application\data_buffer.d" "Application\data_buffer_test.d" "Application\ds18x20.d" "Application\hdcx0x0.d" "Application\led.d" "Application\mma8652fc.d" "Application\modem.d" "Application\oad_image_header_app.d"
    DEL /F "Application\one_wire.d" "Application\packet.pb.d" "Application\pb_common.d" "Application\pb_decode.d" "Application\pb_encode.d" "Application\pt1000.d" "Application\scd30.d" "Application\sensors.d" "Application\simple_central.d" "Application\simple_central_menu.d" "Application\software_update.d" "Application\tmp116.d" "Application\two_btn_menu.d" "Application\uart_printf.d" "Application\util.d" "Profiles\devinfoservice.d" "Profiles\gatt_uuid.d" "Profiles\gattservapp_util.d" "Profiles\myService.d" "Profiles\simple_gatt_profile.d" "Startup\CC26X2R1_IRIS.d" "Startup\CC26X2R1_IRIS_fxns.d" "Startup\ble_user_config_stack.d" "Startup\board.d" "Startup\ccfg_app_ble.d" "Startup\main.d" "Startup\osal_icall_ble.d" "Startup\rom_init.d"
    RMDIR /S/Q  "configPkg\"
    Could Not Find C:\Users\Bluerover\workspace_v12\iris_a_central\Debug\iris_a_central.out
    Finished clean
     

    **** Build Finished ****

    I've tried to create a simple_central app and am able to do so successfully and have it compile and run on a cc1352p1 launchpad evaluation board correctly, here's the product list for my simple_central app:

    And here is the product list for the application that isn't compiling:

    Thanks again for your help,

    John.

  • Hi,

    Great. Once the clean is finished, make sure to trigger a new build.

    Regards,

  • When I clean and then trigger a new build I get the exact same ICALL linker unresolved symbols error, I posted my clean build output above for reference. Is there any other testing I can do to help further investigate what might be the issue? I know i have #include <icall.h> in main.c and I've tried compiling with #include <ICALL.h> instead as well as both  #include <icall.h> and #include <ICALL.h> but still, I recieve the same linker error every time.

  • Hi,

    As the unmodified project works as expected, please add back your modifications to this project little by little, that way the issue can be identified.

    Keep us updated.

    Best regards,