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.

CCS: LAUNCHXL-CC2640R2: Not able to build Simple Peripheral app



Tool/software: Code Composer Studio

Hi,

I am getting error's while building Simple peripheral app in CCS. Please find the attached log. Please let me know the solution.

Help is appreciated!

...

simplelink_cc2640r2_sdk_2_20_00_49/source/ti/blestack/common/cc26xx/ccs/cc26xx_app.cmd" -llibc.a
<Linking>
error #10008-D: cannot find file "/home/administrator/workspace_v8/simple_peripheral_cc2640r2lp_stack_library/FlashROM_Library/ble_r2.symbols"
error #10008-D: cannot find file "/home/administrator/workspace_v8/simple_peripheral_cc2640r2lp_stack_library/FlashROM_Library/lib_linker.cmd"
 
 undefined                                    first referenced
  symbol                                          in file     
 ---------                                    ----------------
 ATT_BuildErrorRsp                            <whole-program>
 ATT_BuildExchangeMTURsp                      <whole-program>
....

 smpResponderProcessSigningInfo               <whole-program>
 xor_128                                      <whole-program>
 
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "simple_peripheral_cc2640r2lp_app.out" not built
gmake[1]: *** [simple_peripheral_cc2640r2lp_app.out] Error 1
gmake: *** [all] Error 2

Regards

Vinayak

builderror.txt

  • vinayak kulkarni said:
    error #10008-D: cannot find file "/home/administrator/workspace_v8/simple_peripheral_cc2640r2lp_stack_library/FlashROM_Library/ble_r2.symbols"
    error #10008-D: cannot find file "/home/administrator/workspace_v8/simple_peripheral_cc2640r2lp_stack_library/FlashROM_Library/lib_linker.cmd"

    These lines indicate that there was an error when building the simple_peripheral_cc2640r2lp_stack_library project, which is a dependency for the simple_peripheral_cc2640r2lp_app project. The stack_library project contains a pre-build step that generates those two files, I suspect that did not run correctly hence those two files are not generated.

    I see that you are using Linux. Please take a look at this related thread that should be helpful.

  • Hi,

    I have followed thread which you have provided. Still after building its giving same error.

    Please let me know any thing else to do.

  • It seems that IT has forgot to set executable property of TI/simplelink_cc2640r2_sdk_2_20_00_49/tools/blestack/lib_search/lib_search,

    so I just chmod +x TI/simplelink_cc2640r2_sdk_2_20_00_49/tools/blestack/lib_search/lib_search, and then rebuild the whole project, and then everything goes well.